executable-jar Questions

4

Solved

I am having trouble specifying the Log4j2 config file location when using an executable JAR file. It works fine if I separate all the JARs, but when I try to combine them into one executable JAR fi...
Unfreeze asked 18/2, 2015 at 2:21

2

Solved

I am running into problems when I try to run the jar file created in IntelliJ. I followed the steps laid out here: How to build jars from IntelliJ properly? and searched far and wide for other peop...
Allotment asked 23/6, 2012 at 3:38

4

Solved

I can easily run the following in command line to transform an xml file: java -jar saxon9he.jar -o:outputfile.xml data.xml transform.xslt I would like to do the exact same results from within a ...
Walloper asked 21/10, 2016 at 16:23

3

Solved

again I face a strange issue and hope someone here can help. I have a spring boot backend module, what works in eclipse well and application is executeable when starting main in application.java....

5

I wrote a shell script to run a set of experiments so I won't have to do it manually. The script runs a java .jar file 30 times, and runs a set of those 30 times 17 times changing a few variables i...
Underhill asked 19/5, 2011 at 21:33

3

Solved

I am trying to create an executable jar for functional tests by exploding the dependency jars, using gradle task of type Jar. Cucumber-1.1.3 is one of the dependencies. I am using gradle 1.1 with ...
Talmud asked 9/5, 2013 at 19:19

1

I have to create the installer with runnable jar file ,when the jar file will run it has to copy the files on some directories. I have included few folders in the java project as in the below image...
Sensual asked 31/7, 2016 at 15:31

2

Solved

I'm trying to make a stand alone jar from my bare-bones Clojure project using the Leiningen plugin in Intellij's Cursive. To create the project, I just created the project.clj file, opened it, and...
Sisneros asked 12/7, 2016 at 12:54

2

Solved

I have an executable jar and i want to know the name of java main class from this jar My question are if there is a java cmd to get this from jar metadata ?
Pasta asked 2/7, 2016 at 21:24

2

Solved

I have a Java project with embedded jetty server and jersey library for REST Services. I am using Intellij for running the project and its working. The problem is when I try to execute the generate...
Cloying asked 16/6, 2016 at 1:43

2

Solved

I have a .jar file and When I extract it, It gives me all the .class files present in that jar file. I have decompiled all the .class files using http://jd.benow.ca/ tool but i want that all the ....
Darlinedarling asked 9/6, 2016 at 12:59

2

Solved

I tried to create an executable jar from my project on Intellij 13 (win8), following these answers How to build jars from IntelliJ properly? and execute the jar created, then I get "Error: Invaid o...
Yanirayank asked 14/4, 2014 at 17:4

3

Solved

I have files in resource folder. For example if I need to get file from resource folder, I do like that: File myFile= new File(MyClass.class.getResource(/myFile.jpg).toURI()); System.out.pr...
Kyat asked 5/8, 2013 at 9:51

3

Solved

The code works fine when executing from Eclipse. I'm using OpenCV 2.4.11 and JavaFX for UI. When I export an Executable Jar from Eclipse and run it from cmd I get the following exception: I foll...
Trunk asked 21/4, 2016 at 20:40

4

Solved

I am trying to generate an executable jar for a small home project called "logmanager" using maven, just like this: How can I create an executable JAR with dependencies using Maven? I added the s...
Rapprochement asked 29/11, 2009 at 3:14

4

Solved

I have a single maven project that has multiple main classes. I want to generate runnable Jars (that include all dependencies) out of these project. I currently have the following build confi...
Dolly asked 4/1, 2012 at 12:29

2

Solved

I'm trying to create an executable jar from IntelliJ. First I got the Java Security Exception and I changed sqljdbc4-4.0 to unsigned. First problem solved. Then I got Manifest not found. Added ME...
Lettering asked 8/11, 2015 at 10:48

3

Solved

I noticed that any call to System.out.println() from a JAR file that hasn't been started by the command line (i.e. a Runnable JAR file started by user with double-click) won't open the console. Aft...
Aquatic asked 29/8, 2015 at 15:45

4

Solved

Recently have been touched Java classloaders and suddenly recognized that do not fully understand what happens step-by-step when someone calls java -jar App.jar Well I guess a new instance of...
Hadley asked 18/12, 2012 at 6:3

4

Solved

I want to start my application using jetty, so I have added the dependency mentioned below. and when I run the main method Jetty starts successfully.(I am working on a struts2+spring3+ hibernate ma...
Rosalba asked 10/12, 2013 at 10:6

3

Solved

All I'm trying to do is convert a simple java program into a macOSX .app file so I can distribute it as a simple executable file. I've read all over the place and everyone says the same things: ...
Stearn asked 17/2, 2013 at 4:14

1

Solved

I'm writing client for my webapplication, and i signed release jar with my developer certificate, how can i verify that request to rest service was from my signed jar?
Iconium asked 21/4, 2015 at 4:25

4

Solved

I'm trying to use IzPack to install my program and I'd like to add Desktop Shortcuts to the installer, here is the documentation/instructions from the IzPack website. http://izpack.org/documentati...
Eclosion asked 12/7, 2012 at 22:54

8

Solved

I'll start of by saying Im on windows 7. I have created a .jar file which executes fine from the command line using the - java -jar myJar.jar approach But what I'm after is to be able to double c...
Queen asked 14/5, 2013 at 12:32

4

Solved

I have been a Python programmer for almost two years, and I am used to writing small scripts to automate some repetitive tasks I had to do at the office. Now, apparently my colleagues noticed this,...
Demulcent asked 10/8, 2009 at 3:11

© 2022 - 2024 — McMap. All rights reserved.