Jump to content

[Will pay for help] Jar File not executable on Ubuntu 14


McBeerson

Recommended Posts

Hey,

I went to run the jar file on my dedi however I got this message:

"Blocked: /usr/bin/java -jar

The file '/home/customer/desktop/bot.jar' is not marked as executable if this script was dowloaded or copied from an untrusted source, it may be malicious to run. For more details read about at link"

SSo I read and all I had to do was change permissions to make it executable, I did but then nothing happened after. If anyone could help me out thaat would be greatly appreciated.

 

If anyone can help me I will pay you in whatever currency you want.

 

Edited by McBeerson
Link to comment
Share on other sites

9 hours ago, nosepicker said:

try doing this:


chmod +x /home/customer/desktop/bot.jar

If that doesn't work post what you get after trying to launch osbot here

I tried this and at first it said no file or directory existed. so I moved it to /customer instead of desktop and the terminal just entered the line and didn't do anything else. The .jar still wont open

Link to comment
Share on other sites

15 hours ago, McBeerson said:

Hey,

I went to run the jar file on my dedi however I got this message:

"Blocked: /usr/bin/java -jar

The file '/home/customer/desktop/bot.jar' is not marked as executable if this script was dowloaded or copied from an untrusted source, it may be malicious to run. For more details read about at link"

SSo I read and all I had to do was change permissions to make it executable, I did but then nothing happened after. If anyone could help me out thaat would be greatly appreciated.

 

If anyone can help me I will pay you in whatever currency you want.

 

Check your java version:

java -version

most ubuntu 14 will have java 7! With java 7 it wont work.

 If so install java 8:

sudo apt-add-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

If you finished this check if java 8 is installed!

If you need something else let me know.

Edited by Artifex
Link to comment
Share on other sites

  • Alek locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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