Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using java with firefox on Solaris

Status
Not open for further replies.

wilsona

Technical User
Jan 26, 2001
131
GB
I have created a link to java 1.4 as directed - whenever I try to access java pages firefox crashes!

Any ideas? Error message below.


root@admin4 # PLUGIN ERROR
************
Java process caught exception: java.lang.InternalError: Can't find supported visual


java.lang.InternalError: Can't find supported visual at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:1
34)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:62)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.<init>(Window.java:275)
at java.awt.Frame.<init>(Frame.java:401)
at java.awt.Frame.<init>(Frame.java:366)
at sun.plugin.AppletViewer.<clinit>(AppletViewer.java:104)
at sun.plugin.JavaRunTime.initEnvironment(JavaRunTime.java:60)
at sun.plugin.navig.motif.Plugin.doit(Plugin.java:130)
at sun.plugin.navig.motif.Plugin.start(Plugin.java:103)
Java process: caught exception from sun.plugin.navig.motif.Plugin.start
Exception in thread "main" java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:62)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.<init>(Window.java:275)
at java.awt.Frame.<init>(Frame.java:401)
at java.awt.Frame.<init>(Frame.java:366)
at sun.plugin.viewer.LifeCycleManager.destroyCachedAppletPanels(LifeCycl
eManager.java:229)
at sun.plugin.navig.motif.Plugin.onExit(Plugin.java:400)
at sun.plugin.navig.motif.Plugin.doit(Plugin.java:390)
at sun.plugin.navig.motif.Plugin.start(Plugin.java:103)
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

[1] + Done(255) firefox
root@admin4 # java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
root@admin4 # env | grep JAVA
JAVA_HOME=/usr/java1.4
root@admin4 # ls -lt /opt/firefox/plugins
total 4456
lrwxrwxrwx 1 root other 56 Feb 17 15:51 libjavaplugin_oji.so -> /usr/java1
.4/jre/plugin/sparc/ns610/libjavaplugin_oji.so
-rwxr-xr-x 1 root other 856 Feb 17 15:17 flashplayer.xpt
-rwxr-xr-x 1 root other 2242324 Feb 17 15:17 libflashplayer.so
-rwxr-xr-x 1 root root 26320 Nov 9 17:30 libnullplugin.so
root@admin4 #
 
I deleted the old version in add/remove programs first and then downloaded the latest version which is 5.0. Then go back to and test it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top