English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i had downloaded the java software from --http://www.java.com/en/ -- but im not sure how to compile the program iv written...... please help! do i get it through command prompt or something else??

2007-12-02 14:48:19 · 3 answers · asked by angie 1 in Computers & Internet Programming & Design

3 answers

you hav to do it from command prompt(cmd),first install d java software ,den go to my computer(right click)>>properties>advanced>enviro. variable
set the path of where the jdsk folder is in ur PC eg:
java_home
c:\jdk1.6.0_02
then in cmd prompt do
set path=c:\jdk1.6.0_02\bin
& just compile ur java program using
javac FirstJava.java
& then run ur program
java FirstJava
remember tokeep the path of CMd pointin' to the folder where FirstJava is kept

2007-12-02 14:57:25 · answer #1 · answered by Tarun S 2 · 0 0

I am thinking that you have downloaded the SDK, or JVM - but what you need is a full blown compiler, or IDE. Try getting Eclipse, NetBeans, or Turbo JBuilder - they are all free, and any one of them can be used to compile your program. Good luck...

2007-12-02 22:53:45 · answer #2 · answered by Anonymous · 0 0

Try the java tutorial. This is a very good place to start.
Common problems should definately be on your favorites list.

2007-12-03 11:17:04 · answer #3 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers