how to compile java programs through terminal.

Asked by mrugesh thaker on 2010-08-24

how to compile java programs through terminal ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
2010-08-25
Last query:
2010-08-25
Last reply:
2010-08-24

Supposing you have already installed the java sdk for example sun-java6-jdk

use the

javac

command.

mrugesh thaker (mjetthaker) said : #3

yes it solved my doubt.

Vignesh G (vignesh-techpuvi) said : #4

I tried much... But i can't.... Is there any option to "set path" as windows...
where to save my programs...