LiveWire Peer Support Network

Printable Version of Topic "Some help with Java?"

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- Some help with Java? (http://www.golivewire.com/forums/peer-yyapsby-support-a.html)


-- Posted by Majo at 7:34 pm on Sep. 7, 2008

I have a worksheet to fill out and I went over each step and each question but I'm still not sure if I understand them correctly. *newbie*

1. What is the program that compiles java source files?

He had us download jGRASP and Java but we're using jGRASP and a DOS Window to compile our work so would I just write a DOS Window?

2. What is the full command that will compile the java source file you just created?

Is it:

Code:
C:\Public> javac ILoveJava.java

or just:

Code:
javac ILoveJava.java

Or does it not matter?

And, finally...

3. In jGRASP, use the tool bar File, and Save As...
Click in the Look In field and find your removable media.
The File Name shoudl still say ILoveJava.java so you only need to click Save.
What does the edit window have as a title now?

I don't think that changed...that's the title at the top of the window I'm working in isn't it? All it said was ILoveJava.java C:\Public - jGRASP CSD (Java). Would I write the whole thing?


-- Posted by h a t t at 7:52 pm on Sep. 7, 2008

it depends what folder you're in. if you're not c:\Public then you'll have to do the former. if you're already in c:\Public then you do the latter.

and the compiler is just javac.exe (java compiler.exe)

the filename should be the same.


-- Posted by Majo at 8:15 pm on Sep. 7, 2008

Thank you, I really appreciate your help.

One more... What is the program that runs compiled java code?

java? java.exe? Or something else entirely?


-- Posted by rand0mguy at 8:33 pm on Sep. 7, 2008

Quote: from Majo at 8:15 pm on Sep. 7, 2008


Thank you, I really appreciate your help.

One more... What is the program that runs compiled java code?

java? java.exe? Or something else entirely?



JVM or java virtual machine


-- Posted by h a t t at 11:46 pm on Sep. 7, 2008

Quote: from rand0mguy at 11:33 pm on Sep. 7, 2008


Quote: from Majo at 8:15 pm on Sep. 7, 2008

Thank you, I really appreciate your help.  

 One more... What is the program that runs compiled java code?  

 java? java.exe? Or something else entirely?



JVM or java virtual machine

but if she's running it from DOS then it'll be java.exe


-- Posted by rand0mguy at 3:19 am on Sep. 8, 2008

Quote: from h a t t at 11:46 pm on Sep. 7, 2008


Quote: from rand0mguy at 11:33 pm on Sep. 7, 2008

Quote: from Majo at 8:15 pm on Sep. 7, 2008

Thank you, I really appreciate your help.

  One more... What is the program that runs compiled java code?

  java? java.exe? Or something else entirely?


 
 JVM or java virtual machine

but if she's running it from DOS then it'll be java.exe



true true


-- Posted by steven7 at 12:16 pm on Sep. 8, 2008

what is java.exe, the code goes into notepad and shows i a web browser


-- Posted by steven7 at 12:17 pm on Sep. 8, 2008

nvm what is said, i didn't read everything


www.golivewire.com