OpenJDK Cacao GCJ Java defaults in unstable
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-amd64-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: bsh-gcj package breaks Iceweasel javascript functionality.
Hi Ananda, After debugging with iceweasel-dbg, I found the the following message given a few times during the times that the process hung: *** NSPlugin Wrapper *** ERROR: NPP_New() invoke: Message timeout and, the same problem was occurring with iceape and epiphany web browser. I see that nspluginwrapper debian pkg in Lenny was upgraded to 0.9.91.5-1 from 0.9.91.4-4. According to the nspluginwrapper web site, this new version was released Aug 26, 2007) includes new support for 64-bit plugins, and support for broken 64-bit Konqueror. Perhaps the problem is in one of these 64 bit related upgrades, because after downgrading to 0.9.91.4-4, my plugins are working again no problem. I will attempt to notify the package maintainers for nspluginwrapper or file a bug for it or something. Cheers, -S -- View this message in context: http://www.nabble.com/bsh-gcj-package-breaks-Iceweasel-javascript-functionality.-tf4446218.html#a13226571 Sent from the debian-amd64 mailing list archive at Nabble.com. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bsh-gcj package breaks Iceweasel javascript functionality.
Unfortunately, the problem has resurfaced with iceweasel. I purged anything with gcj in the name, including all of openoffice.org, and still no luck. I will try to build iceweasel from the source package and see if I can't debug it. -Steve levis501 wrote: Hi Ananda, I believe you should log this as a iceweasel bug, and here's why. I had the same problem and I came across this note. I removed the bsh-gcj packages, yet the problem still persisted. When I went back to aptitude I noticed that there were still config files lingering, so I did a purge of the bsh-gcj package and then iceweasel was able to process javascript without delay. Regards, Steve Ananda Samaddar-2 wrote: Hello all, I found that Iceweasel was consistently freezing when trying to run Javascript if the the package bsh-gcj is installed. This package is a dependency of the openoffice.org-gcj package. Removing bsh-gcj fixes the problem. I am curious as to which package I should file a bug report against, bsh-gcj or Iceweasel? There are no bug reports against bsh-gcj and I can't find a relevant report in the iceweasel bts entry. I'm using Debian Testing / Lenny AMD64. I can provide any other info if required. IMPORTANT: please CC me if replying to this e-mail as I am not subscribed to either of the mailing lists I've posted this to. thanks, Ananda Samaddar. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/bsh-gcj-package-breaks-Iceweasel-javascript-functionality.-tf4446218.html#a13143617 Sent from the debian-amd64 mailing list archive at Nabble.com. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bsh-gcj package breaks Iceweasel javascript functionality.
Hi Ananda, I believe you should log this as a iceweasel bug, and here's why. I had the same problem and I came across this note. I removed the bsh-gcj packages, yet the problem still persisted. When I went back to aptitude I noticed that there were still config files lingering, so I did a purge of the bsh-gcj package and then iceweasel was able to process javascript without delay. Regards, Steve Ananda Samaddar-2 wrote: Hello all, I found that Iceweasel was consistently freezing when trying to run Javascript if the the package bsh-gcj is installed. This package is a dependency of the openoffice.org-gcj package. Removing bsh-gcj fixes the problem. I am curious as to which package I should file a bug report against, bsh-gcj or Iceweasel? There are no bug reports against bsh-gcj and I can't find a relevant report in the iceweasel bts entry. I'm using Debian Testing / Lenny AMD64. I can provide any other info if required. IMPORTANT: please CC me if replying to this e-mail as I am not subscribed to either of the mailing lists I've posted this to. thanks, Ananda Samaddar. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/bsh-gcj-package-breaks-Iceweasel-javascript-functionality.-tf4446218.html#a13090009 Sent from the debian-amd64 mailing list archive at Nabble.com. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
bsh-gcj package breaks Iceweasel javascript functionality.
Hello all, I found that Iceweasel was consistently freezing when trying to run Javascript if the the package bsh-gcj is installed. This package is a dependency of the openoffice.org-gcj package. Removing bsh-gcj fixes the problem. I am curious as to which package I should file a bug report against, bsh-gcj or Iceweasel? There are no bug reports against bsh-gcj and I can't find a relevant report in the iceweasel bts entry. I'm using Debian Testing / Lenny AMD64. I can provide any other info if required. IMPORTANT: please CC me if replying to this e-mail as I am not subscribed to either of the mailing lists I've posted this to. thanks, Ananda Samaddar. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
build eclipse-gcj
Hi, I have installed eclipse (3.2.1) via repository. Always in repos I have found eclipse-gcj version. Is there a tutorial, guide, how-to etc. to build eclipse in native way using that packages on Debian? I have not found anything about it... Thank you very much Giulio -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gcj
Hi alexander, i don't use gcj, so i can't figure specific gcj issues, but [EMAIL PROTECTED]:/tmp/j$ strace ./Hello.exe execve(./Hello.exe, [./Hello.exe], [/* 36 vars */]) = -1 EACCES (Permission denied) this says that Hello.exe can't be executed, so check permissions on that file, or if you are on a filesystem withou the right policies. bye. -- -gaspa- --- Powered by Debian GNU/Linux and Debian GNU/Hurd -- HomePage: iogaspa.altervista.org --- -Il lunedi'dell'arrampicatore: www.lunedi.org - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gcj
On Fri, Oct 27, 2006 at 08:41:01AM +0200, Andrea Gasparini wrote: Hi alexander, i don't use gcj, so i can't figure specific gcj issues, but [EMAIL PROTECTED]:/tmp/j$ strace ./Hello.exe execve(./Hello.exe, [./Hello.exe], [/* 36 vars */]) = -1 EACCES (Permission denied) this says that Hello.exe can't be executed, so check permissions on that file, or if you are on a filesystem withou the right policies. Oh bugger I checked with ls -l, but I forgot I was doing this on /tmp which I have loaded with noexec. Silly silly silly me Thanks bye. -- -gaspa- --- Powered by Debian GNU/Linux and Debian GNU/Hurd -- HomePage: iogaspa.altervista.org --- -Il lunedi'dell'arrampicatore: www.lunedi.org - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: gcj
On Fri, Oct 27, 2006 at 03:05:16PM +1000, Alexander Samad wrote: gcj -v --main=Hello -o Hello.exe Hello.java [EMAIL PROTECTED]:/tmp/j$ ./Hello.exe bash: ./Hello.exe: Permission denied .exe? Do you think this is windows? :) At least you found your permissions problem. -- Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gcj
On Fri, 2006-10-27 at 11:17 -0400, Lennart Sorensen wrote: On Fri, Oct 27, 2006 at 03:05:16PM +1000, Alexander Samad wrote: gcj -v --main=Hello -o Hello.exe Hello.java [EMAIL PROTECTED]:/tmp/j$ ./Hello.exe bash: ./Hello.exe: Permission denied .exe? Do you think this is windows? :) [EMAIL PROTECTED]:~$ apt-file search -x \.exe$ | wc -l 214 Nothin' wrong with .exe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: java sun and gcj problem
Probably eclipse installs uses gcj and not java-sun. It is using gcj as a VM at least, see the libgcj in your error above. How can I come back to old situation (using java sun)? with 'update-alternatives' I got: # update-alternatives --config javac There is only 1 program which provides javac (/usr/lib/j2sdk1.5-sun/bin/javac). Nothing to configure. And what does # update-alternatives --config java say? Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], You got your compiler right (Sun) probably, but the runtime is surely the gcj one. Hi Edwin, # update-alternatives --config java There are 3 alternatives which provide `java'. SelectionAlternative --- 1/usr/lib/j2sdk1.5-sun/bin/java 2/usr/bin/gij-wrapper-4.0 *+3/usr/lib/jvm/java-gcj/bin/java Press enter to keep the default[*], or type selection number: 1 Using `/usr/lib/j2sdk1.5-sun/bin/java' to provide `java'. I have selected first argument and now it works:) Thank you very much, Giulio