Ok i should probaly find a better place to get these tutorials =) but anyway here is the problem i would imagine its pretty basic, I CANT GET THE CLASS FILE UP =( it said the computer would make this file its self or somthing like that, so I went to sun downloadded jdk 2.0 but im not sure for what purpose can anyone enlighten me?
Hey, i havent seen this post, what u need?
Do you want to compile your .java files? to .class?
Do you use Windows or Linux? do you have jdk?if so just run
ur system folder: javac urJavaFile.java
then u should get clear prompt again.
then its done. Look in that directory and ull see new .class file(s). Youll need to edit ur autoexec.bat file if u running windows. add new line:
PATH=C:\jdk1.2\bin;
well... c is drive
jdk1.x\bin is path to folder where is java*
applications is located. Under linux install jdk in
/usr/local/bin/jdk1.x or
/usr/bin/jdk1.x and add path $PATH=/usr/local/bin/jdk1.x/bin/:$PATJ
or something.
good luck
i still cant manage to work it out, im on win98 have jdk but jdk from what i can see has mainly examples and stuff there are a few exe files but there are too many of them, im not sure really what im doing too use to macs so much easier. Could i of downloaded the wrong jdk or something?
I don't really understand what you are saying. I got the impression that you didn't know much about the JDK, so check out http://www.freejavahelp.com/tutorial/jdk
When it says the computer will make the Class file itself, it is probably referring to the fact that when you compile a .java file sucessfully, a .class file is made
Bookmarks