Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jar]

The JAR or Java archive file format allows you to bundle multiple files into a single archive file similar to a zip file.

0
votes
0answers
50 views

Unable to execute jar file on Linux subsystem in Windows

I'm attempting run a jar file, but am running into the "Unable to access jar file" error. When I run it from the Windows path (I hope the term is right, am new to this), it runs fine: java -jar /mnt/...
0
votes
1answer
201 views

I received an error fetching bootstrap, SSLHandshakeException : handshake_failure running runelite on lubuntu

I received the following error whilst trying to launch a RuneLite jar on a freshly installed Lubuntu(18.10 64bit): [main] ERROR net.runelite.launcher.Launcher -error fetching bootstrap javax....
2
votes
5answers
639 views

MediathekView does not start in Kubuntu 18.10 (cosmic)

In Kubuntu 18.10 (cosmic) the application MediathekView crashes with the following error message: java.lang.NoClassDefFoundError: com/jidesoft/utils/ThreadCheckingRepaintManager Remark: the message ...
1
vote
2answers
390 views

Why wont JRE run my .Jar file [duplicate]

Before you mark this as the same thing as the others, You need to know I have done this before hundreds of times with no problem, I just reinstalled Ubuntu 18.04 2 days ago, and I was trying something ...
0
votes
1answer
427 views

How do I make a Java JAR file executable in Linux Mint? [duplicate]

This is the notice I get: The file '/home/heart/Phantombot/PhantomBot-2.4.1/PhantomBot.jar' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be ...
0
votes
0answers
886 views

Ubuntu 16, Java -jar: Could not find or load main class pattypan.Main

Just spend hours searching and I found a lot of questions related to this, but this is more simple. All the other questions I found are developers asking what to do when they get this error. "Error: ...
0
votes
0answers
26 views

Associating a command with a file type [duplicate]

I know that there's associating applications with file types, like Text Editor for .txt files, but how do I associate a command with files like .jar files? I have Oracle's Java Runtime Environment ...
0
votes
0answers
354 views

Running jar as a service problem

after a few days of pondering around google I give up. Running Tika-Server with command line works fine and Tika-Server starts responding on http://localhost:9998: java -jar tika-server-2.0.0-...
0
votes
0answers
31 views

Ubuntu 16.04 Running a jar does not take vpn IP

I am trying to run a jar on my ubuntu system and I am on vpn, instead of taking the host as my IP on VPN, it takes the localhost IP, ie. 127.0.0.1. It is a kind of listener and I need to run the jar ...
0
votes
0answers
106 views

use tor to run jar file in Ubuntu terminal

how to run jar file using tor or torsocks or torify in Ubuntu terminal ? I tried this but it doesn't work : nohup torsocks java -jar tortest.jar & also this one doesn't work : nohup torify ...
0
votes
1answer
276 views

Unable to execute .jar file from terminal despite having Java installed [duplicate]

I've installed the latest release of JDK with NetBeans on Ubuntu. When I attempt to execute a .jar file from the terminal with java -jar Minecraft.jar, this is outputted: The program 'java' cannot be ...
0
votes
2answers
113 views

Can No longer Right-Click and Run MC.Jar (Minecraft) with Ubuntu 17.10

Double-Click just opens it as a archive. So what is the solution to run a Jar file under Ubuntu 17.10. If I right-click and select find application, Java 8 does not show up? &>java -version ...
0
votes
1answer
559 views

Require help installing a .jar file. (14.04)

I need help installing a .jar file, http://chunky.llbit.se/download.html, which is causing problems for me. I have Openjdk 7 and 6 and I got 8 from another, non official place. When I double click the ...
0
votes
1answer
608 views

Making “java -jar OSBuddy.jar” an icon I can execute on my desktop? [duplicate]

Title says it all. I'm really really new with Linux stuff. Using Xfce/Crouton/Ubuntu etc. If you can be as specific as possible, or linking me to a guide that breaks everything down step by step that ...
0
votes
1answer
546 views

How do I open Minecraft.jar in Ubuntu? [duplicate]

Please do not mark as duplicate because I have been searching so long on other posts but they don't work for me. Please give me a step by step tutorial as an answer and be VERY SPECIFIC. I am not a ...
0
votes
0answers
46 views

uploading a jar file to software center

