Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Java Classpath / path
Name: sspamer Date: April 6, 2006 at 00:41:28 Pacific OS: win xp home ed sp2 CPU/Ram: 2 / 256 Product: unknown
Comment:
I had previous versions of Java installed on my computer, I recently tried to uninstall everything java related (v1.4.2, 1.1, 1.3, etc). I then tried to install Java 1.5.06 (the latest version), and set it up so I can use the command prompt to compile and execute code. I set my classpath to c:\prog files\javasdk1.5.06\lib and path c:\prog files\javasdk1.5.06\bin When I go to my command prompt and type "javac Whatever.java" I get some error message about javai.dll ?? I am not sure why I get this message. I do not have this file javai.dll on my system (I ran a search for it). I also tested my javac and java exe files by typing the command "c:\prog files\javasdk1.5.06\bin\javac.exe Whatever.java" and it succeeds in compilation. I read online that "jvm.dll" replaced the "javai.dll" file, as it was used for earlier versions of Java. I looked in my registry and tried deleting all such keys that said "javai.dll" to see if that would solve the problem, and I still receive the same error message. It says something like "javac exe error javai missing blah blah " Anyone experience this? Any suggestions?
Name: shane69 Date: April 27, 2006 at 19:03:00 Pacific
Reply:
yeah that is very weird. my only suggestion would be using a complier like blue j www.bluej.org or dr java www.drjava.org. But if you want to use the command prompt then im really not sure what the problem is.
Summary: Hi - If you really have the SDK installed correctly .... then ... 1) You should have a JAVA_HOME environment variable that points to the install directory. 2) Your PATH environment variable should con...
Summary: Hello I'm trying to run a java application from command line: java -classpath "G:\Viqee\classes;G:\Viqee\jar" "com.nextnine.common.Application" The problem is that the java compiler recognise only a p...
Summary: When I import "javax.servlet.http.httpUtils" , I get "package javax.servlet.http does not exist". Does this mean there is something wrong with the classpath? If the package is already contained in ...