[this should be on the developer list, not user, but...]

It's probable that your .classpath file is not up to date.

On the Jmol trunk I have removed the vecmath package from the required Jar
set and replaced it with an optimized version in src/javax/vecmath. You
need to right-click on project name, select Properties, go to Java Build
Path, click the Libraries tab, and remove the reference to
vecmath1.2-1.14.jar

The correct .classpath files reads:

<classpath>
    <classpathentry excluding="org/jmol/jcamp/" kind="src" path="src"/>
    <classpathentry excluding="CDKIntegration.java|CDKIntegrationPDB.java"
kind="src" path="examples/basic"/>
    <classpathentry kind="src" path="examples/externalAppletControls"/>
    <classpathentry kind="src" path="test"/>
    <classpathentry excluding="org/jmol/screensaver/JmolScreensaver.java"
kind="src" path="screensaver/src/java"/>
    <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="lib" path="jars/netscape.jar"/>
    <classpathentry kind="lib" path="jars/commons-cli-1.0.jar"/>
    <classpathentry kind="lib" path="jars/itext-1.4.5.jar"/>
    <classpathentry kind="lib" path="screensaver/jars/saverbeans-api.jar"/>
    <classpathentry kind="lib" path="jars/junit.jar"/>
    <classpathentry kind="lib" path="jars/naga-2_1-r42.jar"/>
    <classpathentry kind="lib" path="jars/JSpecView.jar"/>
    <classpathentry kind="output" path="bin"/>
</classpath>

Make sure your build.xml file is also up to date.



On Sat, Oct 6, 2012 at 3:28 PM, Alexander Rose
<alexander.r...@weirdbyte.de>wrote:

> Hi,
>
> I'm using Eclipse as described here (
> http://wiki.jmol.org/index.php/Eclipse) on Mac OSX 10.7.
>
> With recent revisions e.g. 17620 I can't run Jmol either within Eclipse or
> from a build without this error:
>
> uncaught exception: java.lang.NoSuchMethodError:
> javax.vecmath.Vector3f.new3(FFF)Ljavax/vecmath/Vector3f;
> java.lang.NoSuchMethodError:
> javax.vecmath.Vector3f.new3(FFF)Ljavax/vecmath/Vector3f;
>         at org.jmol.util.Geodesic.createGeodesic(Geodesic.java:221)
>         at org.jmol.util.Geodesic.getVertexCount(Geodesic.java:190)
>         at org.jmol.util.Normix.getNormixCount(Normix.java:48)
>         at org.jmol.g3d.Graphics3D.<clinit>(Graphics3D.java:1824)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
>         at org.jmol.api.Interface.getInterface(Interface.java:43)
>         at org.jmol.viewer.Viewer.setOptions(Viewer.java:428)
>         at org.jmol.viewer.Viewer.<init>(Viewer.java:364)
>         at
> org.openscience.jmol.app.jmolpanel.JmolPanel.<init>(JmolPanel.java:255)
>         at org.openscience.jmol.app.Jmol.<init>(Jmol.java:39)
>         at
> org.openscience.jmol.app.jmolpanel.JmolPanel.getJmol(JmolPanel.java:526)
>         at
> org.openscience.jmol.app.jmolpanel.JmolPanel.startJmol(JmolPanel.java:409)
>         at org.openscience.jmol.app.Jmol.main(Jmol.java:44)
> Exception in thread "main" java.lang.NullPointerException
>         at
> org.openscience.jmol.app.jmolpanel.JmolPanel.getJavaConsole(JmolPanel.java:448)
>         at
> org.openscience.jmol.app.jmolpanel.JmolPanel.startJmol(JmolPanel.java:420)
>         at org.openscience.jmol.app.Jmol.main(Jmol.java:44)
>
>
> I find it strange because javax.vecmath.Vector3f.new3(FFF) for three float
> arguments does indeed exist?! I have no experience with building java
> projectss so any helps is much appreciated.
>
>
> Best
> Alexander
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to