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
Hi ! I bought this one a long time ago and ran various Linux version since the beginning. I started with Fedora and was upset by the too fast upgrade rythm. So I switched to Ubuntu. I'm using 10.04 I discovered that a lot of keyboard keys are not run [More]
Hi all, I am looking for a way to visualize the touch gestures on my iphone. But I can't find any option or app to enable such a feature. Any help/idea would be greatly appreciated. Thanks.This is where Firefox's native popup-bloker might have come i [More]
I just got the Apple TV 3rd Gen so I could stream from my IPAD to the TV in my gym in order to stream some of my workout videos. I got the Apple TV set up and connected to the television (HDMI) and to my WIFI and my Apple account etc. however, I can' [More]
Not much more to add. I did a restore to an earlier time and still no joy. I am at a loss. I am not a totally savvy computer person at all, just know enough to get into trbl. That is why I stay away from most things that require me to make judgement [More]
Hi, We have created a standard webi-report where a company logo is part of the report header. We would like to keep the company logo in a database, so we've creáted a simple webapp to retrieve the image from an Oracle database. When we insert the log [More]
I'm unable to figure out a SINGLE-CLICK method for blocking/unblocking just ONE cookie.... for example, the data-sucking obscenely intrusive google.com cookie. (something I could put on the desktop and just click once when needed) I do flush History [More]
Hello gurus, we are trying to enter invoice in MIRO with PO reference for planned delivery costs. After I enter the PO number, I have the item downloaded with certain amount, To balance the document I enter in G/L accounts tab account  the account nu [More]
hi   i down loaded a SAP Script from production server to local test file using RSTXSCRP it get downloaded successfully but when i am uploading it to development server it is giving ERROR as : Transport object FORM ZIV_MEDRUCK_PO is being processed   [More]
I recently had a problem with not being able to connect to the iTunes store on Vista. I was able to connect, and then all of a sudden one day it wouldn't connect. When I tried to go to the iTunes store it would give me the box that is the same as the [More]
All of a sudden Adobe Digital editions will no longer connect to the internet.  It was fine before last Tuesday. Check internet settings and firewall and nothing helps. Why is it doing this and how can we fix it.  Windows 7 - 64 bitDid this [[Cannot [More]