« Return to Thread: Failed to load Main-Class manifest attributes from...

Re: Failed to load Main-Class manifest attributes from...

by gypsy_fly :: Rate this Message:

Reply to Author | View in Thread

Another of our IT Techs was installing robocode on laptops and got
the "Failed to load Main-Class".  He reports that the way to solve this
issue is thusly:

1. After downloading from sourceforge, rename the downloaded robocode-
setup-1.6.0.1 file and change .zip extension to .jar
2. Click on the new .jar file to install robocode

The download process does say that the source is a .jar.  However, upon
saving, it turns into a .zip  Double clicking the .zip in Windows XP
unpackages using .zip format.  Clicking on the resulting "extract" file
to load robocode will produce the "Failed to load Main-Class" error.

So the question is why the original jar file changed to .zip?
 
--- In Robocode@..., "flemmingnlarsen"
<flemming.n.larsen@...> wrote:

>
> I am sorry about that, but very happy to hear that the problem is
> solved now. :-)
>
> --- In Robocode@..., "Edwin Pilobello" <e_pilobello@>
> wrote:
> >
> > The IT techs here at PSU figured it out.  I'm told it was a corrupt
> > Robocode extract file.  I'll be able to use robocode on the next
> > class.
> >
> > Now all I need to do is get it up on my home computer.
> >
> >


 « Return to Thread: Failed to load Main-Class manifest attributes from...