executable-jar Questions

10

Solved

How could I run a local jar file from a java program? The jar file is not in the class-path of the Java caller program.
Cassidycassie asked 8/2, 2011 at 17:32

2

Solved

I am having a problem creating a .jar file for my JAVAFX Program. important info: JAVAFX Version: 17 JAVA Version: 17 IDE: Intellij Project Uses Maven .................................................
Tendinous asked 15/2, 2022 at 10:53

2

Solved

NOTE: Please, before marking this question as a duplicate make sure you know the difference between executable JAR and fully executable SpringBoot JAR. The official Spring Boot documentation descr...

12

Solved

Until now I created runnable JAR files via the Eclipse "Export..." functionallity but now I switched to IntelliJ IDEA and Gradle for build automation. Some articles here suggest the "application" ...
Pea asked 12/2, 2014 at 7:15

33

Solved

My code runs inside a JAR file, say foo.jar, and I need to know, in the code, in which folder the running foo.jar is. So, if foo.jar is in C:\FOO\, I want to get that path no matter what my ...
Abusive asked 26/11, 2008 at 12:30

7

I have a Maven project, but I am not familiar to Maven. I wanted to create an executable JAR file from this Maven project to use it in another project by eclipse. How can I do this?
Elba asked 31/7, 2015 at 9:10

11

It feels like a dumb question to ask, but i cant seem to figure it out. when i run a *.jar file on windows it doesnt apears in the taskmanager processes. how can i terminate it , i have tried TASKK...
Benign asked 18/6, 2013 at 9:9

14

Solved

When I try to export my project as a runnable jar Eclise gives me the following error: No resources selected. The project runs fine within Eclipse, I already tried to clean the project before exp...
Penchant asked 2/7, 2012 at 8:33

25

Solved

I have a JAR file named helloworld.jar. In order to run it, I'm executing the following command in a command-line window: java -jar helloworld.jar This works fine, but how do I execute it with d...
Scouring asked 27/12, 2008 at 3:19

2

I need to execute a diagnostic program written for my application. The application is running/deployed in a Kubernetes pod. I want to copy a diagnostic executable jar file inside the Kubernetes pod...
Pfennig asked 11/2, 2021 at 5:5

7

Solved

So I've been writing a simple 3D GUI application that I intended for users to use simply by double-clicking on the JAR file. I got it working perfectly before putting it into the JAR file, and I go...
Cuenca asked 29/4, 2011 at 2:12

5

I am trying to make an executable jar file from eclipse (using MySQL as database). How can can I make the executable jar file? I made one but it shows some warning and not works. I am getting a l...
Zootoxin asked 23/4, 2012 at 11:51

3

I want to run a Jar file by double clicking it. Following is the only Java class file present in it. import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; p...
Oxide asked 4/5, 2012 at 10:23

6

Solved

I'm trying to launch: java -jar selenium-server-standalone-2.14.0.jar -role hub from my Command Prompt but output was as below: C:\Program Files (x86)>java -jar selenium-server-standalone-2....
Shamefaced asked 6/6, 2012 at 19:33

4

Solved

I need to run a java jar in server in order to communicate between two applications. I have written two shell scripts to run it, but once I start up that script I can't shut down / terminate the pr...
Jujutsu asked 24/8, 2012 at 1:49

4

Solved

I have jar file which I want to run from windows scheduler in windows 7 I have Given the path of java.exe in path/script and -jar c:\abc\ab.jar in the arguments field. But it does not run. I have...
Controller asked 3/4, 2013 at 9:26

6

Solved

I have a JAR with 4 classes, each one has Main method. I want to be able to run each one of those as per the need. I am trying to run it from command-line on Linux box. E.g. The name of my JAR is ...
Scalariform asked 29/3, 2011 at 15:2

3

I want to be able to distribute by executable JAR without having to make the user upgrade to the latest version of the JRE. How can I package a JRE into the JAR so that they can run the jar with no...
Yanina asked 20/3, 2009 at 3:16

7

Solved

I am trying to convert a scala project into a deployable fat jar using sbt-assembly. When I run my assembly task in sbt I am getting the following error: Merging 'org/apache/commons/logging/impl/S...
Floriaflorian asked 9/2, 2013 at 21:46

7

Solved

I have a java jar program that I am trying to run on startup of my machine. Ideally, the shells script will check every 60 seconds to assure that the jar is running. How do I check if the jar is ru...
Mcquoid asked 23/11, 2013 at 21:47

1

Solved

I have set up an OpenJDK 12 project in IntelliJ (2019.2) using the built-in Gradle support. To design the GUI I'm using JavaFX 12. I have followed and read the setup guide several times, I have no ...
Windowpane asked 11/8, 2019 at 18:2

4

Solved

I installed a standard executable jar file as a Windows service by running the following command: > prunsrv.exe //IS//"My Service" --Install="C:\path-to-prunsrv.exe" --Jvm=auto \ --Startup=aut...
Johen asked 23/5, 2012 at 18:38

7

Solved

I have a jar whose content looks as shown below, Below is my manifest file Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.3 Created-By: 1.7.0_06-b24 (Oracle Corporation) Main-Class: org.sai....
Diecious asked 10/9, 2012 at 18:5

2

Solved

I'm using maven for building my jar (Intellij IDEA IDE). It is app built using Apache Camel. An excerpt from my pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> &l...
Melvinamelvyn asked 22/1, 2014 at 4:25

2

What I am trying to do, is to build an executable JAR file which will contain my project. I have included its dependencies right next to it, also in JAR files, so my directory listing looks somethi...

© 2022 - 2024 — McMap. All rights reserved.