java 15

vjordana at t-online.de vjordana at t-online.de
Sat Mar 5 20:59:58 GMT 2005


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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at 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 at caladan.jelpke.de:/usr/obj/usr/src/sys/CALADAN530  i386


More information about the freebsd-amd64 mailing list