inm logo
Corporate Website | Contact | Store | Support | Login  

View categorized listing of all common frequently asked questions.
View our categorized library of downloads for all necessary manuals, software, etc.
 Article Options
Support Center » Knowledgebase » INM Moka Xtra for Director » Recommended practice for working with multiple class paths
Support Page Banner
 Recommended practice for working with multiple class paths
Moka Xtra for Director Windows, Mac OS 8 & 9 initialization, Java™ class path all


On Mac OS 8 & 9*, when you change or add to the Java™ class path you must restart Director (to stop the Java Virtual Machine) and then restart your project, in order for the new path to be recognized. This limitation also applies to paths changed or added in the JClassBrowser, which uses the same instance of the JVM.

Therefore, if you are working on several projects with different class paths, and you don't want to have to keep restarting Director, we recommend entering all the Java class paths for all your projects in the JClassBrowser's Paths window and always running the JClassBrowser before your Moka Xtra movies.

The JClassBrowser stores its Paths variable in a preferences file on the hard disk, so it persists from one execution to the next. However, any time you add to or change this path, you have to restart Director.

During testing:

During final testing of your movie, do not run the JClassBrowser first, because you want to make sure that you have correctly initialized the Java class path in the New() method, within your movie. If you run the JClassBrowser first, the path will be initialized by the JClassBrowser, and not by your movie.

*This limitation is not present in Windows or on Mac OS X, where the version of JVM is higher and Moka Xtra is able to add to the class path without having to reinitialize the JVM.

Article Details
Article ID: 59
Created On: 26 Sep 2006 11:09 AM

 This answer was helpful  This answer was not helpful

inm general footer
Services Xtras Go Products Support Gallery Store Download About Us Contact Newsroom