Skip to main content

alphaWorks  >  Forums  >  IBM Real-Time Class Analysis Tool for Java  >  developerWorks

Problem with rt.jar    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 1 - Pages: 1 - Last Post: Mar 12, 2007 1:01 PM Last Post By: Threads: [ Previous | Next ]

Posts: 1
Registered: Jan 22, 2007 05:27:48 AM
Problem with rt.jar
Posted: Jan 22, 2007 05:31:44 AM
Click to report abuse...   Click to reply to this thread Reply
Hi there,

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: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
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.

thanks,
mike fulton

Point your RSS reader here for a feed of the latest messages in all forums