On 02/11/2010 12:06 PM, dhk wrote:
Where's a good place to set J2EE_HOME (/opt/sun-j2ee-1.3.1/) and JAVA_HOME? Should it be in each user's profile? If I wanted to set them globally for all users should they go in /etc/profile ? Also when starting j2ee I get the following error. # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose /opt/sun-j2ee-1.3.1/bin/j2ee: line 14: /opt/sun-j2ee-1.3.1//bin/java: No such file or directory Is there another java package I need to install? /bin/java doesn't exist.
You might want to look at dev-java/java-config, which creates some important symlinks for you if/when you want to switch between java versions. Or even if you don't switch between versions.