If you have this problem:
Exception in thread “main” java.lang.UnsatisfiedLinkError: init_ […]
user@COMPUTER:~$/home/MIOS/MIOS Studio$ java -jar MIOS*.jar
Open terminal than type:
- sudo apt-get update
- sudo apt-get install sun-java6-bin sun-java6-jre
- sudo apt-get install sun-java6-jdk
- sudo update-alternatives --config java (type 2 for kubuntu)
- sudo apt-get install sun-java6-plugin (for firefox plugin)
Now type in terminal:
java -version
it must show
java version “1.6.0”
Java SE Runtime Environment (build 1.6.0-b105)
Java HotSpot Client VM (build 1.6.0-b105, mixed mode, sharing)
than enter in the MIOS Studio dir and type
java -jar MIOS*.jar
than MIOS Studio start
if java -version instead show
java version “1.4.2”
gij (GNU libgcj) version 4.1.2 (Ubuntu 4.1.2-0ubuntu5)
Copyright © 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
or if typing java -jar MIOS*.jar you see
The program ‘java’ can be found in the following packages:
* cacao
* j2re1.4
* kaffe
* jamvm
* java-gcj-compat
* gij-4.1
* gij-4.2
* sablevm
Try: sudo apt-get install <selected package>
bash: java: command not found
than type
sudo update-java-alternatives --set java-6-sun
now go to MIOS Studio dir and type again
java -jar MIOS*.jar
than MIOS Studio start