Brad,
What I think you are doing it double-clicking the .jar file, if so, you need
to double-click the .bat file. This comes from the fact that the main class
is not specified in the java manifest, so you can't run the jar file
directly by clicking on it. Some other conversations on this list indicate
that the -d64 option isn't necessary on Windows.
I have thought about submitting a patch to fix this so that the .jar can be
run directly, unfortunately java doesn't allow memory options to be
specified in the manifest, so this may cause other problems. Tomas, do you
have an opinion on this?
Thomas McGrew
Data Analyst/Programmer
Bindley Bioscience Center @ Purdue University
On Wed, Oct 27, 2010 at 8:51 PM, Tomas Pluskal <plus...@oist.jp> wrote:
> Hi Brad,
>
> Personally, I have no experience with running Java on Windows 7, but I will
> try to give you some hints.
> Are you running the Windows 7 in 64-bit mode? Did you install 64-bit
> version of Java?
>
> The correct parameter is "USE_64_BIT=-d64", not "USE_64_BIT=d64". However,
> please try running MZmine without the USE_64_BIT parameter first and check
> that it works.
>
> Tomas
>
>
> On Oct 28, 2010, at 5:13 AM, Brad Evans wrote:
>
> > I am trying to run mzmine 2.1 on windows 7 with Java 6 and Java 3D
> installed. I set the parameter in the .bat file to "USE_64_BIT=d64" and
> then tried to open mzmine2.jar and get the following error message
> >
> > "Failed to load main-class attribute from
> C:\users\bsevans\desktop\mzmine\mzmine-2.1\mzmine.jar"
> >
> > Thank you for any help,
> >
> > Brad Evans
> > <--static--liam_party_bottomright.jpg>
> >
> >
> ------------------------------------------------------------------------------
> > Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> > Create new apps & games for the Nokia N8 for consumers in U.S. and
> Canada
> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> >
> http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
> > Mzmine-devel mailing list
> > Mzmine-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mzmine-devel
>
> ===============================================
> Tomas Pluskal
> G0 Cell Unit, Okinawa Institute of Science and Technology
> 1919-1 Tancha, Onna-son, Okinawa 904-0412, Japan
> TEL: +81-98-966-8684
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Mzmine-devel mailing list
> Mzmine-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mzmine-devel
>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Mzmine-devel mailing list
Mzmine-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mzmine-devel