|
List Info
Thread: Which java jdk to use on -CURRENT?
|
|
| Which java jdk to use on -CURRENT? |
  South Africa |
2007-10-10 07:55:18 |
Hi
I am having trouble getting a working jdk on -CURRENT. Thus
far, I have
diablo-jdk-1.5.0.07.01_7 installed, but it is dumping core
in various
circumstances - for instance when used as part of
OpenOffice, trying to
run Sun Download Manager, etc. I have tried installing the
java/jdk16
port, but got this:
Packing
/usr/ports/java/jdk16/work/control/build/bsd-i586/j2re-image
/lib/rt.jar
47602320 bytes
Exception in thread "main"
java.lang.AssertionError
at
com.sun.java.util.jar.pack.ClassReader.readRef(ClassReader.j
ava:90)
at
com.sun.java.util.jar.pack.ClassReader.readUtf8Ref(ClassRead
er.java:102)
at
com.sun.java.util.jar.pack.ClassReader.readMember(ClassReade
r.java:306)
at
com.sun.java.util.jar.pack.ClassReader.readMembers(ClassRead
er.java:300)
at
com.sun.java.util.jar.pack.ClassReader.read(ClassReader.java
:126)
at
com.sun.java.util.jar.pack.PackerImpl$DoPack.readClass(Packe
rImpl.java:490)
at
com.sun.java.util.jar.pack.PackerImpl$DoPack.run(PackerImpl.
java:464)
at
com.sun.java.util.jar.pack.PackerImpl.pack(PackerImpl.java:7
3)
at
com.sun.java.util.jar.pack.Driver.main(Driver.java:261)
gmake[3]: *** [pack-jars] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk16/work/install/make/pack'
gmake[2]: *** [pack-jre] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk16/work/install/make/pack'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory
`/usr/ports/java/jdk16/work/install/make'
gmake: *** [install-build] Error 2
*** Error code 2
Stop in /usr/ports/java/jdk16.
*** Error code 1
Stop in /usr/ports/java/jdk16.
and for the java/jdk15 port, I get this:
../../../../../src/share/classes/java/nio/Bits.java:19:
duplicate class:
Bits
class Bits { // package-private
^
../../../../../src/solaris/classes/sun/net/www/protocol/file
/Handler.java:26:
duplicate class: Handler
public class Handler extends URLStreamHandler {
^
../../../../../src/share/classes/java/lang/Class.java:10:
cannot access
java.lang.reflect.Array
bad class file:
../../../../../src/share/classes/java/lang/reflect/Array.jav
a
file does not contain class java.lang.reflect.Array
Please remove or make sure it appears in the correct
subdirectory of the
classpath.
import java.lang.reflect.Array;
^
3 errors
gmake[7]: *** [.compile.classlist] Error 1
gmake[7]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile/li
brary'
gmake[6]: *** [optimized] Error 2
gmake[6]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile/li
brary'
gmake[5]: *** [all] Error 1
gmake[5]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile'
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/sun/javac'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/java/javac'
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.
*** Error code 1
Stop in /usr/ports/java/jdk15.
I'm not sure where to turn at this point - is there a known
"good" JDK
which works with -CURRENT (on x86)?
Thanks,
Peter
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: Which java jdk to use on -CURRENT? |
  United Kingdom |
2007-10-10 08:39:58 |
Peter van Heusden wrote:
> Hi
>
> I am having trouble getting a working jdk on -CURRENT.
Thus far, I have
> diablo-jdk-1.5.0.07.01_7 installed, but it is dumping
core in various
> circumstances - for instance when used as part of
OpenOffice, trying to
> run Sun Download Manager, etc. I have tried installing
the java/jdk16
> port, but got this:
>
<snip>
>
> I'm not sure where to turn at this point - is there a
known "good" JDK
> which works with -CURRENT (on x86)?
>
I have
jdk-1.5.0.12p6,1
built from source using the diablo package as a bootstrap.
at the time i needed
CFLAGS=-O2 -fno-tree-vrp -pipe
in my make.conf, not sure if i still would though.
I have the package for it somewhere although I dont think
i'm allowed to
distribute it ;)
Vince
> Thanks,
> Peter
>
> _______________________________________________
> freebsd-current freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
> To unsubscribe, send any mail to
"freebsd-current-unsubscribe freebsd.org"
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: Which java jdk to use on -CURRENT? |
  Australia |
2007-10-10 09:45:29 |
On Wed, Oct 10, 2007 at 02:55:18PM +0200, Peter van Heusden
wrote:
> I am having trouble getting a working jdk on -CURRENT.
Thus far, I have
> diablo-jdk-1.5.0.07.01_7 installed, but it is dumping
core in various
> circumstances - for instance when used as part of
OpenOffice, trying to
> run Sun Download Manager, etc. I have tried installing
the java/jdk16
> port, but got this:
Diablo is just having some problems on -CURRENT. It seems
like 6.x
applications aren't fully compatible or some of the uses its
being put
do aren't fully compatible (e.g. you can't use Diablo with
another native
application that has its own 7.x shared libraries and expect
things to
work).
For jdk16 and jdk15 you either need -fno-tree-vrp as others
have mentioned
or you should update to a more recent -CURRENT which should
have this
turned on by default.
--
Greg Lewis Email : glewis eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
a>
Information Technology FreeBSD : glewis FreeBSD.org
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: Which java jdk to use on -CURRENT? |

|
2007-10-10 11:36:11 |
On Wednesday 10 October 2007 17:45:29 Greg Lewis wrote:
> On Wed, Oct 10, 2007 at 02:55:18PM +0200, Peter van
Heusden wrote:
> > I am having trouble getting a working jdk on
-CURRENT. Thus far, I
> > have diablo-jdk-1.5.0.07.01_7 installed, but it is
dumping core in
> > various circumstances - for instance when used as
part of OpenOffice,
> > trying to run Sun Download Manager, etc. I have
tried installing the
> > java/jdk16 port, but got this:
>
> Diablo is just having some problems on -CURRENT. It
seems like 6.x
> applications aren't fully compatible or some of the
uses its being put
> do aren't fully compatible (e.g. you can't use Diablo
with another
> native application that has its own 7.x shared
libraries and expect
> things to work).
>
> For jdk16 and jdk15 you either need -fno-tree-vrp as
others have
> mentioned or you should update to a more recent
-CURRENT which should
> have this turned on by default.
gcc-4.2.2 was released recently. Are there any tests results
against the
ports tree with this bugfix release? There are to many ports
marked as
broken with gcc-4.2.1.
--
============================================================
==========
- Best regards, Nikolay Pavlov.
<<<-----------------------------------
============================================================
==========
|
|
| Re: Which java jdk to use on -CURRENT? |
  Bulgaria |
2007-10-11 04:20:53 |
Hi Ken,
Ken Yamada wrote:
> Do you still need "-fno-tree-vrp"?
>
> I think that it is fixed sometime in the middle of
Sept., and I do not need to add it at least to compile
jdk15/16 with -current.
>
> I have a different problem with JVM, though.
>
I read somewhere that in latest -current
"-fno-tree-vrp" is set by
default, and that's the reason to be able to compile jdk
without
manually setting it.
Although I'm not 100% sure
>
> _______________________________________________
> freebsd-current freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
> To unsubscribe, send any mail to
"freebsd-current-unsubscribe freebsd.org"
>
--
Best Wishes,
Stefan Lambrev
ICQ# 24134177
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|