Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-java/icedtea vs jdk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Fri Sep 02, 2011 8:43 am    Post subject: dev-java/icedtea vs jdk Reply with quote

Hello All,

with the new Oracle decision which prompt reinstating the fetch flag, I'm back on thinking about reusing dev-java/icedtea, I've tried that before a long time ago and found out that it was missing features especially in the 3d section.

can anyone share what is the current status of the support?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Gabriel_Blake
Guru
Guru


Joined: 16 Sep 2007
Posts: 362

PostPosted: Sat Sep 03, 2011 10:01 pm    Post subject: Reply with quote

well... I'm using icedtea, because Minecraft didn't work on jdk :D so much for 3D :D

all other apps work great on icedtea
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Sun Sep 04, 2011 4:35 am    Post subject: Reply with quote

Gabriel_Blake wrote:
well... I'm using icedtea, because Minecraft didn't work on jdk :D so much for 3D :D

all other apps work great on icedtea


ha! funny :)
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Sun Sep 04, 2011 9:14 am    Post subject: Re: dev-java/icedtea vs jdk Reply with quote

DaggyStyle wrote:
Hello All,

with the new Oracle decision which prompt reinstating the fetch flag, I'm back on thinking about reusing dev-java/icedtea, I've tried that before a long time ago and found out that it was missing features especially in the 3d section.

can anyone share what is the current status of the support?


Yesterday i got rid of sun-java by the same reasons, everything is ok so far. Here is what i did:

1. emerge dev-java/icedtea-web dev-java/icedtea6-bin
2.eselect java-vm, eselect java-nsplugin
3.emerge -C dev-java/sun-jdk
4.and just in case emerge -1 virtual/jdk, revdep-rebuild
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2280
Location: Adendorf, Germany

PostPosted: Fri Sep 16, 2011 10:52 am    Post subject: Reply with quote

Just tried it. IcedTea won't build with Kernel 3+. :-(
icedtea-7.1.14 wrote:
*** This OS is not supported: Linux sed-notebook 3.0.4-gentoo
...*aaaw*...
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
muni
n00b
n00b


Joined: 30 Apr 2009
Posts: 11

PostPosted: Fri Sep 16, 2011 12:43 pm    Post subject: Reply with quote

It built for me with vanilla 3.0.3 kernel:
Code:
[I] dev-java/icedtea
     Available versions:  (6) (~)6.1.10.2!t (~)6.1.10.3!t
   {cacao debug doc elibc_FreeBSD examples +hs20 jamvm javascript nio2 +nsplugin +nss pulseaudio systemtap +webstart +xrender zero}
     Installed versions:  6.1.10.3(6)!t(00:50:35 10.09.2011)(doc hs20 nsplugin nss webstart xrender -cacao -debug -elibc_FreeBSD -examples -jamvm -javascript -nio2 -pulseaudio -systemtap -zero)

This bug may be helpful if you are trying to build icedtea7.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Fri Sep 16, 2011 3:52 pm    Post subject: Reply with quote

muni wrote:
It built for me with vanilla 3.0.3 kernel:
Code:
[I] dev-java/icedtea
     Available versions:  (6) (~)6.1.10.2!t (~)6.1.10.3!t
   {cacao debug doc elibc_FreeBSD examples +hs20 jamvm javascript nio2 +nsplugin +nss pulseaudio systemtap +webstart +xrender zero}
     Installed versions:  6.1.10.3(6)!t(00:50:35 10.09.2011)(doc hs20 nsplugin nss webstart xrender -cacao -debug -elibc_FreeBSD -examples -jamvm -javascript -nio2 -pulseaudio -systemtap -zero)

This bug may be helpful if you are trying to build icedtea7.


notice his version of icedtea...
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
muni
n00b
n00b


Joined: 30 Apr 2009
Posts: 11

PostPosted: Fri Sep 16, 2011 5:20 pm    Post subject: Reply with quote

Oh, OK. Never mind it then, sorry!
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Sun Sep 18, 2011 10:06 am    Post subject: Icedtea / OpenJDK Reply with quote

Well, from the only Java applet I'm usually using Icedtea7 gives me
Code:
charles17@gentoobox ~ $ firefox
java version "1.7.0_136-icedtea"
OpenJDK Runtime Environment (IcedTea7 1.14) (Gentoo build 1.7.0_136-icedtea-b136)
OpenJDK 64-Bit Server VM (build 21.0-b07, mixed mode)
AWT blocker activation interrupted:
java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:504)
        at sun.awt.AWTAutoShutdown.activateBlockerThread(AWTAutoShutdown.java:337)
        at sun.awt.AWTAutoShutdown.notifyPeerMapUpdated(AWTAutoShutdown.java:215)
        at sun.awt.AWTAutoShutdown.registerPeer(AWTAutoShutdown.java:348)
        at sun.awt.SunToolkit.targetCreatedPeer(SunToolkit.java:375)
        at sun.awt.X11.XToolkit.createEmbeddedFrame(XToolkit.java:1112)
        at sun.awt.X11.XEmbeddedFrame.addNotify(XEmbeddedFrame.java:67)
        at sun.awt.X11.XEmbeddedFrame.<init>(XEmbeddedFrame.java:56)
        at sun.awt.X11.XEmbeddedFrame.<init>(XEmbeddedFrame.java:73)
        at sun.applet.PluginAppletViewer.<init>(PluginAppletViewer.java:345)
        at sun.applet.PluginAppletViewer.framePanel(PluginAppletViewer.java:323)
        at sun.applet.PluginAppletPanelFactory.createPanel(PluginAppletViewer.java:140)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1886)
        at sun.applet.PluginAppletViewer$6.run(PluginAppletViewer.java:1810)
        at sun.applet.PluginAppletViewer$6.run(PluginAppletViewer.java:1808)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1808)
        at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:475)
        at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:232)
        at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:78)
