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

I am using the O'Reilly book "Learning Java." I'm stuck on the first excercise. I installed the Sun 5.0 JDK on the included disk. I wrote the first lines of code of the example. When I entered the command in the command line to run the program it said that it could not be found. Do you think the Kit isn't installed right? I have Windows XP Professional. I tried installing the Kit again, but my computer tells me it's already installed. Can anyone help me?

2006-11-21 00:00:55 · 4 answers · asked by doug02346 4 in Computers & Internet Programming & Design

4 answers

you need to set the path varibale to jdk\bin.

2006-11-21 12:50:13 · answer #1 · answered by srihari_reddy_s 6 · 0 0

Hello. Weather if you are programming or just running a Java Aplication, this error means you dont have the latest Java Virtual Machine version installed in your computer. I suggest you trying to update it, that should solve the problem.

2016-05-22 05:39:38 · answer #2 · answered by Anonymous · 0 0

To compile java in Windows through the command line you need to make an environmental variable for java and javac. Another option is to use an IDE(Integrated Developer Environemt) such as JBuilder or Netbeans.

This should help you with the variables.
http://www.cs.ucsb.edu/~teliot/Path_and_Classpath.htm

2006-11-21 02:44:25 · answer #3 · answered by Anonymous · 0 0

http://www.javascript.com/

2006-11-21 00:03:11 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers