Sitemap

Amicuk Programming Answers

I'm new, can you help?

2015-10-11   Views:0

Advertisement

i bought a book call "Java in easy steps" and i'm have a real difficulty time trying to compile my first program "Hello world". the book says i can run the comiler by "simply type javac in the command prompt for the java compiler

i bought a book call "Java in easy steps" and i'm have a real difficulty time trying to compile my first program "Hello world". the book says i can run the comiler by "simply type javac in the command prompt for the java compiler options. when i do that i get this message ' javac' is not reconized as an internal or external command, operable program or batch file. i'm pertty sure i installed java correctly, i dont know what the problem is. anyone have any advice. thanks
oh P.S, i installed Java2 SDK SE 1.4.2_10

The replay answer
Advertisement
Since you are posting to the Java Studio Enteprise forum, I certainly suggest that you try to develop your HelloWorld in our IDE. Believe me, it's much more easy this way :)
Check out the product's website - http://developers.sun.com/prodtech/javatools/jsenterprise/index.html
There are a lot of tutorials (though most of them cover more advanced topics) - http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/
You may as well want to look at the tutorial for NetBeans 4.1 (it serves as a base for JSE) - http://www.netbeans.org/kb/41/using-netbeans/
However if you decide to stick to the CLI method.. The problem is that you do not have JDK's bin directory in your PATH environment variable. To add it temporarily us the following command: set PATH=<jdk-dir>\bin;%PATH%, where <jdk-dir> is the installation directory if JDK.
If you want to add it permanently, right click on My Computer icon on your desktop, choose Properties -> Advanced -> Environment Variables and modify the Path variable either in the System area or in the user area.
HTH,
Kirill

Go to See the other 3 answers

Hot
how do i delete the memory in "other" in my iphone4 . i accidentally restored the data in other as well prior.So restore didnt work.please help. i have come across many questions relating and referred communtities . but no satisfactory answers . [More]
I've literally tried everything to resolve the issue listed in the title. I'm very good with networking. I'll run down the list of the things I've tried to resolve this issue, or important factors that someone might need to know in order to assist me [More]
I tried moving images from lLR3 on my into an external hard drive in order to free up some space on the mac. something went wrong. ater all the images were moved there is still no added room on my mac, but the folder with the images reads 0. please h [More]
Hi AllWhile saving a meta model I get this error message:"There is currently no connection between the console and intgeration server. Ensure the server is running and try reconnecting"I have checked properly that EIS server is installed and als [More]
I cannot install Flash into Firefox, To see Flash content, I must use Google Chrome...no problem there. Way back when, I had no problems with Firefox. Though I am an administrator, I get the "insufficient permissions" message just before the ins [More]
Hi all, I have a doubt about the programming in webdynpro java interfaces . what is the main concept underlying in context of a particular view, why to use the follwing code for referring to context attribute IPrivate<viewname>.I<NodeName> nod [More]
I've designed a form in Indesign CS6 (trial version) and added the submit button with a mailto email address as in the tutorials etc. I have opened it in Adobe Acrobate 10 and extended the forms functionality to Adobe Reader. When opened online and t [More]
Can I Download a trial version of lightroom 6, not the cloud version?Thomas, You can purchase LR6 at the link Kglad gave above. If you want to try LR6 first, you can install the Lightroom CC 2015 trial and then serialize it if you want to purchase th [More]
Whenever i'm on a page with flash elements I cannot make a new tab by hitting Ctrl+T. though Ctrl+click on a link and selecting New Tab from the menue still works. if I have 2 tabs open and one with flash I can go the one without flash on the page an [More]
Can a Mac Pro Tower be placed on its side and be used that way without any damage occurring?Yes. Did that with mine for years. Only issue was even though the Pioneer has a DVD "lip" to hold in place it was awkward at times. I use something like [More]