Ask Your Question
0

Scilab don't found libjava.so

asked 2019-02-22 11:15:18 -0500

rigbyk3 gravatar image

updated 2019-02-23 08:30:14 -0500

I use Scilab, when click it in launcher menu never starts, when run scilab in terminal show:

/usr/bin/scilab-bin: error while loading shared libraries: libjava.so: 
cannot open shared object file: No such file or directory

How to fix it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-02-25 05:12:12 -0500

Obviosly: java is missing

That lib is i.e. part of openjdk :

/usr/lib/jvm/java-9-openjdk-9.0.4.11-6.fc28.x86_64/lib/libjava.so

to run java programs you need to set some environmentvariables:

    export JRE_HOME=/usr/lib/jvm/jre
    export JAVA_HOME=/path/to/your/javaapp
    java  StartMe.MainClass

(replace StartMe.... with the app you wanne run)

the installation of openjdk should setup your pc to run java programs, but you will have to reboot/relogin your desktopsession to make it work on global.

In case of Scilab there will be a startupscript for sure, so you may need to tamper it a bit (s.a.).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-02-22 11:15:18 -0500

Seen: 131 times

Last updated: Feb 25 '19