I should add if I go to : /usr/sadm/lib/smc/bin
and ./smc & I get the following: # ./smc[11]: /lib/functions: not found Thanks David On Thu, Mar 19, 2009 at 11:26 AM, David Hamilton <[email protected]> wrote: > Jozef, > > # which java > /usr/bin/java > # echo $PATH > /usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb:/usr/bin/java > > ./smc & > 1856 > # No suitable Java runtime found in any of the following directories: > /usr/java /usr/java /usr > Please set the JAVA_HOME environment variable to point to a Java 2 > installation and run /usr/sadm/lib/smc/bin/smc again. > > Thanks very much, > > David > > > On Thu, Mar 19, 2009 at 10:56 AM, Jozef Babjak <[email protected]>wrote: > >> What is your PATH and what 'which java' says? >> >> J. >> >> >> On Thu, Mar 19, 2009 at 15:28, David Hamilton <[email protected]> wrote: >> > Hello All, >> > >> > >> > Recently a Solaris 10 x86 server was built. When I try to start smc I >> > receive the following error. >> > >> > # No suitable Java runtime found in any of the following directories: >> > /usr/java /usr/java /usr >> > Please set the JAVA_HOME environment variable to point to a Java 2 >> > installation and run /usr/sadm/lib/smc/bin/smc again. >> > >> > I reinstalled java. >> > >> > # java -version >> > java version "1.6.0_12" >> > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) >> > Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode) >> > >> > Additionally: >> > >> > lrwxrwxrwx 1 root other 7 Mar 16 13:12 j2sdk1.4.2_18 -> >> > ../j2se >> > drwxr-xr-x 8 root bin 512 Mar 16 13:21 packages >> > lrwxrwxrwx 1 root other 18 Mar 16 14:32 jdk1.5.0_17 -> >> > instances/jdk1.5.0 >> > drwxr-xr-x 17 root bin 1024 Mar 18 10:49 instances >> > lrwxrwxrwx 1 root other 18 Mar 18 10:49 jdk1.6.0_12 -> >> > instances/jdk1.6.0 >> > lrwxrwxrwx 1 root other 11 Mar 18 10:49 latest -> >> jdk1.6.0_12 >> > >> > Any thoughts on this? >> > >> > Thanks, >> > David >> > _______________________________________________ >> > Solaris-Users mailing list >> > [email protected] >> > http://www.filibeto.org/mailman/listinfo/solaris-users >> > >> _______________________________________________ >> Solaris-Users mailing list >> [email protected] >> http://www.filibeto.org/mailman/listinfo/solaris-users >> > > _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
