
-----------------------------------
MysticVegeta
Wed May 04, 2005 5:01 pm

JDK Installing Link
-----------------------------------
Hi, I am new to java and i was searching for compilers and i saw that JCreator is a good one so i dled it. But i need JDK 1.4 installed inorder to Compile the scripts. I saw the links of JDK Download and i came across the 5.0 update only. Can someone post a link for the download. Thanks

-----------------------------------
Hikaru79
Wed May 04, 2005 6:05 pm


-----------------------------------
1.4 is available here: http://java.sun.com/j2se/1.4.2/download.html

But I really reccomend you use 1.5. It can be configured to compile as 1.4 anyway -- and Eclipse and Netbeans are great IDE's anyway :D

-----------------------------------
MysticVegeta
Thu May 05, 2005 6:49 am


-----------------------------------
oh thanks, I will try it out right now :)

-----------------------------------
wtd
Thu May 05, 2005 12:10 pm


-----------------------------------
Yes.  Any IDE that requires 1.4 isn't worth your time.

Also, for what it's worth, they're pretty much all using Sun's Java compiler under the surface, so it's incorrect to refer to them as "compilers".  

I highly recommend just using the command-line tools, at least at first.

-----------------------------------
MysticVegeta
Thu May 05, 2005 4:13 pm


-----------------------------------
thanks, I tried it But everytime i compile a code with JCreator, I get the following error -> "Exception in thread 'main' java.lang.NoClassDefFoundError: test"

But the code works fine with "Ready to program java" at my schoo, What do i need to do, I have set up the jdk directories too :(

-----------------------------------
wtd
Thu May 05, 2005 4:22 pm


-----------------------------------
Show us the exact code you're compiling, and tell us the name of the file it lives in.

A note now, though: The name of a class should match the name of the file.  "class Test" should be in a file named "Test,java", for instance.

-----------------------------------
MysticVegeta
Thu May 05, 2005 4:27 pm


-----------------------------------
oh ok i attach it.

-----------------------------------
Hikaru79
Thu May 05, 2005 9:05 pm


-----------------------------------
First, just a minor convention note -- Class names (and therefore filenames) should be Capitalized. Second, we don't really need the .java file -- we just need to know what commands you're running, and where you're running them from relative to the test.class file.
