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

I have downloaded java JDK SE and would like to know how I can get it set up so that I can get my javac comand to work in the comand prompt. I have windows X. I know I have to go to the control panel and then to system and then advanced and click on environmental variables. I know I have to add the location to path but how do I know if I am in the right file or what ever. I am compleatly lost.

2007-02-06 11:27:06 · 2 answers · asked by Michael M 4 in Computers & Internet Other - Computers

2 answers

I dont exactly know what you mean by "I am in the right file or what ever".
Suppose if you have installed JDK in C:\JDK then normally adding something like C:\JDK\BIN to the system variable PATH will do the trick.
If you have more than one installation of JDK and are confused and want to make sure that when on the command prompt you type "javac -version" to check which javac gets called (i am assuming that both SDK have different versions).

2007-02-07 00:01:08 · answer #1 · answered by Saint 2 · 0 0

Here is my suggestion. Unless you just want to compile your java from a command line interface. (and If you do , I am not sure off hand how to add the path, sorry) Go to the ling below and download jave netbeans IDE ( interactive development environment) . It will make your life a whole lot easier. It gives you error checking , it compiles and runs your code realtime so you can debug and its free. ( you can't beat it for the price)

I am assuming you are new to Java ( if I am wrong I appologize) but once you start creating windows forms using swing
look into Visual J# express edition. It is a development environment that will make your life easier and again it is free from microsoft.

Sorry I couldn't actually answer your problem , but I hope my solution helps!

2007-02-06 12:51:11 · answer #2 · answered by d_k_wallace 2 · 0 0

fedest.com, questions and answers