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.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
95 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....
Qureshi's user avatar
  • 11
1 vote
1 answer
982 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 ...
Onyr's user avatar
  • 153
1 vote
0 answers
277 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 ...
Orkhan S.'s user avatar
1 vote
0 answers
5k 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/...
user3377812's user avatar
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 ./...
FabioDev's user avatar
  • 535
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 ...
Jeremy Amos's user avatar
1 vote
2 answers
2k 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 ...
Bob smith's user avatar
0 votes
0 answers
194 views

error install java 16 ubuntu

hi i am trying to install java 16 on ubuntu 18 with the following commands sudo add-apt-repository ppa:linuxuprising/java sudo apt update sudo apt install oracle-java16-installer and receive the next ...
ismael perez's user avatar
0 votes
0 answers
979 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 ...
Čamo's user avatar
  • 759
0 votes
0 answers
134 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/...
aga.91's user avatar
  • 1
0 votes
1 answer
3k 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....
Bullseye's user avatar
0 votes
0 answers
4k 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: ...
LoJoe's user avatar
  • 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-...
SubjectX's user avatar
  • 133
0 votes
0 answers
46 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 ...
OutOfMind's user avatar
  • 101
0 votes
0 answers
250 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 ...
sadim ahman's user avatar
0 votes
0 answers
74 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 ...
Anti Atlas Dev's user avatar
0 votes
1 answer
190 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\...
Chiggiddi's user avatar
  • 345
0 votes
1 answer
811 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 ...
Piros Staccatta's user avatar
0 votes
1 answer
7k views

How to get Clean and Build in netbeans to work again?

I don't know if this is a netbeans or Ubuntu or Java problem. But I'm running Ubuntu 13.10 64bit, and trying to create a jar file from my java application that I've created with Netbeans IDE 7.0.1. ...
Jeggy's user avatar
  • 3,062
0 votes
1 answer
537 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 ...
Dave Mn's user avatar
  • 11
0 votes
2 answers
279 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 ...
samira's user avatar
  • 13
-1 votes
1 answer
1k views

Can not run jar file on xubuntu

I'm trying to run a jar file that I created on windows. And I would like to test if the my demo app will run as well on ubuntu. I tried by issuing java -jar Rfidtest.jar in the termnal, but I have the ...
tacbanon's user avatar