Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Javac
Index -> Programming, Java -> Java Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Catalyst




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: Tue May 27, 2003 9:13 pm   Post subject: (No 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...
Catalyst




PostPosted: Tue May 27, 2003 9:29 pm   Post subject: (No subject)

ive tried, i cant find it
Homer_simpson




PostPosted: Tue May 27, 2003 9:45 pm   Post subject: (No 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 =/
Tony




PostPosted: Tue May 27, 2003 9:48 pm   Post subject: (No 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Prince




PostPosted: Tue May 27, 2003 10:30 pm   Post subject: (No subject)

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




PostPosted: Tue May 27, 2003 10:35 pm   Post subject: (No 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
Catalyst




PostPosted: Tue May 27, 2003 10:45 pm   Post subject: (No subject)

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

does anyone have any idea how to solve my problem?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue May 27, 2003 11:29 pm   Post subject: (No subject)

use another compiler?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Catalyst




PostPosted: Wed May 28, 2003 6:39 am   Post subject: (No subject)

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




PostPosted: Wed May 28, 2003 2:54 pm   Post subject: (No 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
rizzix




PostPosted: Wed May 28, 2003 3:10 pm   Post subject: (No 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])
Catalyst




PostPosted: Wed May 28, 2003 3:32 pm   Post subject: (No subject)

thx for the help
ill let you know if it works
Catalyst




PostPosted: Wed May 28, 2003 3:38 pm   Post subject: (No subject)

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




PostPosted: Fri Jan 09, 2004 8:52 pm   Post subject: (No subject)

wow, i wish i could help a higherup like that (and get bits too lol)
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 16 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: