build fail for java -client

Asked by Avin

checking which variants of the JVM to build... client
configure: error: You cannot build a client JVM for a 64-bit machine.
configure exiting with result code 1
make: *** [stamps/configure] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed

Question information

English Edit question
Ubuntu openjdk-8 Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :

You might try asking such questions in an openjdk forum.

What you get seems to be caused by the original openjdk source

On and lines 120ff I see

87 # Currently we have:
88 # server: normal interpreter and a tiered C1/C2 compiler
89 # client: normal interpreter and C1 (no C2 compiler) (only 32-bit platforms)
120 if test "x$JVM_VARIANT_CLIENT" = xtrue; then
121 if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
122 AC_MSG_ERROR([You cannot build a client JVM for a 64-bit machine.])
123 fi
124 fi

In my opinion this has nothing to do with Ubuntu, but is related to the openjdk source.

Revision history for this message
Avin (avinashub211) said :

Thanks Manfred Hampl, that solved my question.