i am new here.. i am a Java programmer how can i upload a .jar file to ubuntu software center? i created an account in ubuntu Apps and i building a .deb from my .jar file but i do not know yet how to ...
1
vote
1answer
38 views

Cannot understand notation

I'm trying to run a Jar file on ubuntu 14.04. I've already installed OpenJDK Java 6 and 7 Runtime and turned the jar file to be executable. I double click on the file but nothing seems to happen! I ...
1
vote
1answer
1k views

Jar file failing to execute

I have a jar file located at /home/username/Documents/program.jar and when I open the terminal and type java -jar ~/Documents/program.jar I get the following readout: Exception in thread "main" java....
1
vote
0answers
7k views

JAR Issue: Could not find or load main class

I have a Java software that run perfectly in Windows. The folder structure is: -dist - lib - PowerHarvestingConfFx.jar But when I try to open in Ubuntu I get this error: cd dist java -jar ./...
0
votes
1answer
97 views

Howto autostart a java -jar file after MySQL (mariadb) has started in Xubuntu 16.04?

I used to run this script in Startup and Session in Xubuntu 14.04 to autostart my java app: xfce4-terminal -e "bash -c \"cd /home/restaurant/Documents/dist/ && java -jar POSv2.jar; exec bash\...
2
votes
1answer
4k views

How to run a .jar with admin privileges?

I am attempting to open a .jar file with java 8 but it gives me an error message asking for admin privileges: Please start the Authenticator with admin privileges I am completely new to this type of ...
1
vote
1answer
273 views

Run .jars Without java -jar Invocation [duplicate]

I often run Java .jar files, but in order to do so, I must invoke it with the command java -jar myJar.jar. Simply making the .jar executable will not allow it to be run, since it is not fully ...
0
votes
0answers
80 views

Running executable jar file from terminal [duplicate]

I've just got a new PC running Ubuntu 16.04 and have transferred my work from my laptop running Ubuntu 14.04. I have an executable jar file called timed_hri.jar. On my laptop I can go to the ...
1
vote
2answers
906 views

Running a .jar file with jdk 1.8.0

I installed JDK 1.8.0 from Oracle, and everything works perfectly. I can create, compile and run java files. But I just downloaded a .jar file and tried running it using java -jar path/name.jar and it ...
0
votes
1answer
212 views

My .jar file run with terminal but not by “clicking”' on it [duplicate]

I made a little program in Java, and it run perfectly when I use the java -jar myFile.jar but when I use the "open with OpenJDK Java 7 Runtime" option, nothing happen. I have no idea why it doesn't ...
1
vote
1answer
86 views

How do I run a jar so that I can access it on another terminal session later?

I know the answer to this question may be screens, but it doesn't seem to be working for me. I've tried creating a new screen session and running it there, then switching back to my main one. However, ...
1
vote
2answers
158 views

How to doubleclick a Java Jar and start it without sudo

My current Situation: my pc is running Xubuntu 16.04 a java jar app on Xubunutu desktop a USB thermal printer (Model: DigiPOS 920) is connected via USB to my pc the java app talks to the thermal ...
0
votes
1answer
615 views

Unable to run .jar file using .desktop file, even though it runs from terminal

I'm running 32-bit Ubuntu 12.04 (on a 64-bit machine - don't ask). I have Oracle Java 8 installed as the default java version (confirmed using both 'java -version' and 'update -alternatives'), but ...
2
votes
2answers
312 views

Running *.jar files with Java 7 Runtime [duplicate]

When I run the *.jar file my Ubuntu pops up an error message with The file /... is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. ...
1
vote
1answer
6k views

How to install sbt in its latest version in Ubuntu 14.04?

I am facing this Spark problem, after installing sbt like this. How to proceed please? When hitting tab to this: sudo apt-get install s I do not see any sbt package.
0
votes
1answer
527 views

OpenJDK not running .jar files

I've downloaded the .jar file for Minecraft, and I installed OpenJDK 6 from the software center, and I tried with 7 as well, but it keeps throwing the message "The file '/home/hunter/Downloads/...
60
votes
5answers
42k views

Assistive technology not found AWTError

$ java -jar aprof-plot.jar Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit....
2
votes
1answer
3k views

How to make an executable text file run a .jar file with arguments

