SREE Linux installation and java setup
From PTAGISWiki
Installing SREE on a Linux machine for development purposes isn't quite as well-supported as installing on Windows.
The SREE environment is also prone to Java-related failures, if for instance, java is upgraded on the Linux machine.
Here are the things to check if Designer or EnterpriseManager won't start under Linux.
Which JAVA_HOME?
When SREE asks for JAVA_HOME to be set, it should be two directories above the chosen Java executable. That will allow a command like this to work:
$JAVA_HOME/bin/java yada yada yada
I had to manually set JAVA_HOME in em.sh (the launching script for EnterpriseManager). Like this:
JAVA_HOME=/etc/alternatives/java_sdk
Designer
The designer app is launched by a java wrapper that is configured by a file called designer.lax. I had to modify that file to correct the setting of the lax.nl.current.vm property like this:
# LAX.NL.CURRENT.VM # ----------------- # the VM to use for the next launch #lax.nl.current.vm=/etc/alternatives/jre_1.6.0/bin/java_vm lax.nl.current.vm=/etc/alternatives/jre_1.6.0/bin/java
Evidently it is important to point to the java and not the java_vm.
