APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Troublestarting Launcher in Firefox/OpenSuse post and replies

Return to the Troublestarting Launcher in Firefox/OpenSuse thread
Login to post to this thread

Trouble starting/running Launcher in Firefox/OpenSuse
Adam S.
2 Posts

I am new to java and anything related to it.  I managed to install Eclipse Java and run sample code hello following clues from youtube.  However, when installing OSP zip files and other for the book 'introduction to computer simulation methods' by tobochnik, gould and christian, it took me an effort to find example codes from the book hidden in so many subfolders.  I just find out that the launcher is the java application itself designed to run other java programs.  However, launcher does not run when I click on launcher.html file.  Instead I get firefox site of it.  But launcher itself does not run.  It is found in workspace_compadre/osp_guide/xml/overview.
How do I run java application?
Any links to introduction on how to get started in all of this.?

Replies to Trouble starting/running Launcher in Firefox/OpenSuse

Re: Trouble starting/running Launcher in Firefox/OpenSuse -
162 Posts

Java programming in Eclipse with the OSP libraries is quite different from Java programming with the EJS modeling tool.  When using Eclipse you need to code the user interface using Java objects and you need to code action listeners to respond to user interface events such as button clicks.  EJS does this "black magic" automatically when it transforms the XML representation of the View into Java code.  Eclipse programming is usually much more difficult than EJS programming.  There are many good Java programming using Eclipse books that can help you get started.

Please post Eclipse Java questions to the OSP Programming discussion forum.

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book