Compiling Java 1.5

Rodrigo G. Tavares de Souza rodrigo at sensorsistemas.com.br
Fri Mar 31 14:10:20 UTC 2006


I started to compile Java 1.5 some days ago, and I also got a lot of 
problems.
Then I compiled Jdk 1.4 with no problems...

When BSD is installing jdk 1.5, it ask for linux-Jdk 1.4. I think this 
is the problem,
if it was used to compile Java libraries, It won't work.

Try to compile 1.4, actually this version is  enough to run  whatever do 
u wanna

Rodrigo Souza
Sao Paulo - Brazil

Aguiar Magalhaes wrote:
> Hi list,
>
> I´ve received many good suggestions and I'm trying ...
>
> Please, see this error... What can I do ??
>
> Thanks,
>
> Aguiar
>
> - - - - - - - - - - - - -
> gmake[3]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/h
> otspot-i586/tmp/bsd_i486_compiler2/product'
> gmake[3]: Entering directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/
> hotspot-i586/tmp/bsd_i486_compiler2/product'
> /usr/local/linux-sun-jdk1.4.2/bin/javac -g -d
> ../generated/jvmtifiles /usr/ports
> /java/jdk15/work/hotspot/src/share/vm/prims/jvmtiGen.java
> Java HotSpot(TM) Client VM warning: Can't detect
> initial thread stack location
> Generating ../generated/jvmtifiles/jvmdiEnter.cpp
> /usr/local/linux-sun-jdk1.4.2/bin/java -classpath
> ../generated/jvmtifiles jvmtiG
> en -IN
> /usr/ports/java/jdk15/work/hotspot/src/share/vm/prims/jvmti.xml
> -XSL /usr
> /ports/java/jdk15/work/hotspot/src/share/vm/prims/jvmdiEnter.xsl
> -OUT ../generat
> ed/jvmtifiles/jvmdiEnter.cpp -PARAM interface jvmdi
> Java HotSpot(TM) Client VM warning: Can't detect
> initial thread stack location
> Info: jvmtiGen using
> javax.xml.transform.TransformerFactory =
> org.apache.xalan.p
> rocessor.TransformerFactoryImpl
> Generating ../generated/jvmtifiles/jvmdiEnterTrace.cpp
> /usr/local/linux-sun-jdk1.4.2/bin/java -classpath
> ../generated/jvmtifiles jvmtiG
> en -IN
> /usr/ports/java/jdk15/work/hotspot/src/share/vm/prims/jvmti.xml
> -XSL /usr
> /ports/java/jdk15/work/hotspot/src/share/vm/prims/jvmdiEnter.xsl
> -OUT ../generat
> ed/jvmtifiles/jvmdiEnterTrace.cpp -PARAM interface
> jvmdi -PARAM trace Trace
> Java HotSpot(TM) Client VM warning: Can't detect
> initial thread stack location
> Info: jvmtiGen using
> javax.xml.transform.TransformerFactory =
> org.apache.xalan.p
> rocessor.TransformerFactoryImpl
> Exception in thread "main"
> java.lang.IncompatibleClassChangeError
>         at
> org.apache.xpath.objects.NotEqualComparator.compareStrings(XNodeSet.j
> ava:984)
> gmake[3]: ***
> [../generated/jvmtifiles/jvmdiEnterTrace.cpp] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/h
> otspot-i586/tmp/bsd_i486_compiler2/product'
> gmake[2]: *** [jvmti_stuff] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/h
> otspot-i586/tmp/bsd_i486_compiler2/product'
> gmake[1]: *** [product] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/h
> otspot-i586/tmp'
> gmake: *** [product] Error 2
> *** Error code 2
>
> Stop in /usr/ports/java/jdk15.
>
>
>
>
> 		
> _______________________________________________________ 
> Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! 
> http://br.acesso.yahoo.com
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>   



More information about the freebsd-questions mailing list