If you like us, please share us on social media.
The latest UCD Hyperlibrary newsletter is now complete, check it out.

GeoWiki.png
ChemWiki: The Dynamic Chemistry E-textbook > Development Details > Java3D FAQ

Java3D FAQ

Table of Contents

Java3D

Virtual Chemistry Experiments providing 3D content employ Java3D. Java3D may be downloaded the Java3D web site.

Installation

 

The Java3D installer will deploy Java3D in all current Java installations.

The following link tests whether Java3D is correctly installed: Test Java3D

    • For Windows boxes here .
    • For other computer plateforms, go here.
  • Memory Limitations
    The default configuration for Java allocates a heap space of 96 MB. Most modern computers can readily provide a substantially larger amount of memory. Java3D is memory intensive and some of the isosurfaces displayed in Virtual Chemistry Experiments are relative large. When insufficient memory is available, the web browser may simply freeze and the web page fail to load. For web pages that download several large virtual reality files, and progress counter may freeze at a specific file (the file that exhausts the available memory). Alternately, one of the following two messages may be displayed on the Java console:
    java.lang.OutOfMemoryError
    java.lang.reflect.InvocationTargetException
    The available Java heap memory may be displayed by entering m at the Java console. A free memory level at or near 0% indicates the Java Virtual Machine has exhausted its available heap space.

    The amount of memory available to Java may be increased in the Java Control Panel. (In Windows, this is found in the Windows Control Panel.) Under the Java tab select Java Runtime Environment Settings. Find the most recent version of Java and enter -Xmx200m under the Java Runtime Parameters. The switch -Xmx200m allocates 200 MB of memory for the Java heap. Although more memory could be allocated if necessary, in my experience 200 MB is sufficient memory for any of the Virtual Chemistry Experiments.

    I recommend increasing the memory available to Java applets when Java or Java3D is installed.
    When a Java update is applied, check to make sure the runtime parameters have been preserved in the new version.
  • Mouse Interaction
    Button Action
    Left rotate object
    Center zoom control
    Right translate object

You must to post a comment.
Last Modified
10:07, 2 Oct 2013

Page Rating

Was this article helpful?

Tags

This page has no custom tags.

Creative Commons License UC Davis ChemWiki is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License. Permissions beyond the scope of this license may be available at copyright@ucdavis.edu. Questions and concerns can be directed toward Prof. Delmar Larsen (dlarsen@ucdavis.edu), Founder and Director. Terms of Use

By STEMWiki Hyperlibrary