Results 1 to 2 of 2
- 10-02-2010, 11:22 PM #1
Member
- Join Date
- Oct 2010
- Posts
- 1
- Rep Power
- 0
error in the Command Prompt when running a bat file
I am getting an error when I am trying to run a bat file can anyone tell me what to d to correct this
Error occurs during initialization of VM
java/lang/ClassNotFoundException: error in opening jar file c:\jre\lib\rt.jar
I have read that I may need to reinstall the jre and when I do it tells me there ia a copy already on the computer. now when i install do i need to have Xp windows VM running and how do I uninstall the corrupted jre
- 10-03-2010, 01:05 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,544
- Rep Power
- 11
On XP you add and remove programs from the Control Panel by selecting ... "Add or Remove Programs".
But before you reinstall the jre you should make sure there really is something wrong with it. You haven't posted the contents of the .bat or the (complete) console message so it's really a bit hard to know at this distance whether a reinstallation is justified.
Begin by writing a small "hello world" type app and launch that from a batch file and see what happens.
Similar Threads
-
Compiling/Running in Command Prompt
By coke_in_a_can in forum New To JavaReplies: 12Last Post: 05-31-2010, 09:05 AM -
running command prompt using java
By xclaim in forum New To JavaReplies: 1Last Post: 01-14-2010, 03:46 AM -
Running applet from command prompt
By niteshwar.bhardwaj in forum Java 2DReplies: 1Last Post: 03-12-2009, 08:10 AM -
problems in running d command prompt commands
By postaholic066 in forum Advanced JavaReplies: 1Last Post: 09-10-2008, 03:47 PM -
Running eclipse java project on command prompt
By hnmapara in forum New To JavaReplies: 1Last Post: 07-09-2008, 08:29 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks