|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Failed to load Main-Class manifest attributes from...I'm still debugging a Java Virtual Machine launcher "Failed to load
Main-Class manifest attributes from..." error message. I am installing Java 6 and the latest robocode extract. In the mean time, if any of you wonderful folks have been down this road before, can you please shine a light in my direction? Thanks in advance. |
|
|
Re: Failed to load Main-Class manifest attributes from...Everytime I have heard about this issue, it seems to be either a broken
Java installation or a Java implementation from another vendor than Sun. This is typical for OS'es like Linux and MacOS. If you are using Linux (perhaps also MacOS), you should install the JRE or JDK from Sun, and install this based on the install notes. You should also make sure that other Java installations (prior to your one) does not interfere with your installation. With MacOS I am not sure what to do as it seems to run it's own life when it comes to Java, and I get lot's of complaints from Mac owners whenever the OS X is upgraded. Could you please tell which OS version you are running Robocode on, and also which Java vendor your Java version was created by? Then I will dig into my archives and try to find a solution for you. Best regards, - Flemming --- In Robocode@..., "Edwin Pilobello" <e_pilobello@...> wrote: > > I'm still debugging a Java Virtual Machine launcher "Failed to load > Main-Class manifest attributes from..." error message. > > I am installing Java 6 and the latest robocode extract. > > In the mean time, if any of you wonderful folks have been down this > road before, can you please shine a light in my direction? > > Thanks in advance. > |
|
|
Re: Failed to load Main-Class manifest attributes from...Interesting! I figured it was a Java install problem. I first
became aware of this mid-week when I got a call from the IT tech at Portland State University who was creating an image for the lab I'l be using. I've got a summer class starting tomorrow using Robocode. I hope they figured out what's wrong!! I tried it at home and got the same message. I'm on XP and loaded Java 6 and Robocode through the links at Robocode Home. I'll uninstall any old versions of Java hanging around my system and try again. I'll report in an hour or so. Thanks! --- In Robocode@..., "flemmingnlarsen" <flemming.n.larsen@...> wrote: > > Everytime I have heard about this issue, it seems to be either a broken > Java installation or a Java implementation from another vendor than > Sun. This is typical for OS'es like Linux and MacOS. > > If you are using Linux (perhaps also MacOS), you should install the JRE > or JDK from Sun, and install this based on the install notes. You > should also make sure that other Java installations (prior to your one) > does not interfere with your installation. > > With MacOS I am not sure what to do as it seems to run it's own life > when it comes to Java, and I get lot's of complaints from Mac owners > whenever the OS X is upgraded. > > Could you please tell which OS version you are running Robocode on, and > also which Java vendor your Java version was created by? Then I will > dig into my archives and try to find a solution for you. > > Best regards, > - Flemming > > --- In Robocode@..., "Edwin Pilobello" <e_pilobello@> > wrote: > > > > I'm still debugging a Java Virtual Machine launcher "Failed to load > > Main-Class manifest attributes from..." error message. > > > > I am installing Java 6 and the latest robocode extract. > > > > In the mean time, if any of you wonderful folks have been down this > > road before, can you please shine a light in my direction? > > > > Thanks in advance. > > > |
|
|
Re: Failed to load Main-Class manifest attributes from...No luck! I've unintalled all other Java installations. I've
uninstalled and installed jre1.6.0_06 twice. Both times it verifies. Checked PATH and CLASSPATH, everything looks OK. I guess the Java Virtual Machine launcher just can't find Main Class manifest. I've looked through SUN Help, etc. I'd appreciate any directions as I am lacking practice in this area. Thanks! --- In Robocode@..., "Edwin Pilobello" <e_pilobello@...> wrote: > > Interesting! I figured it was a Java install problem. I first > became aware of this mid-week when I got a call from the IT tech at > Portland State University who was creating an image for the lab I'l > be using. I've got a summer class starting tomorrow using Robocode. > I hope they figured out what's wrong!! > > I tried it at home and got the same message. I'm on XP and loaded > Java 6 and Robocode through the links at Robocode Home. I'll > uninstall any old versions of Java hanging around my system and try > again. I'll report in an hour or so. > > Thanks! > > --- In Robocode@..., "flemmingnlarsen" > <flemming.n.larsen@> wrote: > > > > Everytime I have heard about this issue, it seems to be either a > broken > > Java installation or a Java implementation from another vendor > > Sun. This is typical for OS'es like Linux and MacOS. > > > > If you are using Linux (perhaps also MacOS), you should install the > JRE > > or JDK from Sun, and install this based on the install notes. You > > should also make sure that other Java installations (prior to your > one) > > does not interfere with your installation. > > > > With MacOS I am not sure what to do as it seems to run it's own > life > > when it comes to Java, and I get lot's of complaints from Mac > owners > > whenever the OS X is upgraded. > > > > Could you please tell which OS version you are running Robocode > and > > also which Java vendor your Java version was created by? Then I > will > > dig into my archives and try to find a solution for you. > > > > Best regards, > > - Flemming > > > > --- In Robocode@..., "Edwin Pilobello" <e_pilobello@> > > wrote: > > > > > > I'm still debugging a Java Virtual Machine launcher "Failed to > load > > > Main-Class manifest attributes from..." error message. > > > > > > I am installing Java 6 and the latest robocode extract. > > > > > > In the mean time, if any of you wonderful folks have been down > this > > > road before, can you please shine a light in my direction? > > > > > > Thanks in advance. > > > > > > |
|
|
Re: Failed to load Main-Class manifest attributes from...Well. It could be the .jar file containing the robocode-setup.jar
file that is corrupted. Have to tried to download it from another mirror on SourceForge? Hmm.. perhaps you could also try to set your JAVA_HOME to your java installation, e.g. C:\Program Files\Java\jdk1.6.0_06 or similar. Your PATH should include %JAVA_HOME%\bin You could also try to download another version of Robocode and see if this makes a difference? I wish you luck. Best regards, - Flemming --- In Robocode@..., "Edwin Pilobello" <e_pilobello@...> wrote: > > No luck! I've unintalled all other Java installations. I've > uninstalled and installed jre1.6.0_06 twice. Both times it > verifies. Checked PATH and CLASSPATH, everything looks OK. > > I guess the Java Virtual Machine launcher just can't find Main Class > manifest. I've looked through SUN Help, etc. > > I'd appreciate any directions as I am lacking practice in this area. > > Thanks! > > > --- In Robocode@..., "Edwin Pilobello" <e_pilobello@> > wrote: > > > > Interesting! I figured it was a Java install problem. I first > > became aware of this mid-week when I got a call from the IT tech > > Portland State University who was creating an image for the lab I'l > > be using. I've got a summer class starting tomorrow using > Robocode. > > I hope they figured out what's wrong!! > > > > I tried it at home and got the same message. I'm on XP and loaded > > Java 6 and Robocode through the links at Robocode Home. I'll > > uninstall any old versions of Java hanging around my system and try > > again. I'll report in an hour or so. > > > > Thanks! > > > > --- In Robocode@..., "flemmingnlarsen" > > <flemming.n.larsen@> wrote: > > > > > > Everytime I have heard about this issue, it seems to be either a > > broken > > > Java installation or a Java implementation from another vendor > than > > > Sun. This is typical for OS'es like Linux and MacOS. > > > > > > If you are using Linux (perhaps also MacOS), you should install > the > > JRE > > > or JDK from Sun, and install this based on the install notes. You > > > should also make sure that other Java installations (prior to > your > > one) > > > does not interfere with your installation. > > > > > > With MacOS I am not sure what to do as it seems to run it's own > > life > > > when it comes to Java, and I get lot's of complaints from Mac > > owners > > > whenever the OS X is upgraded. > > > > > > Could you please tell which OS version you are running Robocode > on, > > and > > > also which Java vendor your Java version was created by? Then I > > will > > > dig into my archives and try to find a solution for you. > > > > > > Best regards, > > > - Flemming > > > > > > --- In Robocode@..., "Edwin Pilobello" > > > wrote: > > > > > > > > I'm still debugging a Java Virtual Machine launcher "Failed to > > load > > > > Main-Class manifest attributes from..." error message. > > > > > > > > I am installing Java 6 and the latest robocode extract. > > > > > > > > In the mean time, if any of you wonderful folks have been down > > this > > > > road before, can you please shine a light in my direction? > > > > > > > > Thanks in advance. > > > > > > > > > > |
|
|
Re: Failed to load Main-Class manifest attributes from...I will send this reply off to the IT Techs here at Portland State
University. Hope they can figure it out. Robocode isn't working for my class this week. --- In Robocode@..., "flemmingnlarsen" <flemming.n.larsen@...> wrote: > > Well. It could be the .jar file containing the robocode-setup.jar > file that is corrupted. Have to tried to download it from another > mirror on SourceForge? > > Hmm.. perhaps you could also try to set your JAVA_HOME to your java > installation, e.g. C:\Program Files\Java\jdk1.6.0_06 or similar. > > Your PATH should include %JAVA_HOME%\bin > > You could also try to download another version of Robocode and see > this makes a difference? > > I wish you luck. > > Best regards, > - Flemming > > |
|
|
Re: Failed to load Main-Class manifest attributes from...I am sorry to hear that you were not able to get Robocode up and
running for your class this week. :-\ I also fully understand that it should work on your IT system. One way to proceed could be to try a completely other computer, e.g. your personal computer at home or so. If you are able to get it up and running here, then you will have to find out what exactly is the difference between the Java installation on your computer and the system at Portland State University. You could also try to run other Java applications (e.g. download some from Internet), and check if the run fine. Just to check if the Java installation works in general, or have errors in general. I haven't got any bug reports or similar for Windows XP with the current versions of Robocode. So I think the problem must somehow exists on your system. But I am not sure, meaning that their could be a problem in Robocode that we have not seen before. - Flemming On Jun 24, 9:07 pm, "Edwin Pilobello" <e_pilobe...@...> wrote: > I will send this reply off to the IT Techs here at Portland State > University. Hope they can figure it out. Robocode isn't working for > my class this week. > > --- In Roboc...@..., "flemmingnlarsen" > > > > <flemming.n.larsen@...> wrote: > > > Well. It could be the .jar file containing the robocode-setup.jar > > file that is corrupted. Have to tried to download it from another > > mirror on SourceForge? > > > Hmm.. perhaps you could also try to set your JAVA_HOME to your java > > installation, e.g. C:\Program Files\Java\jdk1.6.0_06 or similar. > > > Your PATH should include %JAVA_HOME%\bin > > > You could also try to download another version of Robocode and see > if > > this makes a difference? > > > I wish you luck. > > > Best regards, > > - Flemming- Hide quoted text - > > - Show quoted text - |
|
|
Re: Failed to load Main-Class manifest attributes from...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. --- In Robocode@..., fnl <flemming.n.larsen@...> wrote: > > I am sorry to hear that you were not able to get Robocode up and > running for your class this week. :-\ > I also fully understand that it should work on your IT system. > > One way to proceed could be to try a completely other computer, e.g. > your personal computer at home or so. If you are able to get it up and > running here, then you will have to find out what exactly is the > difference between the Java installation on your computer and the > system at Portland State University. You could also try to run other > Java applications (e.g. download some from Internet), and check if the > run fine. Just to check if the Java installation works in general, or > have errors in general. > > I haven't got any bug reports or similar for Windows XP with the > current versions of Robocode. So I think the problem must somehow > exists on your system. But I am not sure, meaning that their could be > a problem in Robocode that we have not seen before. > > - Flemming > > > On Jun 24, 9:07 pm, "Edwin Pilobello" <e_pilobe...@...> wrote: > > I will send this reply off to the IT Techs here at Portland State > > University. Hope they can figure it out. Robocode isn't working for > > my class this week. > > > > --- In Roboc...@..., "flemmingnlarsen" > > > > > > > > <flemming.n.larsen@> wrote: > > > > > Well. It could be the .jar file containing the robocode- setup.jar > > > file that is corrupted. Have to tried to download it from another > > > mirror on SourceForge? > > > > > Hmm.. perhaps you could also try to set your JAVA_HOME to your java > > > installation, e.g. C:\Program Files\Java\jdk1.6.0_06 or similar. > > > > > Your PATH should include %JAVA_HOME%\bin > > > > > You could also try to download another version of Robocode and see > > if > > > this makes a difference? > > > > > I wish you luck. > > > > > Best regards, > > > - Flemming- Hide quoted text - > > > > - Show quoted text - > |
|
|
Re: Failed to load Main-Class manifest attributes from...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. > > > --- In Robocode@..., fnl <flemming.n.larsen@> wrote: > > > > I am sorry to hear that you were not able to get Robocode up and > > running for your class this week. :-\ > > I also fully understand that it should work on your IT system. > > > > One way to proceed could be to try a completely other computer, > > your personal computer at home or so. If you are able to get it up > and > > running here, then you will have to find out what exactly is the > > difference between the Java installation on your computer and the > > system at Portland State University. You could also try to run other > > Java applications (e.g. download some from Internet), and check if > the > > run fine. Just to check if the Java installation works in general, > or > > have errors in general. > > > > I haven't got any bug reports or similar for Windows XP with the > > current versions of Robocode. So I think the problem must somehow > > exists on your system. But I am not sure, meaning that their could > be > > a problem in Robocode that we have not seen before. > > > > - Flemming > > > > > > On Jun 24, 9:07 pm, "Edwin Pilobello" <e_pilobe...@> wrote: > > > I will send this reply off to the IT Techs here at Portland State > > > University. Hope they can figure it out. Robocode isn't working > for > > > my class this week. > > > > > > --- In Roboc...@..., "flemmingnlarsen" > > > > > > > > > > > > <flemming.n.larsen@> wrote: > > > > > > > Well. It could be the .jar file containing the robocode- > setup.jar > > > > file that is corrupted. Have to tried to download it from > another > > > > mirror on SourceForge? > > > > > > > Hmm.. perhaps you could also try to set your JAVA_HOME to > java > > > > installation, e.g. C:\Program Files\Java\jdk1.6.0_06 or similar. > > > > > > > Your PATH should include %JAVA_HOME%\bin > > > > > > > You could also try to download another version of Robocode and > see > > > if > > > > this makes a difference? > > > > > > > I wish you luck. > > > > > > > Best regards, > > > > - Flemming- Hide quoted text - > > > > > > - Show quoted text - > > > |
|
|
Re: Failed to load Main-Class manifest attributes from...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. > > > > |
|
|
Re: Failed to load Main-Class manifest attributes from...Hi Edwin, I am happy to hear that you found the root cause of the problem. [:)] Normally the .jar files are turned into .zip packages as a fallback. This is controlled by the web-server you download the .jar file from. If the server configuration does not contain the JAR MIME type, then the .jar file will per default be turned into a .zip file. This is a classic problem. But of course you can easily solve it by renaming the file extension from .zip into .jar. You could also use another mirror server, when downloading Robocode. Now, the second part of the problem seems to be the Java installation installation itself, if it is not able to start the Robocode installer when you double-click the robocode-setup.jar file. Again, this is a somewhat classic problem. If Java is installed properly, and you double-click on the .jar file (robocode-setup.jar file), then Java is automatically launched. The Java VM will look into the /META-INF/Manifest.mf file in the .jar file, where it will find robocode.AutoExtract as the main application class, which is then launched and hence starts installing Robocode. (It will ask you where to install Robocode). It seems like your Java installation does not do this, and normally this is due to a bad installation. Your Tech guys should follow the guidelines provided by Sun (if you use Sun's JRE or JDK) to make sure that Java is correctly installed throughout the network. These are provided here: http://java.sun.com/javase/6/webnotes/install/index.html <http://java.sun.com/javase/6/webnotes/install/index.html> It is not enough "just" to install Java in order to let it run properly. At least not always, that is. Best regards, - Flemming --- In Robocode@..., "Edwin Pilobello" <e_pilobello@...> wrote: > > 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. > > > > > > > |
| Free embeddable forum powered by Nabble | Forum Help |