JRE - 7.1

Asked by chock

Hi guys,
i just installed ubuntu 7.10
Currently i'm trying to install JRE as stated by the java website...
installing it in /usr/local/java
applying it to my firefox/plugins...(ln -s /user/local/java...)

but when i tried to test it out...
i get this feedback from my terminal

java.lang.UnsatisfiedLinkError: /usr/local/java/jre1.6.0_03/lib/i386/libdeploy.so: libstdc++.so.5: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.sun.deploy.config.UnixConfig.loadLibDeploy(Unknown Source)
        at com.sun.deploy.config.UnixConfig.<clinit>(Unknown Source)
        at com.sun.deploy.config.ConfigFactory.newInstance(Unknown Source)
        at com.sun.deploy.config.Config.getInstance(Unknown Source)
        at com.sun.deploy.config.Config.<clinit>(Unknown Source)
        at sun.plugin.util.PluginConfig.<init>(Unknown Source)
        at sun.plugin.util.UserProfile.<clinit>(Unknown Source)
        at sun.plugin.AppletViewer.loadPropertiesFiles(Unknown Source)
        at sun.plugin.JavaRunTime.initEnvironment(Unknown Source)
        at sun.plugin.navig.motif.Plugin.doit(Unknown Source)
        at sun.plugin.navig.motif.Plugin.start(Unknown Source)
Exception in thread "SysExecutionThead" java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.config.Config
        at com.sun.deploy.ui.DialogTemplate.deriveParent(Unknown Source)
        at com.sun.deploy.ui.DialogTemplate.<init>(Unknown Source)
        at com.sun.deploy.ui.UIFactory$3.execute(Unknown Source)
        at sun.plugin.util.PluginSysUtil$SysExecutionThread.run(Unknown Source)
Could not read ack from child process
Plugin: Java VM process has died.
Could not start JavaVM!

VM did not start up properly

I don;t know if i ln in the right directory...there's only firefox and mozilla in my usr/lib
but the weird thing is when i try to open mozilla by mozilla &
i get this feedback

root@chock-desktop:/usr/lib/mozilla# The program 'mozilla' is currently not installed. You can install it by typing:
apt-get install iceape-browser
bash: mozilla: command not found

anyone has this problem or is it unbuntu 7.1 was not installed properly?

cheers

chock

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier (olivier-lacroix) said :
#1

Hi !

You should install java using synaptic, as every other program : search for sun-java6-jre and sun-java6-plugin and install them.

See for highlights on software installation

https://help.ubuntu.com/community/InstallingSoftware

Can you help with this problem?

Provide an answer of your own, or ask chock for more information if necessary.

To post a message you must log in.