|
It turns out to be more complicated than using a flag ... in fact that flag
only exists on OSX. So for 64bit windows:
A) either download and install the 32bit JVM (that will work fine, and you
can use the provided libsbml libraries) or
B) generate 64bit java bindings. That is a bit harder than anticipated, but
not overly so, you will need to compile libsbml
For yourself, next generate the SWIG bindings for Java, and then slightly
alter the existing visual project file to no longer target x86 but
x64. Here the details:
Building and installing libSBML
http://sbml.org/Software/libSBML/docs/cpp-api/libsbml-installation.html
Enable a 64-Bit Visual C++ Toolset at the Command Line
http://msdn.microsoft.com/en-us/library/x4d2c09s.aspx
Configure Visual C++ Projects to Target 64-Bit Platforms
http://msdn.microsoft.com/en-us/library/9yb4317s.aspx
In the long run it might probably make sense to add a feature request that
the Java bindings are built for 64bit Java as well.
Cheers
Frank
> -----Original Message-----
> From: libsbml-development-bounces@caltech.edu [mailto:libsbml-
> development-bounces@caltech.edu] On Behalf Of Frank Bergmann
> Sent: Tuesday, June 30, 2009 5:03 PM
> To: LibSBML Development List
> Subject: Re: [libsbml-development] 64-bit libsbml
>
> Hello Chris,
>
> the released versions of libsbml (and the java bindings) only contain
> 32bit executables. If you run a 64bit Java machine, it will not be
> able to load these libraries. However i think you might be able to
> force the JVM to be instantiated in 32 bit mode by supplying the -d32
> argument.
>
> Good luck
> Frank
>
> On Jun 30, 2009, at 4:36 PM, Chris J. Myers wrote:
>
> > I'm having trouble getting libsbml to work on Windows XP 64-bit
> > machine? Should it work? If so, which version should I be using?
> >
> > Thanks,
> >
> > Chris
> >
> >
> > ____________________________________________________________
> > To manage your libsbml-development list subscription, visit
> > https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
> >
> > For a web interface to the libsbml-development mailing list, visit
> > http://sbml.org/Forums/
> >
> > For questions or feedback about the libsbml-development list,
> > contact sbml-team@caltech.edu
> >
>
> ____________________________________________________________
> To manage your libsbml-development list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
>
> For a web interface to the libsbml-development mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the libsbml-development list,
> contact sbml-team@caltech.edu
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu
|