Hmmm ... very strange.

When you say "compiled on a PC" ...

Q: Do you know if the build is taking place in Eclipse?

I'm not sure what kind of effect this would have, but it is a factor


*** 2 minutes later ***

Here is my theory:

Jmol uses an independently-developed implementation of javax.Point3i &
associated classes. This set of APIs was defined by Java3D. I didn't
want to ... indeed I could not ... require Java3D. But I wanted to use
a relatively standard set of libraries:
 * would provide good documentation
 * would allow us to switch to the built-in if they ever became part
of the standard Java distribution

Indeed, at some point I had some communications with Sun where I asked
them to include the Java3D math routines in the standard library.

In any case ... years have gone by ...

Here is my theory ... if someone actually has Java3D libraries
installed on their machine then an automated build on their machine
might (under some build configurations) prefer the Java3D library
version of the 3D math libraries. This could mean that none of the 3D
math routines were included in the .jar file because the system would
assume that it was being pulled from the installation java libraries.

This would mean that the Jmol.jar file contained none of the Java3D
math classes.

Q: Can you get hold of one of these *bad* .jar files? If so, then use
the jar utility to dump the classes. If you can't do it, send it to me
and I will do so.


Now, if this turns out to be the case, then I suggest the following ...

I suggest that you simply rename the rename the 3D math packages that
are used by Jmol. That is, use eclipse and rename from javax.Point3i
to org.jmol.javax.Point3i ... or something like that. We have the
source code included in the repository and renaming the packages would
not represent a license violation.

My fuzzy plan/hope to switch to using the standard Java 3D math would
never have worked anyway. Even if the Java3D math libraries were
included in the standard distribution there is a huge installed-base
that doesn't have the library.


Miguel



On Wed, Nov 2, 2011 at 8:07 AM, Robert Hanson <[email protected]> wrote:
> We have two independent reports of javax.Point3i problems when Jmol Jar
> files are compiled on a PC and run on a mac. It seems somehow the Poin3i(int
> x, int y, int z) initializer is missing.
>
> What could this possibly be?
>
> Bob
>
>
> --
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> 1520 St. Olaf Ave.
> Northfield, MN 55057
> http://www.stolaf.edu/people/hansonr
> phone: 507-786-3107
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
> ------------------------------------------------------------------------------
> RSA&#174; Conference 2012
> Save $700 by Nov 18
> Register now&#33;
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to