Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
73user

Can not launch bot on Linux

10 posts in this topic

Hello, I'm trying to setup an Ubuntu 16 VPS, but I can not get the bot to start.

The java version should be the correct oracle version, with java -version returning:

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

 

But like I said, when I try to open Tribot_loader.jar nothing happens at all. Can anyone point me in the right direction?

Share this post


Link to post
Share on other sites
1 hour ago, donders said:

I follow this guide when installing Java on Ubuntu: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04

After that it works for me. Let me know if you need any help.

@donders Just attempted a fresh install with that guide to install Java. Same result, I click Tribot_loader.jar and nothing happens :/

Share this post


Link to post
Share on other sites

Im open to any other solutions with any othe installaitons. Just tried following the TriBot guide with centos: 

And I got the exact samer result: nothing happens when I try to open the tribot loader.. 

Share this post


Link to post
Share on other sites

Can you try this?

Open terminal

cd Downloads (where tribot loader is located)

java -jar TRiBot_Loader.jar

And paste the error here

Edited by donders

Share this post


Link to post
Share on other sites
1 minute ago, donders said:

Can you try this?

Open terminal

cd Downloads (where tribot loader is located)

java -jar TRiBot_Loader.jar

And paste the error here

@donders This is however from the most recent installation, the CentOS 6 one:

Exception in thread "main" java.lang.NoClassDefFoundError: javafx/fxml/Initializable

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:763)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)

at java.net.URLClassLoader.access$100(URLClassLoader.java:73)

at java.net.URLClassLoader$1.run(URLClassLoader.java:368)

at java.net.URLClassLoader$1.run(URLClassLoader.java:362)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:361)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at org.tribot.loader.LoaderMain.main(LoaderMain.java:65)

at org.tribot.loader.Main.main(Main.java:75)

Caused by: java.lang.ClassNotFoundException: javafx.fxml.Initializable

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

... 14 more

Share this post


Link to post
Share on other sites

Can you try Ubuntu again?

This is how I install my Ubuntu:

1. sudo apt-get update
2. sudo apt-get upgrade
3. sudo apt-get install ubuntu-desktop
4. sudo apt-get install xrdp
5. sudo apt-get install xfce4
6. echo xfce4-session >~/.xsession
7. sudo service xrdp restart

Then install Java

sudo apt-get install default-jre
sudo apt-get install default-jdk
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get -y install oracle-java8-installer
sudo update-alternatives --config java
sudo apt-get install openjdk-8-jre
sudo apt-get install openjdk-8-jdk
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

 

^^ some command probably don't make sense, but that way it always works me.

1 person likes this

Share this post


Link to post
Share on other sites

@donders

Same thing again. Nothing happens when I try to open TriBot...

Error:

Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY

at com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:68)

at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41)

at com.sun.glass.ui.Application.run(Application.java:146)

at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:257)

at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211)

at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)

at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:695)

at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)

at java.lang.Thread.run(Thread.java:745)

Share this post


Link to post
Share on other sites

I finally managed to get a VPS working, so this thread doesent need any more answers.

My solution was : 

 

However note that I tried both Debian 8 32bit and 64bit without any success. It finally worked on Debian 7 64bit. Very good guide with a smart script.

 

@donders

Also thank you donders for trying to help me troubleshoot, much appreciated! :)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.