Hi Tim,

you are getting the same kind of problem than René Kanters.

You probably have a newer version of vecmath.jar somewhere in your java path. 
This newer version conflicts with the one in Jmol.
Try for find where it is and remove it from your path.

The problem is the API for vecmath has been changed between version 1.2 and 1.3 
of Java 3D. This change makes the two versions incompatible and I don't see a 
way to fix this in Jmol.

In version 1.2, Point3f was *not* Cloneable, so the clone() method was defined 
by Object as "Object clone() throws CloneNotSupportedException"
In version 1.3, Point is Cloneable, bu the clone() method has been defined as 
"Object clone() throws OutOfMemoryError"

So with 1.2, we *need* to catch CloneNotSupportedException. But with 1.3, we 
*mustn't* catch CloneNotSupportedException.

Nico


De: Timothy Driscoll <[EMAIL PROTECTED]>

>been trying to update and build Jmol tonight but keep getting this  
>error:
>
>     [mkdir] Created dir: /java/jmol/Jmol/build/classes
>     [javac] Compiling 263 source files to /java/jmol/Jmol/build/classes
>     [javac] /java/jmol/Jmol/src/org/jmol/adapter/smarter/Atom.java: 
>57: exception java.lang.CloneNotSupportedException is never thrown in  
>body of corresponding try statement
>     [javac]     } catch (CloneNotSupportedException cnse) {
>     [javac]       ^


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to