Jump to content

OSBot doesn't start on Linux


Recommended Posts

Posted

Hi, I used TopBot before and I want to switch to OSBot.

I can't start OSBot on my Linux machine. I am using Linux Mint Debian (LMDE) and I upgraded to the newest Oracle Java Version. If I want to execute the jar file I get this error:

admin@lmde ~/Downloads $ java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) Server VM (build 25.144-b01, mixed mode)
admin@lmde ~/Downloads $ java -jar osbot.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/Oracle_Java/jre1.8.0_144/lib/i386/libawt_xawt.so: libXrender.so.1: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1086)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at java.awt.Toolkit$3.run(Toolkit.java:1636)
	at java.awt.Toolkit$3.run(Toolkit.java:1634)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
	at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
	at javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:611)
	at org.osbot.BotApplication.iiiiIiiiiiII(vt:210)
	at org.osbot.Boot.main(ks:6)
Posted

Wine is just an emulator for Windows Files (exe). Running Java files shouldn't be a problem on Linux.

I already fixed it. There was a weird problem that I never faced before. It seemed that some libs were missing, but when I tried to install them it said that they were already installed.
Turns out I somehow got the 64bit libs, even though I needed the x86. So I installed the x86 libs and everything just works fine now.

I think this is just an Error with Linux Mint Debian. It is a very experimental Distribution.

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...