Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
1st question:
I am using JDK 1.3.1_03 on Win2K Server. When I have compiled the javaapplications, I try to use "java " to run the programme, but an error message "Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object" come up on the screen.
Why is it so? It run normally in the past.
I have upgraded Windows2K once using the Win2K Server CD recently, is it
the cause of the problem? How can I solve it? Please help! Thank you!2nd question:
I have installed JDK1.4 Final version recently. However, after I have uninstalled it, it still appear in the Add/Remove Programme list in the control panel. I have tried to install another version of JDK, see if it would replace the JDK1.4, but it failed. Why is it so? Now when I go to some websites designed by javascript, the Internet Explorer suddenly closed by itself. How can I solvethe problem? Please help! Thank you!

Question 1: Try the Microsoft SDK for Java. It would be more compatible with Windows 2000.
http://www.microsoft.com/java/download/dl_sdk40.htmQuestion 2: In IE, go to Tools - Internet Options - Advanced tab - Java(Sun)- Unselect 'use Java runtime environment' or whatever it says there.
IE can use Microsoft's Virtual Machine for Java, which should run smoother than using Sun's Java runtime environment.

Solution:
in MS-DOS, type "Path" and see if the "bin" folder appears from the directory of your SDK. If it doesn't, type "path=directory of your SDK bin; stuff from before that was on path"
Also, in MS-DOS, type "classpath=" This will set the classpath variable equal to nothing.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |