how to compile java programs through terminal.

Asked by mrugesh thaker

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:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

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

use the

javac

command.

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#2
Revision history for this message
mrugesh thaker (mjetthaker) said :
#3

yes it solved my doubt.

Revision history for this message
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...