I get this Error: Invalid class file detected. File: rt.jar could not be read as a jar file. Bad file descriptor. Before it throws this error it reads class-files from rt.jar... what is wrong??
Best regards,
Jörg
Posts:
2
Registered:
Jan 10, 2007 01:33:59 PM
Re: Problem with rt.jar
Posted:
Mar 12, 2007 01:01:00 PM
in response to: 's post
Are you using the -classpath (or -cp) to specify the rt.jar on your classpath or are you using -jar? You need to use -classpath. If you are already doing that, please verify that the jar hasn't been corrupted - you should be able to run 'jar' or a tool like winzip/zip on the jar and see the directory of the jar file - if you can't, the jar has been corrupted somehow.