JAR https://www.elsteronline.de/eportal/applet/ElsterAppletAnalyze.jar not found. Continuing.
JAR https://www.elsteronline.de/eportal/applet/webappletshared.jar not found. Continuing.
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.
        at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:728)
        at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:672)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:884)
Caused by: java.lang.ClassNotFoundException: de.elster.portal.appletgui.analyze.ElsterAppletAnalyze
        at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1084)
        at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:712)
        ... 2 more
Caused by:
java.lang.ClassNotFoundException: de.elster.portal.appletgui.analyze.ElsterAppletAnalyze
        at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1084)
        at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:712)
        at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:672)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:884)
java.lang.NullPointerException
        at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:109)
        at sun.applet.AppletPanel.run(AppletPanel.java:379)
        at net.sourceforge.jnlp.NetxPanel.run(NetxPanel.java:69)
        at java.lang.Thread.run(Thread.java:722)
java.lang.NullPointerException
        at sun.applet.AppletPanel.run(AppletPanel.java:429)
        at net.sourceforge.jnlp.NetxPanel.run(NetxPanel.java:69)
        at java.lang.Thread.run(Thread.java:722)
Error: Unable to fetch applet instance id from Java side.
And, Icedtea6 doesn't do it any better.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Tue Sep 20, 2011 2:42 am    Post subject: Re: dev-java/icedtea vs jdk Reply with quote

DaggyStyle wrote:
Hello All,

with the new Oracle decision which prompt reinstating the fetch flag, I'm back on thinking about reusing dev-java/icedtea, I've tried that before a long time ago and found out that it was missing features especially in the 3d section.

can anyone share what is the current status of the support?


The following two bugs need to be fixed to patch a security bug that is several years old:

https://bugs.gentoo.org/show_bug.cgi?id=143019
https://bugs.gentoo.org/show_bug.cgi?id=170305

If you are okay with using software that has known security vulnerabilities, feel free to install jogl from the java-overlay overlay.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Tue Sep 20, 2011 4:56 am    Post subject: Re: dev-java/icedtea vs jdk Reply with quote

Shining Arcanine wrote:
DaggyStyle wrote:
Hello All,

with the new Oracle decision which prompt reinstating the fetch flag, I'm back on thinking about reusing dev-java/icedtea, I've tried that before a long time ago and found out that it was missing features especially in the 3d section.

can anyone share what is the current status of the support?


The following two bugs need to be fixed to patch a security bug that is several years old:

https://bugs.gentoo.org/show_bug.cgi?id=143019
https://bugs.gentoo.org/show_bug.cgi?id=170305

If you are okay with using software that has known security vulnerabilities, feel free to install jogl from the java-overlay overlay.


can you elaborate more about the security vulnerabilities in portage's icedtea?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Wed Sep 21, 2011 11:17 pm    Post subject: Re: dev-java/icedtea vs jdk Reply with quote

DaggyStyle wrote:
Shining Arcanine wrote:
DaggyStyle wrote:
Hello All,

with the new Oracle decision which prompt reinstating the fetch flag, I'm back on thinking about reusing dev-java/icedtea, I've tried that before a long time ago and found out that it was missing features especially in the 3d section.

can anyone share what is the current status of the support?


The following two bugs need to be fixed to patch a security bug that is several years old:

https://bugs.gentoo.org/show_bug.cgi?id=143019
https://bugs.gentoo.org/show_bug.cgi?id=170305

If you are okay with using software that has known security vulnerabilities, feel free to install jogl from the java-overlay overlay.


can you elaborate more about the security vulnerabilities in portage's icedtea?


I was talking about a security vulnerability in JOGL, which is what gives Java programs access to OpenGL. I never said anything about any security vulnerabilities in IcedTea itself.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1759
Location: PB, Germany

PostPosted: Wed Jun 05, 2013 9:17 am    Post subject: Reply with quote

As of today which one is preferred on a recent amd64 when it comes to speed? Most projects work with both, most project maintainers recommend using the SUN JRE.
On PPC I was comparing once icedtea to IBM JRE, there icedtea was even faster when using the Shark JIT, but those useflags disappeared. Today icedtea reports:
Code:
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
What kind of JIT is that today?
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Wed Jun 05, 2013 11:59 am    Post subject: Reply with quote

I'm using currently openjdk on 64 bit, haven't found any issues till now.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Jun 05, 2013 12:05 pm    Post subject: Reply with quote

From the use flag descriptions it sounds like icedtea uses HotSpot by default on amd64 unless you enable a different one.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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