Hi Andrew, On Fri, Dec 21, 2007 at 04:01:33PM -0800, Andrew Myers wrote: > Hi All, > > I'm trying to install tomcat on opensolaris (b78) but I can't find where to > set the JAVA_HOME variable. > > I've tried: > > .profile > local.profile > /etc/default/login > > and none of them seem to take effect. > > Any suggestions?
Try: /etc/profile if you're looking to have JAVA_HOME defined for all users of your system. However, if you're running tomcat only under a single user, perhaps "tomcat", you may not want to define it globally. If tomcat's shell is ksh, you would modify .profile in its home directory, something like: export JAVA_HOME=/usr/jdk1.6 or for bash, the .bashrc (non-login shell) and .bash_profile (login shell) are used. _______________________________________________ opensolaris-help mailing list [email protected]