I need to make a simple executable text file (preferably via chmod +x, but that isn't necessary) that runs a .jar file and passes in JVM arguments as well as jar-specific args. It must also run in ...
0
votes
1answer
402 views

Unable to open Few .jar files in Ubuntu 15.04, Error: “Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar ”

I got stuck with this, I can't able to open few .jar files. Its throwing error as: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Please check the screenshot(1 pic is of ...
0
votes
3answers
1k views

I recently updated to ubuntu 15.04, but Java won't open .jar files!

I have got one thing to work though. By using this article:http://tipsonubuntu.com/2015/03/30/install-minecraft-in-ubuntu-15-04/ I have been able to open minecraft, but still nothing else is working ...
3
votes
1answer
190 views

How to install dli-downloader into Linux?

I want to install dli-downloader into Ubuntu. Provide step by step guide. With JDK configuration.
0
votes
1answer
2k views

How to create desktop icon that runs jar command [duplicate]

New to Linux but very happy with it so far and been able to learn a lot. Currently opening a folder that contains Example.jar, then opening terminal, next entering java -jar Example.jar to launch ...
1
vote
1answer
3k views

Unable to run java files with external jar in Ubuntu

I tried to compile my java file with an external jar in Ubuntu 14.04. It works fine after I compile: jeremy@Ubuntu:~/Desktop/project/src$ javac -classpath lib/jsch.jar MyFile.java but I have the ...
0
votes
1answer
508 views

Some jar files refuse to to run upon double-click and Terminal can't access them

MultiMC launches with no problems. I can't get Minecraft to launch by double-clicking it: it will open in Archive Manager. When I run the command java -jar minecraft.jar, Terminal returns the error ...
3
votes
6answers
21k views

Can't Execute jar files

I'm having trouble opening jar files because there is no java runtime in open with listed. Even I have installed it via Software Center(i also try to reinstall it via synaptic and i do a --purge via ...
3
votes
2answers
7k views

Problem running jar from gui in 15.04

I updated ubunut to 15.04 today. Now when I try starting a jar file from the gui it only opens the archive manager. Checking the open with tab in Properties I can't find Openjdk. I got both Openjdk ...
0
votes
4answers
2k views

How to extract a .zip file in Unity? [duplicate]

Simple question: how do you unzip or extract .zip archives/files in Ubuntu 12.04 Unity?
1
vote
1answer
2k views

How to make jar file executable from anywhere without root permission

I made a jar file and now want to execute it from any directory. To do that I simply put it in /bin and made it executable, but I am not able to execute it and get this output error: Error: Unable to ...
2
votes
2answers
743 views

Problem running jar file in ubuntu

Why does a .jar script run when I run it like java -jar myfile.jar, but it does not run when I execute it like ./myfile.jar
0
votes
1answer
402 views

How the heck do I make jar files executable?

I am running Ubuntu 12.04 on my Toshiba Chromebook 2 via crouton (I'm using the xfce4 desktop enviroment so don't give me Unity fixes) and I am trying to run a .jar program through OpenJDK6. I just ...
2
votes
1answer
1k views

Ubuntu 14.04 Server, launch jar in screen on boot/restart

Ive been reading everywhere on how to do this, and I understand how to do it, but for some reason I cannot get it to work correctly. I simply want to run a jar file on restart or boot, the jar file ...
1
vote
0answers
45 views

How to create debian package for a java project? [duplicate]

I have written a small gui for btrfs called TimeTraveler. And export it as .jar file. How do I package it as a .deb file for Ubuntu?
0
votes
2answers
194 views

How can i execute a jar file?

to execute a jar file, at the first i installed openjdk pakeges and then next command: java -jar ccnChat.jar I got this error: Failed to load Main-Class manifest attribute from ccnChat.jar then i ...
1
vote
2answers
759 views

jar files not working

In terminal when try to run jar file it doesn't launch. I have recently uninstalled open jdk 6 to save some space if that matters. abe@abe-Dimension-8400:~/Desktop$ java -jar Minecraft.jar I use ...
0
votes
2answers
181 views

chmod command problem Xubuntu [duplicate]

Hello I'm trying to make a jar executable using chmod a+x jarname.jar, no errors. But when I try to execute it it's not executable. .. help plz, I'm on Xubuntu, trying to execute the jausing DOUBLE ...