Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

OpenJDK & Cacao & GCJ & Java defaults in unstable

 
   Soft32 Home -> Linux -> Java RSS
Next:  Accepted ocaml-res 3.1.1-1 (source amd64)  
Author Message
Matthias Klose

External


Since: Nov 17, 2003
Posts: 120



(Msg. 1) Posted: Sun Mar 15, 2009 7:20 pm
Post subject: OpenJDK & Cacao & GCJ & Java defaults in unstable
Archived from groups: linux>debian>maint>java (more info?)

Hi,

openjdk-6 in unstable is updated to the 6b14 code drop, built from a recent
IcedTea snapshot. There are a few regressions in the ports which don't use the
hotspot VM, but the Zero VM. Help from porters would be appreciated.

There are two new binary packages offering additional JVMs:

- openjdk-6-jre-zero: built on amd64 and i386. This is the JVM used by
default on the non-hotspot archs (armel, alpha, s390, mips, mipsel,
powerpc, m68k?). Maybe useful for debugging issues with the zero JVM on
archs which are more accessible.

- icedtea-6-jre-cacao: built on alpha, armel, mips, mipsel, s390, i386,
amd64, powerpc). The Cacao JVM and JIT is not yet feature complete
compared to the hotspot JVM, but is much faster than the Zero JVM
and offers an alternative on platforms which don't have the Hotspot
JVM.

The additional JVM's can be called with

java [-cacao|-zero]

or for the java tools with

<tool name> [-J-cacao|-J-zero]

This is currently a Debian/Ubuntu only option; integration into IcedTea is in
progress.

To make a JVM the default, make it the first one in /etc/java-6-openjdk/jvm.cfg.

GCJ is still the work horse to build and bootstrap OpenJDK. IMO it still does
make sense to keep the '-gcj' packages for software which is known to work with
GCJ. I plan to have a recent GCJ-4.x release for the next Debian release.

Once openjdk-6 moves to testing, I propose to change the default in the
default-{jre,jdk} packages to point to the openjdk-6 packages. This works well,
except for one thing: packages will be built with -source 1.6 by default, which
makes the resulting .class/.jar files unusable with older java versions (1.4 and
1.5). I would like to propose a change in the Debian java policy, that java
packages must be built for the version which is sufficient for a sucessful
build. The changes are trivial; I already did check in changes for ant and ant
build- and runtime dependencies into the debian-java svn.

There is currently work-in-progress to extend the Zero JVM with a JIT (called
shark). This is still experimental work, currently requires llvm-2.4 (unstable
has 2.5). I would welcome feedback from port maintainers about zero/shark.
Please consider to join the IcedTea mailing list.

Matthias

PS: I would appreciate some help with openjdk in Debian; the current maintainer
team is MIA or inactive.


--
To UNSUBSCRIBE, email to debian-java-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Memory problems with gij-4.1 and glibc 2.6 - I have recently had problems building Java packages. The build would just eat memory, and occasionally show things like...

[gentoo-dev] use flags in both use.defaults and make.defau.. - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, since there has been a lot of discussion lately about default use....

[gentoo-user] Java java java, I miss my java - It's been about 9 months now that Java 1.5 has been an official release from Sun and I see no ebuilds, masked or not. ....

[gentoo-user] What is the new!shiny! way of changing the j.. - Hi, I'm a JAVA programmer & use gentoo linux to test my apps against as many JDK versions as I can :-). With java-c...

[gentoo-user] Java IDE's, (problems with) executing java ... - I'm having problems executing java .class files. It'll compile just fine but when execution comes about the following....

[gentoo-user] New java-config package with no java install.. - I've just tried to update world and this package has come up: ====================================== [ebuild N ]..
       Soft32 Home -> Linux -> Java All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]