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
0 votes
1 answer
687 views

How to configure .desktop file to run .jar file exactly as if run from terminal

I have a java program that works correctly when I run java -jar "lizzie.jar" from the terminal, but when I double click it in Nautilus it runs (i.e. UI shows) but returns the error "No ...
0 votes
2 answers
494 views

CLI: How to browse contents in a jar file? [duplicate]

Inside a Ubuntu OS, how can I browse contents in a jar file by terminal?
1 vote
1 answer
276 views

How to convert .jar file to .exe file? [closed]

I'm creating a Java program, and I need to test it on Windows. I know how to convert a .jar file to a .exe file on Windows, but the only Windows computer I know of is not mine. My friend will let me ...
  • 55
1 vote
0 answers
51 views

Measuring the running time and query answering time of GUI Jar file in Linux

I have a GUI jar file (taken from here). I need to measure the shell time of loading a file in this jar and then query-answering time of this jar. The problem is the code is not provided with this jar....
  • 11
0 votes
1 answer
3k views

how to extract a currupted zip file

I compressed some zip files to another zip later when I tried to extract it it says End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a ...
  • 11
0 votes
0 answers
444 views

How to set name for java -jar process and store pid to file

I would like to set name for process which triggers java -jar command. For example this command: java -jar selenium-server-standalone-3.141.59.jar -role hub I would like to set this process name and ...
  • 509
-1 votes
1 answer
936 views

How to run two java programs from bash.sh file

I need to make bash file which should run something like this: cd /opt/selenium-server/ java -jar selenium-server-standalone-3.141.59.jar -role hub java -jar selenium-server-standalone-3.141.59.jar -...
  • 509
0 votes
0 answers
76 views

How to solve java jar file exception ( version `CURL_OPENSSL_4' not found (required by libvlog-core.so) )?

I am running a java jar file on my server (ubuntu) I got this error: Exception in thread "main" java.lang.UnsatisfiedLinkError: while loading vlog-core: /tmp/VLog-tmp/libvlog-core.so: /usr/...
  • 1
1 vote
1 answer
204 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://...
  • 63
0 votes
2 answers
1k 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
1 answer
847 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 ...
  • 153
0 votes
1 answer
458 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 ...
  • 1
1 vote
0 answers
240 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
1 answer
657 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
1 answer
3k 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 ...
  • 125
1 vote
0 answers
4k 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
1 answer
2k 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.net.ssl....
1 vote
5 answers
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
2 answers
1k 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
1 answer
3k 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
0 answers
3k 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: ...
  • 101
0 votes
0 answers
1k 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-...
  • 123
0 votes
0 answers
39 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 ...
  • 101
0 votes
0 answers
226 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
1 answer
757 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
2 answers
228 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
1 answer
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
1 answer
829 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 ...
  • 21
0 votes
1 answer
1k 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
0 answers
71 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
1 answer
53 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 ...
  • 11
1 vote
1 answer
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,043
1 vote
0 answers
9k 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 ./...
  • 245
0 votes
1 answer
178 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\...
  • 313
2 votes
1 answer
10k 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 ...
  • 21
1 vote
1 answer
997 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 ...
  • 131
0 votes
0 answers
262 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,783
1 vote
2 answers
3k 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
1 answer
616 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
1 answer
186 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
2 answers
240 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 ...
  • 313
1 vote
1 answer
2k 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
2 answers
671 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. ...
  • 121
1 vote
1 answer
8k 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.
  • 585
0 votes
1 answer
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/...
109 votes
7 answers
105k 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
1 answer
5k 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
1 answer
492 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 ...
  • 11
0 votes
3 answers
2k 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
1 answer
243 views

How to install dli-downloader into Linux?

I want to install dli-downloader into Ubuntu. Provide step by step guide. With JDK configuration.
  • 2,819