Giter VIP home page Giter VIP logo

Comments (4)

rbouckaert avatar rbouckaert commented on June 30, 2024 1

@ms609 glad to see the starting problem is solved.
Please, do report problems you observe when teaching.

from beast2.

rbouckaert avatar rbouckaert commented on June 30, 2024

@ms609 A jre is included with the BEAST distribution, and the exe files are set up to pick up that jre. Any other jre installed should be ignored by BEAST.

Renaming the jre folder makes that the exe file cannot find the jre included with BEAST, and the default jre is used. This is not recommended, since BEAST relies on JavaFX without using modules, and several jre specific hoops need to be sprung to make that work.

I am curious to what the problem can be, so perhaps you can provide the following information:
Does .\bat\BEAST.bat -version give any output?
Which folder did you install BEAST?
The package folder should be in C:\Users\<yourname>\BEAST where <yourname> is your user name. Does that folder exists? Does it contain a 2.7 subdirectory, with BEAST.app and BEAST.base inside?

from beast2.

ms609 avatar ms609 commented on June 30, 2024

Hi @rbouckaert , thanks for picking this up. I've restored the jre folder.

Answers below:

Does .\bat\BEAST.bat -version give any output?

> .\bat\BEAST.bat -version
java.lang.ClassNotFoundException: beastfx.app.beast.BeastMain
        at java.base/java.net.URLClassLoader.findClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Unknown Source)
        at beast.pkgmgmt.BEASTClassLoader.forName(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.run(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)

Which folder did you install BEAST?

C:\Programs\Phylogeny\BEAST

The package folder should be in C:\Users\<yourname>\BEAST where <yourname> is your user name. Does that folder exists? Does it contain a 2.7 subdirectory, with BEAST.app and BEAST.base inside?

Yes

I wonder whether it's relevant that I once built BEAST from source, elsewhere on the machine. I hadn't thought that this would overlap with a clean install of BEAST, but perhaps if they are both looking in a common folder in my Users directory there might be some interaction..?

from beast2.

ms609 avatar ms609 commented on June 30, 2024

Ahha! I deleted the C:\Users\<yourname>\BEAST folder and BEAST launched successfully. There must have been a conflict with the preexisting files. Thanks very much for the pointer!

from beast2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.