Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@anoop-kumar-GDGRCn • May 21, 2012
see this:
#-Link-Snipped-# -
@nareshkumar6539-BKuVbx • May 21, 2012
First you need to compile the java program by using the following command
javac filename
for executing below command is used
java classname
if u r java file name Demo.java and classname is Demo
for compiling javac Demo.java
for executing java Demo
Note: before that you need to set class path -
@kamba-giri-AfU7KI • May 23, 2012
first of all you need to set class path in environment variables
1.goto my computer-> system properties -> advanced system settings -> environment variables.
2. in the environment variables menu in the first box you need to set the path of the java i.e., jdk path
ex:- .;C:\Program Files (x86)\Java\jdk1.6.0\bin;
and then okk..
3. now you can compile and execute the java program as mentioned by nareshkumar..