commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PGNet08 <pgnet.trash+comm...@gmail.com>
Subject jsvc not detecting 'client' VM.
Date Fri, 03 Oct 2008 16:16:36 GMT
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


Mime
View raw message