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

MindTouch
Copyright (c) 2006-2014 MindTouch Inc.
http://mindtouch.com

This file and accompanying files are licensed under the MindTouch Master Subscription Agreement (MSA).

At any time, you shall not, directly or indirectly: (i) sublicense, resell, rent, lease, distribute, market, commercialize or otherwise transfer rights or usage to: (a) the Software, (b) any modified version or derivative work of the Software created by you or for you, or (c) MindTouch Open Source (which includes all non-supported versions of MindTouch-developed software), for any purpose including timesharing or service bureau purposes; (ii) remove or alter any copyright, trademark or proprietary notice in the Software; (iii) transfer, use or export the Software in violation of any applicable laws or regulations of any government or governmental agency; (iv) use or run on any of your hardware, or have deployed for use, any production version of MindTouch Open Source; (v) use any of the Support Services, Error corrections, Updates or Upgrades, for the MindTouch Open Source software or for any Server for which Support Services are not then purchased as provided hereunder; or (vi) reverse engineer, decompile or modify any encrypted or encoded portion of the Software.

A complete copy of the MSA is available at http://www.mindtouch.com/msa

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

Tags

This page has no custom tags.

Classifications

(not set)
(not set)

Creative Commons License Unless otherwise noted, content in the 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