Questions tagged [jar]
Questions about the Java Archive (JAR) package file format.
21
questions with no upvoted or accepted answers
2
votes
0
answers
4k
views
Install git Plugin for DBeaver
Problem
I have DBeaver 6.3.3 installed on one of our remote servers. This remote server has no connection to the internet. Thus, I need to install drivers / plugins from a local file (I have the ...
1
vote
1
answer
650
views
I've been trying to open a jar file but every time I do so It tells this jar file could not be launched
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
Joses-iMac-5:~ luissoto$ java -jar/...
1
vote
0
answers
487
views
How do I export a JAR without all the project files (just the src) in Intellij?
I'm currently using Eclipse as the IDE for a project but I'd like to work with intellij. When I export this project in Eclipse, I get the standard jar (its size is about 80MB). When I try to make an ...
1
vote
0
answers
3k
views
How to run .jar file on Mac 10.11 without installing Java?
So I made an application using Java swing and converted it to a .jar file and would like to share it with my friend. However, he is not a programmer so his computer needs to install Java bloatware to ...
1
vote
0
answers
76
views
Export files directly into the jar
How would I go about exporting the files directly into the jar, instead of it in a directory?
For example, here's my project tree:
project name
src folder
package
Java class
...
0
votes
0
answers
321
views
Double click on jar file dosen't work (turn .jar to .exe)
I am trying to turn my java program into an .exe.
With the help of IntelliJ IDEA I created a .jar file and I'm able to run it from my os cmd with java -jar and it works great.
When I double click the ....
0
votes
0
answers
1k
views
Delete a file from a jar file without using zip command or extracting the jar
Is there a way to delete the file from a jar file without extracting it or without using the 'zip' command?
Thanks
0
votes
0
answers
369
views
Argument/Parameter to start java game (.jar file) as maximized window
Im playing game called Spiral Knights
I launch .jar file with this batch command and portable java
CD "App"
"E:\Programy\Portable Apps Platform\PortableApps\CommonFiles\Java64\bin\java....
0
votes
1
answer
670
views
How do I output content of specific file from zip achrive by `jar:` URL in Linux?
Given URL like jar:file:///path/to/some/file.jar/path/inside/zip/hello.txt, how do I uncompress and output specified file from specified archive automatically?
A script using unzip or jar or 7z can ...
0
votes
1
answer
84
views
When I open Java, .jar files are not opened
I have installed the latest version of Jave, but when I run it, the command line screen comes and goes immediately. I am using Windows 10. What can I do to fix this?
0
votes
0
answers
120
views
.jar File won't work for some reason
I wrote and compiled a java program and the resulting files are (HelloWorldSwing.java), (HelloWorldSwing.class) & (HelloWorldSwing$1.class) as shown in the image
The files are in a package called ...
0
votes
0
answers
1k
views
Launching an executable .jar on computer start so that when windows logs in the user does not see the Windows Desktop
I am new to this side of the forum, so hopefully this is not off topic.
I wish to run an executable .jar file before the windows login screen is ever shown to the user so that when windows logs in to ...
0
votes
2
answers
263
views
jar file doesn't finish installing
I want to install: landserf230WindowsInstall.jar
I have: Windows 7 & the most recent Java (jre-8u211-windows-x64)
What I've tried:
When I run cmd as admin and paste the path file of the jar ...
0
votes
0
answers
986
views
Windows 7 Jar not running with double click
I have the following problem: I wrote a program in Java for a community and they're trying to run it. They installed Java and tried double clicking it but nothing happened.
Under my remote ...
0
votes
1
answer
1k
views
MAC OS - Terminal command to set JAR program to run at startup?
This is where MAC OS stores its start-up items,
/Library/LaunchAgents
How to set a JAR program from Terminal to run at startup? Also how to remove existing program from startup?
0
votes
0
answers
1k
views
Unpacking and then repacking a war file using batch command is increasing the size of the war file
I have a war file named CheckIn.war. I use the following batch command to unpack and then pack the war file. I also use a java code to change a value in an xml file after unpacking.
jar -xvf CheckIn....
0
votes
1
answer
4k
views
Execute a jar with double click in linux
What I'm trying to achieve is to run a java program on any Linux system (Ubuntu, Fedora, etc... covering as much as possible) by simply double clicking a file-like I would on Windows.
I have created a ...
0
votes
1
answer
132
views
Problems to open jar file
I use mac with mountain lion and java u update 21. When I try to open the file with a double click, I get the following error: java file.jar could not be launched, or sometimes not after the double ...
0
votes
1
answer
3k
views
Cannot delete jar from lib/ext folder
I've added a jar in the extension folder of my JRE (lib/ext) in order to provide an extension code to my applications.
Now I want to delete this jar, but I cannot. The error message says:
Cannot ...
0
votes
0
answers
1k
views
.desktop shortcuts aren't working for java applications in LXDE
I just installed minecraft on my LXDE desktop/Lubuntu machine and I'm trying to create a .desktop file on the desktop that executes java -jar ~/minecraftlauncher.jar. The command works in bash scripts ...
0
votes
1
answer
367
views
I can't run a jar file with
OK, so I can't run jar files of any sort on my windows 7 pc, the one in particular I'm trying to use is the forge installer for minecraft so an installer window should open when i double click the ...