You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by PGNet08 <pg...@gmail.com> on 2008/10/03 18:16:36 UTC

jsvc not detecting 'client' VM.

i've installed sun java 16 sdk,

	rpm -qa | grep java (y|n|e|a)? yes
		java-1_6_0-sun-devel-1.6.0.u7-1.1
		java-1_6_0-sun-1.6.0.u7-1.1

set JAVA_HOME,

	echo $JAVA_HOME
		/usr/lib64/jvm/java-1.6.0-sun

I've co'd commons-daemon/trunk, r701402, then,

	sh support/buildconf.sh
	./configure
		*** Current host ***
		checking build system type... x86_64-unknown-linux-gnu
		...
		*** Java compilation tools ***
		checking for sablevm... NONE
		checking for kaffe... NONE
		checking for javac... /usr/lib64/jvm/java-1.6.0-sun/bin/javac
		/usr/lib64/jvm/java-1.6.0-sun/bin/javac
		checking wether the Java compiler
(/usr/lib64/jvm/java-1.6.0-sun/bin/javac) works... yes
		checking for jar... /usr/lib64/jvm/java-1.6.0-sun/bin/jar
		...
		*** All done ***
		Now you can issue "make"
	make

builds,

	ls -al jsvc
		-rwxr-xr-x 1 root root 117043 2008-10-03 08:44 jsvc

checking,

	./jsvc --help
		Usage: jsvc [-options] class [args...]
		
		Where options include:
		
			-jvm <JVM name>
				use a specific Java Virtual Machine. Available JVMs:
					'server'
		...

I see only 'server' VM detected/available.

Reading @,

	http://commons.apache.org/daemon/jsvc.html

I expected to see both the client & server VMs detected,

    -jvm <JVM name>
        use a specific Java Virtual Machine. Available JVMs:
            'client' 'server'


Other apps on my sys are clearly/successfully using "-client",

 /usr/lib64/jvm/java-1.6.0-sun-1.6.0.u7/jre/bin/java -client -Xms8m ...

I've likely missed an obvious jsvc config/build step,or, perhaps java
config/install.  Any hints as to what?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org