- Joined
- Mar 14, 2005
- Messages
- 443
- Reaction score
- 3
- Points
- 18
- Location
- Atlanta, GA
- Your Mac's Specs
- 17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM
I have a Powerbook G4 1.3 GHz (OS X)
I have been programming in C and C++ for a while now for school related projects using Xcode and the terminal to compile. I recently recieved a project that requires the use of java. So I downloaded the newest version of Eclipse. I tried to use the application after copying it to my HD and it wouldn't open, yielding some odd java error. I then figured it was my version of java, so i downloaded the newest version of java from the apple webpage, and it said that my version of java did not need to be updated. So i went to the terminal and coded out a small java program that makes random numbers and prints to the screen. I then typed as series of commands as shown below. Each time a new empty command prompt was displayed with no error message.
jamesgaines$ java -version
jamesgaines$
'the directory has my Random_1.java file'
jamesgaines$ javac *.java
jamesgaines$
'Graph is a class file'
jamesgaines$ java Graph
jamesgaines$
None of these used any processes or yielded any output.
Does anyone know what this means or how i can fix it?
I also did a 'where' on java and found that i have all the java files needed to run java, but it would have updated during the update if i had needed anything extra hopefully. Applications that run on java do not work either. Thanks in advance.
I have been programming in C and C++ for a while now for school related projects using Xcode and the terminal to compile. I recently recieved a project that requires the use of java. So I downloaded the newest version of Eclipse. I tried to use the application after copying it to my HD and it wouldn't open, yielding some odd java error. I then figured it was my version of java, so i downloaded the newest version of java from the apple webpage, and it said that my version of java did not need to be updated. So i went to the terminal and coded out a small java program that makes random numbers and prints to the screen. I then typed as series of commands as shown below. Each time a new empty command prompt was displayed with no error message.
jamesgaines$ java -version
jamesgaines$
'the directory has my Random_1.java file'
jamesgaines$ javac *.java
jamesgaines$
'Graph is a class file'
jamesgaines$ java Graph
jamesgaines$
None of these used any processes or yielded any output.
Does anyone know what this means or how i can fix it?
I also did a 'where' on java and found that i have all the java files needed to run java, but it would have updated during the update if i had needed anything extra hopefully. Applications that run on java do not work either. Thanks in advance.