(redirecting to USERS)
You seem to have some older versions of Java installed
(maybe a classpath issue).
try using the -console flag:
% java -jar glassfish-installer-v2-b33.jar -console
-Alexis
Chau Nguyen wrote:
> Hi,
>
> I tried to install this GF version on my ubuntu system but not able to.
> Here are the steps I did:
> . Install JDK 1.5.0_11 (this is the latest out there on java.sun.com)
> . download GF v2 b33 jar file & size = 60206662B
> . $JDK1.5.0_11HOME/bin/java -Xmx256m -jar glassfish-installer-v2-b33.jar
> Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
> gnu.java.awt.peer.gtk.GtkToolkit
> at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
> at java.awt.Font.tk(libgcj.so.70)
> at java.awt.Font.getPeerFromToolkit(libgcj.so.70)
> at java.awt.Font.<init>(libgcj.so.70)
> at javax.swing.plaf.FontUIResource.<init>(libgcj.so.70)
> at javax.swing.plaf.metal.DefaultMetalTheme.<clinit>(libgcj.so.70)
> at java.lang.Class.initializeClass(libgcj.so.70)
> at java.lang.Class.initializeClass(libgcj.so.70)
> at
> javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(libgcj.so.70)
> at javax.swing.plaf.metal.MetalLookAndFeel.<init>(libgcj.so.70)
> at javax.swing.UIManager.<clinit>(libgcj.so.70)
> at java.lang.Class.initializeClass(libgcj.so.70)
> at com.sun.tools.xjc.installer.Main.setUILookAndFeel(Main.java:83)
> at com.sun.tools.xjc.installer.Main.main(Main.java:50)
> Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so:
> cannot open shared object file: No such file or directory
> at java.lang.Runtime._load(libgcj.so.70)
> at java.lang.Runtime.loadLibrary(libgcj.so.70)
> at java.lang.System.loadLibrary(libgcj.so.70)
> at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.70)
> at java.lang.Class.initializeClass(libgcj.so.70)
> at java.lang.Class.forName(libgcj.so.70)
> at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
> ...13 more
>
> Did I miss anything?
>
> Chau
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: feedback-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: feedback-help_at_glassfish.dev.java.net
>
--
Alexis Moussine-Pouchkine - Java Middleware Evangelism Team
http://blogs.sun.com/alexismp