Computer Science Canada

Javac

Author:  Catalyst [ Tue May 27, 2003 8:38 pm ]
Post subject:  Javac

ive been trying to learn java recently but im having some troubles
whenever i try to compile something (doesnt matter what) using javac it doesnt work. Has anyone had this happen b4?

Author:  Homer_simpson [ Tue May 27, 2003 9:13 pm ]
Post subject: 

I have used java in school... very cool and easy to use program i have never had trouble using it... =/
try downloading the holtsoftware version of java it's easy for begginers...

Author:  Catalyst [ Tue May 27, 2003 9:29 pm ]
Post subject: 

ive tried, i cant find it

Author:  Homer_simpson [ Tue May 27, 2003 9:45 pm ]
Post subject: 

same here... =/ i only have it at school but i'll try to rip it off tommorow...well not tomorow i dont have computer tommorow i'll try to rip it off on thursday =/

Author:  Tony [ Tue May 27, 2003 9:48 pm ]
Post subject: 

why do I have a feeling that holtsoft's is just another language translator or something crappy like that? Just get yourself a copy from Sun... they know what they're doing... afterall, they're the one who made the language.

DON'T trust holt... NEVER

Author:  Prince [ Tue May 27, 2003 10:30 pm ]
Post subject: 

wat about turing tony... holt is the only way to go Razz

Author:  Asok [ Tue May 27, 2003 10:35 pm ]
Post subject: 

tony wrote:
DON'T trust holt... NEVER


That's a nice thing to say considering they are linking this forum from their main page. Laughing

Author:  Catalyst [ Tue May 27, 2003 10:45 pm ]
Post subject: 

since the general opinion on holt is in the grey...

does anyone have any idea how to solve my problem?

Author:  Tony [ Tue May 27, 2003 11:29 pm ]
Post subject: 

use another compiler?

Author:  Catalyst [ Wed May 28, 2003 6:39 am ]
Post subject: 

do you know where i can get a good ide/compiler combo?

Author:  rizzix [ Wed May 28, 2003 2:54 pm ]
Post subject: 

buddy i'll help

so u go to this site: http://java.sun.com/j2se/1.4.1/download.html

now download the international english SDK

save to disk and run it as administrator (assuming ur using >= win2k)

just click next next ... bla bla and ur done.

(o btw u should uninstall the other java SDK u have installed already)

create a class (for testing purpose) like this:

in a file named test.java...

code:

class test {
     public static void main(String[] args)  {
          System.out.println("Hello World");
     }
}



now save it.


in the Command Prompt, type this:
javac test.java

ur done.

to run it type this:
java test

ur done

Author:  rizzix [ Wed May 28, 2003 3:10 pm ]
Post subject: 

o one more thing.

after isntalling the JDK donot install the JRE
the JDK (SDK) comes with a JRE..

o btw: JRE = Java Runtime Environment (also known as: Java Virtual Machine)

JDK = Java Development Kit (or Java SDK [software development kit])

Author:  Catalyst [ Wed May 28, 2003 3:32 pm ]
Post subject: 

thx for the help
ill let you know if it works

Author:  Catalyst [ Wed May 28, 2003 3:38 pm ]
Post subject: 

thank you so much
no more javac errors
heres 10 bits for your help

Author:  Skizzarz [ Fri Jan 09, 2004 8:52 pm ]
Post subject: 

wow, i wish i could help a higherup like that (and get bits too lol)

Author:  Skizzarz [ Fri Jan 09, 2004 8:53 pm ]
Post subject: 

im so stupid... i just posted in a thread thats half a year old, sorry (god im dumb)


: