Problem solved: it looks like I just had to use javac from openjdk instead of 
javac from gcj.

-David



----- Original Message ----
> From: David Hall <dwash59_2...@yahoo.com>
> To: pymol-users@lists.sourceforge.net
> Sent: Sun, November 22, 2009 2:22:18 PM
> Subject: [PyMOL] Jymol Question
> 
> I wanted to play around with Jymol free evaluation builds ( 
> http://delsci.com/jymol/ ), but I'm having trouble with the instructions 
> given 
> in the README.txt for using javac to compile the examples.  I know almost 
> nothing about Java, so my problem may be something obvious.
> 
> When I run:
> javac -classpath ../lib/jymol-0.7.1.jar -d . ../src/demos/jymol/simple/*.java
> 
> I get:
> ../src/demos/jymol/simple/Simple.java:16: warning: The serializable class 
> Simple 
> does not declare a static final serialVersionUID field of type long
>         public class Simple extends JFrame
>                      ^^^^^^
> ../src/demos/jymol/simple/Simple.java:21: warning: The serializable class 
> QuitAction does not declare a static final serialVersionUID field of type long
>         class QuitAction extends AbstractAction {
>               ^^^^^^^^^^
> ../src/demos/jymol/simple/Simple.java:151: warning: The local variable app is 
> never read
>         Simple app = new Simple(sb.toString());
>                ^^^
> 3 problems (3 warnings)
> /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../lib64/crt1.o: In function 
> `_start':
> /usr/src/packages/BUILD/glibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:109: 
> undefined reference to `main'
> /tmp/ccok2T2B.o: In function 
> `demos::jymol::simple::Simple::Simple(java::lang::String*)':
> cce9zTHY.jar:(.text+0x33c): undefined reference to 
> `com::delsci::jymol::JyMol::class$'
> cce9zTHY.jar:(.text+0x34c): undefined reference to 
> `com::delsci::jymol::JyMol::JyMol()'
> /tmp/ccok2T2B.o:(.data+0x1088): undefined reference to 
> `com::delsci::jymol::JyMol::class$'
> collect2: ld returned 1 exit status
> 
> 
> My javac version (in case it matters):
> javac (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839]
> 
> Thanks for any help,
> David
> 
> 
> 
>       
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net



      

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to