Changing the Java Virtual Machine

You may need to change the Java Virtual Machine (JVM) for which you are developing because of operating system considerations or features that are only available with Oracle Java Virtual Machine (OJVM). For example, only OJVM supports CodeCoach, Profiling, and some debugging operations that are not supported by other JVMs. Also, debugging with OJVM may be significantly faster than debugging with other virtual machines such as HotSpot.

The advanced features in OJVM can help you reduce development time and effort. You may want to change the JVM on your development platform to test your program against the HotSpot virtual machine for better cross-platform compatibility.

To change the Java Virtual Machine:

  1. RIght-click a project in the Navigator and choose Project Properties from the context menu.

  2. Below Profiles, click Runner to display the Runner panel.

  3. In the Virtual Machine list box, select an available option. The selected JVM is used when running and debugging the project.

  4. Click Help for additional information.


Running in JDeveloper
Configuring Your Project for Running
Running a Project Using JDeveloper

 

Copyright © 1997, 2004, Oracle. All rights reserved.