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.

Filter by
Sorted by
Tagged with
1
vote
1answer
39 views

Please help with this specific fatal error upon trying to run a third party .jar file

I would like to run the open source program Zettelkasten; it would be great for my work and I hope very much you can help me to get it running!! Thanks in advance!!! The program is this: http://...
0
votes
2answers
40 views

Finding JAVAX.Mail Jar

I have been using eclipse to code and test my software on Windows. When I copy the code to Ubuntu, I cannot compile the code as it cannot find the Javax files to import. I know I need to add the ...
1
vote
1answer
108 views

launch4j error at launch, installation impossible Ubuntu 18.04

I am new to ubuntu software installation "by hand". I want to install launch4j. I have followed the guide from StackExchange and other websites online. Whatever I try, with or without sudo, using ...
0
votes
1answer
70 views

cd ~/root doesn't work, is there way to enable it? [closed]

Is there a command where you can access root from the linux terminal? (/cd ~root) I have had to change my minecraft saves files under root, and had to run the command: cd ~/Downloads sudo java -jar ...
0
votes
0answers
32 views

JAR file running but no window/GUI showing

I'm trying to run a simple JAR file. When I do so nothing seems to happen. (File is marked as executable and I gave it 777 rights) If i do ps ux I can see the process is running, but I cannot see it'...
0
votes
0answers
56 views

Ubuntu 19 Java JAR (Java 8) GUI blank screen

I'm trying to launch a JAR file which requires Java 8 (not higher/lower). When I install Java 8 and I launch the application it opens a window but the content of the window is just blank. I've tried ...
0
votes
0answers
148 views

Run Java program in Ubuntu using jre [duplicate]

I created a Java program. This program has a .jar extension and it's running with Java jre runtime. All the dialog I use it in Windows operating system. I want to run a .jar program in ubuntu. How can ...
0
votes
0answers
200 views

When trying to open Etrade I get the error “JAR resources in JNLP file are not signed by same certificate” using JDK 8u221

I've been scouring the net for an answer and the majority of the results require resigning the JAR files. The thing is I have no idea where they are located or even if I have any. The error states ...
1
vote
0answers
130 views

How do I remove duplicate icon from Ubuntu dock?

After using jar xvf <filename> command to unzip a file I suddenly got a second duplicate of the Files icon on my dock as you can see on the picture: Clicking the "duplicate" icon at the ...
0
votes
1answer
291 views

Java problem - java, Jar file Statmetrics is not running

Download link: https://upload.cat/f694139f88c663b1 I am trying to run Java file either as jar or as classes in Ubuntu. I failed in both options. The following exception is its output. java org....
0
votes
1answer
1k views

Java package does not exist (package org.bouncycastle.cms)

I have install java jar packing by using this command java verison (1.8) CLASSPATH=.:/path/to/bcmail-jdk16-144.jar:/path/to/bcprov-jdk16-144.jar:$CLASSPATH export CLASSPATH which is required as ...
0
votes
0answers
2k 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
646 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....
1
vote
5answers
2k 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
698 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
2k 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
2k 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
679 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
35 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
171 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
431 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
189 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
1k 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
775 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
812 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
59 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
42 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
2k 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
8k 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
127 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
6k 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
557 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
244 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
1k 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
470 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
132 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
178 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
1k 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
506 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
7k 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
1k 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/...
78
votes
7answers
66k 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
4k 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
443 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
206 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
4k 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
672 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 ...
4
votes
6answers
28k 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 ...