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.

80 questions
110
votes
7 answers

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.java:807) at…
23
votes
2 answers

How to create a service on Ubuntu Upstart

I have a Java executable program that I can run by typing java -jar abc.jar in terminal. How can I run it as a service? I want to run it as a service like by typing service abc start.
15
votes
2 answers

How to quickly extract all kinds of archived files from command-line?

Many times I need to extract different kinds of archived files using commad-line. But not all the time I remember the exact command for any type of file archive. So, I have to waste time and search again. How can I avoid this?
Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407
4
votes
6 answers

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 terminal).
IutbaZion
  • 185
3
votes
1 answer

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 issue, so my first reaction was to run sudo java…
Lokii
  • 31
3
votes
1 answer

How to install dli-downloader into Linux?

I want to install dli-downloader into Ubuntu. Provide step by step guide. With JDK configuration.
Madhav Nikam
  • 2,967
3
votes
2 answers

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 java 7 and 8 installed according to the software…
Skadlig
  • 211
2
votes
2 answers

Running *.jar files with Java 7 Runtime

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. Though when I right clicked the *.jar file and…
RegarBoy
  • 121
2
votes
1 answer

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 terminal sp I can see the ouput. #!/bin/bash java…
2
votes
2 answers

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
2
votes
1 answer

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 is a server bot for teamspeak3, and its basically…
2
votes
4 answers

Not a valid JAR when running HADOOP example

I have installed hadoop-2.4.0 in my 14.04 LTS, I have followed this link, I have done upto start and stop services successfully, but when I tried to execute example, $ /bin/hadoop jar hadoop*examples*.jar wordcount /user/hduser/gutenberg…
A J
  • 11,557
1
vote
1 answer

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 also read the given directions below but I cannot…
MakisL
  • 11
  • 2
1
vote
1 answer

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.lang.UnsupportedClassVersionError: amidst/Amidst :…
cheesits456
  • 1,354
1
vote
0 answers

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 ./PowerHarvestingConfFx.jar Error: Could not find or…
FabioDev
  • 535
1
2 3 4 5 6