From owner-freebsd-amd64@FreeBSD.ORG Sat Mar 5 20:59:58 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2507316A4CE for ; Sat, 5 Mar 2005 20:59:58 +0000 (GMT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4003E43D55 for ; Sat, 5 Mar 2005 20:59:57 +0000 (GMT) (envelope-from vjordana@t-online.de) Received: from fwd20.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1D7gNP-0005Re-00; Sat, 05 Mar 2005 21:59:55 +0100 Received: from [192.168.1.4] (r9QOW-ZcYeZgp3vRKyHCZ28p8g1dmVDdn65XlRcU3fD5hunA4rNVkw@[217.83.130.239]) by fwd20.sul.t-online.de with esmtp id 1D7gNF-0C8crI0; Sat, 5 Mar 2005 21:59:45 +0100 Message-ID: <422A1DC0.6090601@shih.be> Date: Sat, 05 Mar 2005 21:59:44 +0100 From: vjordana@t-online.de User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041226 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Ernst W. Winter" References: <20050305072007.GA70581@lobo.homeunix.org> In-Reply-To: <20050305072007.GA70581@lobo.homeunix.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ID: r9QOW-ZcYeZgp3vRKyHCZ28p8g1dmVDdn65XlRcU3fD5hunA4rNVkw X-TOI-MSGID: b14c89de-4c8d-4db8-83f2-1dd5152ee9d6 cc: freebsd-amd64@freebsd.org Subject: Re: java 15 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2005 20:59:58 -0000 Ernst W. Winter wrote: > I have tried to compile java15 and it looked like it will make it. I > have installed the Linux compatible stuff and all and got all the > jave files and so everything was smooth untuil it broke. Here the end > part of the compiling: > -----------------------------Snip------------------------------------- > ../../../src/share/classes/sun/misc/GC.java > ../../../src/share/classes/sun/misc/Service.java > ../../../src/share/classes/sun/misc/JavaLangAccess.java > /usr/ports/java/jdk15/work/control/build/bsd-amd64/gensrc/java/lang/UNIXProcess.java > ../../../src/solaris/classes/java/io/UnixFileSystem.java > ../../../src/solaris/classes/java/util/prefs/FileSystemPreferences.java > ../../../src/solaris/classes/java/util/prefs/FileSystemPreferencesFactory.java > ../../../src/share/classes/java/lang/reflect/AccessibleObject.java > ../../../src/share/classes/java/lang/reflect/Field.java > ../../../src/share/classes/java/lang/reflect/Method.java > ../../../src/share/classes/java/lang/reflect/Constructor.java > ../../../src/share/classes/java/lang/reflect/InvocationTargetException.java > ../../../src/share/classes/java/lang/reflect/Array.java > ../../../src/share/classes/java/lang/reflect/Proxy.java > ../../../src/share/classes/sun/io/ByteToCharConverter.java > ../../../src/share/classes/sun/io/CharToByteConverter.java > ../../../src/share/classes/sun/misc/AtomicLong.java > ../../../src/share/classes/sun/misc/AtomicLongCSImpl.java > ../../../src/share/classes/sun/misc/AtomicLongLockImpl.java > ../../../src/share/classes/sun/reflect/ConstantPool.java > ../../../src/share/classes/sun/reflect/NativeConstructorAccessorImpl.java > ../../../src/share/classes/sun/reflect/NativeMethodAccessorImpl.java > ../../../src/share/classes/sun/reflect/Reflection.java ; \ > fi > execv(): Bad address > Error trying to exec /usr/local/linux-sun-jdk1.4.2/bin/javac. > Check if file exists and permissions are set correctly. > gmake[3]: *** [.compile.classlist] Error 1 > gmake[3]: Leaving directory > `/usr/ports/java/jdk15/work/j2se/make/java/java' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory > `/usr/ports/java/jdk15/work/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk15. > /usr/ports/java/jdk15 > lobo root 504--> > -----------------------------Snip------------------------------------- > > wgen I do a ls -al to the directory the file is there: > > lobo root 506-->ls -sl /usr/local/linux-sun-jdk1.4.2/bin > total 1586 > 2 -rwxr-xr-x 1 root wheel 1080 Jan 15 21:22 HtmlConverter > 66 -rwxrwxr-x 1 root wheel 66420 Jan 15 21:08 appletviewer > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:12 extcheck > 66 -rwxrwxr-x 1 root wheel 66188 Jan 15 20:58 idlj > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:00 jar > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:00 jarsigner > 64 -rwxrwxr-x 1 root wheel 64940 Jan 15 20:52 java > 2 -r-xr-xr-x 1 root wheel 1789 Jan 15 21:09 java-rmi.cgi > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 20:53 javac > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 20:53 javadoc > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 20:54 javah > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:09 javap > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:12 jdb > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 20:59 keytool > 66 -rwxrwxr-x 1 root wheel 66188 Jan 15 21:00 kinit > 66 -rwxrwxr-x 1 root wheel 66188 Jan 15 21:00 klist > 66 -rwxrwxr-x 1 root wheel 66188 Jan 15 21:00 ktab > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:10 native2ascii > 66 -rwxrwxr-x 1 root wheel 66380 Jan 15 21:11 orbd > 66 -rwxrwxr-x 1 root wheel 66420 Jan 15 21:00 policytool > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:09 rmic > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:09 rmid > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:09 rmiregistry > 66 -rwxrwxr-x 1 root wheel 66156 Jan 15 21:10 serialver > 66 -rwxrwxr-x 1 root wheel 66188 Jan 15 21:11 servertool > 66 -rwxrwxr-x 1 root wheel 66188 Jan 15 21:11 tnameserv > /usr/local/linux-sun-jdk1.4.2/bin > lobo root 507--> > -----------------------------Snip------------------------------------- > > has anyone experienced this probelm with java15? and what could be > done to fix it? > > Ernst > > -- > Ernst Winter ewinter@ewinter.org "Nec scire fas est onmnia" --Horaz > Microsoft: Where do you want to go today? > Linux: Where do you want to go tomorrow? > BSD: Are you guys coming, or what? > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > > > I had the same problem and solved it executing the last command which caused the error manually. Looks like the error comes because it's a very long command. Just put the command that comes between 'then' and 'fi' in a shell file and execute it manually in the directory work/j2sre/make/java/java (I'm not seating now in my amd64 FreeBSD computer but I think that was the directory). The compilation will go on without any problem if you resume it afterwards with a 'make build'. -- J.V. Jordan -- FreeBSD caladan.jelpke.de 5.3-RELEASE #1: Mon Nov 8 21:14:36 CET 2004 root@caladan.jelpke.de:/usr/obj/usr/src/sys/CALADAN530 i386