You may change the Java runtime environment used by Oracle BPM Studio after
installation.
To change the Java runtime used by Oracle BPM Studio:
- Open configuration file
<ORABPM_HOME>/eclipse/eclipse.ini with a text editor.
Example contents of
eclipse.ini:
-showsplash
fuego.eclipse.studio
-vmargs
-Xms128m
-Xmx512m
-Dfuego.fstudio=true
-DprodMode=preProduction
-Dbea.home=c:\OraBPMStudioHome\..
-Djava.endorsed.dirs=""
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dfuego.studio.engine.java.options=-Dsun.lang.ClassLoader.allowArraySyntax=true
-XX:PermSize=64M
-XX:MaxPermSize=128M
-Xbootclasspath/a:/bea/OraBPMStudioHome/eclipse/jre/lib/ext/tools.jar
- Insert two lines at the top of the file: one containing the text
-vm and one containing the full path to the java
command of your Java runtime.
Example, add the following two lines:
-vm
C:\Java\JDK\1.6\bin\javaw.exe
-
Modify existing lines referring to other Java runtime environments.
Example, change
the following line:
-Xbootclasspath/a:C:\OraBPMStudioHome\eclipse\jre\lib\ext\tools.jar
to:
-Xbootclasspath/a:C:\Java\JDK\1.6\lib\ext\tools.jar
Example modified contents of
eclipse.ini:
-vm
C:\Java\JDK\1.6\bin\javaw.exe
-showsplash
fuego.eclipse.studio
-vmargs
-Xms128m
-Xmx512m
-Dfuego.fstudio=true
-DprodMode=preProduction
-Dbea.home=c:\OraBPMStudioHome\..
-Djava.endorsed.dirs=""
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dfuego.studio.engine.java.options=-Dsun.lang.ClassLoader.allowArraySyntax=true
-XX:PermSize=64M
-XX:MaxPermSize=128M
-Xbootclasspath/a:C:\Java\JDK\1.6\lib\ext\tools.jar