Do setenv JAVA_HOME=/usr/bin/java; export JAVA_HOME in the your/root's profile. It's not finding /usr/bin/java for the smc install because JAVA_HOME isn't configured.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Hamilton Sent: Thursday, March 19, 2009 10:27 AM To: Solaris-Users mailing list Subject: Re: [Solaris-Users] Fresh Solaris 10 x86 Install SMC 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 _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
