java/116841: cannot build java/jdk16 by using java/linux-sun-jdk16

java/116841: cannot build java/jdk16 by using java/linux-sun-jdk16

Post by yire » Thu, 04 Oct 2007 05:15:24



FreeBSD ns.mydomain 6.2-STABLE FreeBSD 6.2-STABLE #10: Sat Sep 29 15:30:43 CST 2007 XXXX@XXXXX.COM :/usr/obj/usr/src/sys/MYKERNEL i386

Using java/diablo-jdk15 to build java/jdk16 works fine.
But I'd like to try using java/linux-sun-jdk16 to build java/jdk16.

I have already removed javavmwrapper, jdk16, and diablo-jdk15.
After linux-sun-jdk16 installed, 'portupgrade -m "-DWITH_LINUX_BOOTSTRAP" -N /usr/ports/java/jdk16'.

====
gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product'
cd bsd_i486_compiler2/product && ./test_gamma
There was an error trying to initialize the HPI library.
Could not create the Java virtual machine.
gmake[3]: *** [product] Error 1
gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir'
gmake[2]: *** [generic_build2] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make'
gmake: *** [hotspot-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.24310.0 env make -DWITH_LINUX_BOOTSTRAP
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! java/jdk16 (unknown build error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

1. install java/linux-sun-jdk16
2. install java/jdk16 (-DWITH_LINUX_BOOTSTRAP)



_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

1. ports/116841: cannot build java/jdk16 by using java/linux-sun-jdk16

2. ports/116082: java/linux-sun-jdk16 jconsole is unable to connect to a local process

The following reply was made to PR ports/116082; it has been noted by GNATS.

From: Jochen Keil < XXXX@XXXXX.COM >
To: XXXX@XXXXX.COM , XXXX@XXXXX.COM
Cc:
Subject: Re: ports/116082: java/linux-sun-jdk16 jconsole is unable to connect
to a local process
Date: Thu, 22 Jul 2010 21:24:24 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

even though the original report is some 3 years old now i'd like to
remark that i had the same problem. I figured that the problem is that
the "management agent" was not started (so said the error message). So
after some googling i found out that i need to specify

com.sun.management.jmxremote

as VM argument.
This means that you need to start your java app like this:

java -Dcom.sun.management.jmxremote foo.MyBarClass

Using this jconsole works like a charm. Hope this helps!

Best regards,

Jochen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://www.yqcomputer.com/

iEYEARECAAYFAkxImugACgkQtVwvsA+W4CAMcgCfQwuvSwjrXN9GP+Y4sFcdFhx8
ZdoAnAgNJ43xqjPDQjUT5B18YwYfAlR/
=x9II
-----END PGP SIGNATURE-----
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "

3. java/119397: java/jdk16: Wrong locales with patchset 3

4. java/140002: java/diablo-jdk16: jconsole dumps tomcat when contacting jmxrmi service

5. java/151074: [PATCH] upgrade java/jdk16-doc to the latest patchset

6. java/155107: [patch] port java/diablo-jdk16 small cosmetic fix for pkg-plist

7. ports/121420: java/jdk16: Java applet fails to find class under firefox

8. strange java/jdk16 build error while building over tmpfs

9. java/jdk16 tinderbox build was broken on recent 9-CURRENT

10. java/jdk16 fails to build on -CURRENT

11. java/118143: jdk16 build faild on RELENG_7

12. java/openjdk7 port always wants diablo-jdk16 to build

13. summary no nullfs or no procfs [ Building java/jdk16 and jdk15

14. ports/138581: java/diablo-jdk16: java/eclipse 3.4.2 crashes with SIGSEGV when compiling DataTreeNode.forwardDeltaWith on diablo-jdk16

15. Help with Java - Sun Java runtime no Java VM