Re: Encountering Java errors with BEAUti

188 views
Skip to first unread message

Andrew Rambaut

unread,
Aug 29, 2012, 2:56:52 AM8/29/12
to beast...@googlegroups.com
Dear Isaac,

Despite our best efforts it looks like a Java 6 dependency has crept into the BEAST code. What this means is that v1.7.3 of BEAUti will only run with Java 6 installed (although, as you note, BEAST itself will run in Java 5).

Java 1.6 is not available for Mac OS 10.4 so your alternatives are to upgrade the Mac OS X version to at least 10.5 (this will only work if it is an Intel-processor Mac). Or use another computer to run BEAUti on and then run BEAST on your Mac. 

Andrew
  
On 28 Aug 2012, at 16:56, Isaac <isaac...@gmail.com> wrote:

Dear community, 

I am a new user to BEAST encountering a similar issue to the one defined in this post. I can run BEAST v1.7.3 with no issue, but BEAUti v1.7.3 results in a box showing the error message "Uncaught exception in main method: java.lang.NoClassDefFoundError: javax/swing/filechooser/FileNameExtensionFilter." I am running Mac OS 10.4.11 on a machine with 2GB of RAM. When I try to run it from the command line, I get the following:

eeb-yqlabmac2:~/Desktop/BEAST yq$ java -jar lib/beauti.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javax/swing/filechooser/FileNameExtensionFilter
        at dr.app.beauti.BeautiApp$1.createDocumentFrame(Unknown Source)
        at jam.framework.MultiDocApplication.createDocumentFrame(Unknown Source)
        at jam.framework.MultiDocApplication.doNew(Unknown Source)
        at dr.app.beauti.BeautiApp.main(Unknown Source)

The post indicates that this is the result of using the wrong (or no) virtual machine. However, this page on the BEAST website has instructions only for solving this issue in a linux environment. All apple machines in the lab yield the same results. I would greatly appreciate any assistance! 

Additional information:

eeb-yqlabmac2:~/Desktop/BEAST yq$ java -version
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306)
Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, sharing)
eeb-yqlabmac2:~/Desktop/BEAST yq$ 

Thank you,
-Isaac



--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/beast-users/-/WZLuFjy68BsJ.
To post to this group, send email to beast...@googlegroups.com.
To unsubscribe from this group, send email to beast-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beast-users?hl=en.

___________________________________________________________________
 Andrew Rambaut                
 Institute of Evolutionary Biology       University of Edinburgh
 Ashworth Laboratories                         Edinburgh EH9 3JT
 EMAIL - a.ra...@ed.ac.uk                TEL - +44 131 6508624  

Isaac

unread,
Aug 29, 2012, 11:38:32 PM8/29/12
to beast...@googlegroups.com
Dear Andrew,

Thank you very much for your response. I will use BEAUTi on other available units. 

Best,
Isaac
Reply all
Reply to author
Forward
0 new messages