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
2answers
57 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
1answer
54 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 ...
0
votes
0answers
33 views

How to deploy a WAR file to jetty without using sudo?

deploying this specific war file to jetty is somewhat awkward: nicholas@mordor:~/NetBeansProjects/x$ nicholas@mordor:~/NetBeansProjects/x$ sudo cp build/libs/x.war /var/lib/jetty9/webapps/ -v 'build/...
0
votes
0answers
27 views

how to use testng directly from bash?

I'm not seeing why java cannot find App as it's explicitly added to the classpath: nicholas@mordor:~$ nicholas@mordor:~$ java -cp /usr/share/maven-repo/org/testng/testng/debian/testng-debian.jar:/...
1
vote
0answers
33 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....
0
votes
0answers
16 views

running a jar file(java) on Hadoop yarn but it got some error “failing over to rm1 ” or “failing over to rm2 ”

I'm running a jar file on Hadoop yarn but it got some error "failing over to rm1 " or "failing over to rm2 " , what is the reason? and my application is stuck on accepted status. ...
0
votes
1answer
318 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 ...
0
votes
0answers
21 views

Installed Oracle JDK8u121 on Ubuntu 20.10 but cant set .Jar Files to open with Java

Running Ubuntu 20.10 x64. I installed Java 8 from this guide: https://www.javahelps.com/2015/03/install-oracle-jdk-in-ubuntu.html I have downloaded and extracted the Java JDK 8u121 x64 tar file from ...
0
votes
0answers
82 views

Unable to access jarfile bin/MiUnlockTool.jar

I'm trying the install Mi Unlock Tool. Unfortunely i have this problem. Unable to access jarfile bin/MiUnlockTool.jar I tried sudo chmod o+w, unfortunately it doesn't work. Any ideas?
0
votes
0answers
177 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 ...
-1
votes
1answer
101 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 -...
0
votes
0answers
51 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
vote
1answer
91 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
674 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
771 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
181 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
vote
0answers
209 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
598 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
2k 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 ...
1
vote
0answers
3k 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
1k 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
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
998 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
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
0answers
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: ...
0
votes
0answers
962 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
36 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
204 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
653 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
211 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
805 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
960 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
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
1answer
50 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
166 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
9k 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
833 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
252 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
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
1answer
564 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
157 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
208 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
634 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
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.
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/...
100
votes
7answers
92k 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....