Questions tagged [runnable-jar]
39 questions
0
votes
0 answers
Runnable jar doesn't close with WindowListener and method windowClosing
I am trying to add a JOptionPane Message Dialog when I click on red x of the window, however the window doesn't close and still open without changes.
Example of my code :
Class Janela extends JFrame implements ActionListener{
public Janela() {
…

MdaCosta
- 49
- 1
- 10
0
votes
1 answer
How to export selenium WebDriver to runnable jar file in Eclipse
I try to make an exe file or something that could just open and work on my desktop. It works in Eclipse when I click run. I try to export it as a runnable jar file in Eclipse but it does not work. I guess it maybe the library or chromedriver path…

James1108
- 1
- 2
0
votes
2 answers
Exported Runnable Jar - Unable to connect to database
Friends please suggest a solution
I have completed a java swing maven project using eclipse IDE and MySql database in Ubuntu 20.04 OS. Exported the project as Runnable jar (Launch configuration as my main function class and library handling radio…

Renoj Joseph
- 93
- 10
0
votes
1 answer
Spring Boot jar - META-INF inside BOOT-INF folder
Is there any way to have META-INF folder inside BOOT-INF in spring boot packaging jar?
This might be a trivial question, but not sure how to do it. Below is the way i am packaging right now which created three folders BOOT_INF, META_INF, ORG. The…

SSharma2203
- 217
- 4
- 18
0
votes
1 answer
include audio file within runnable jar - eclipse
none of the answers I found to this question worked, so I have to ask here:
I'm using Eclipse and I have a program that I export as a runnable jar, and it plays an audio, but the audio has to be in the same folder as the exported jar file or else it…
user12616222
0
votes
0 answers
Is there a way for an executable/runnable jar file to read yml file which can be edited manually?
I have a selenium maven project, which I converted into a runnable jar. Now I want to parametrize or read certain file which can be edited from outside. My objective is not to build the jar again and again whenever there is a small change in my…
0
votes
1 answer
Why does my jar file GUI display perfectly on my computer but not on another computer?
I developed a GUI based application using Java. I used GridBagLayout to build UI. And when I run the jar file on my system the UI is looking perfect as I need. (Please see the below image)
But when I run the same jar file on other machines the UI…

Nandan A
- 2,702
- 1
- 12
- 23
0
votes
0 answers
Runnable Jar file is not working when Exporting from Eclipse- Java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
I have a program that when I execute it eclipse, it works, but when I export it as a Executable JAR file it does not work
It gives me this error
Java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
I am using these classes in my Main…

sinaei
- 491
- 2
- 5
- 19
0
votes
0 answers
Logging not happening with log4j when I export my java project into runnable jar
I have configured log4j for my standalone java project. It works fine when I run the project in eclipse(logging happens). But when I export the project into Runnable jar file I'm not able to get the logging in the log file. I tried running the jar…

sushmitha sundar
- 1
- 2
0
votes
0 answers
Exception during createing exe file
Im trying to convert my runnable jar into .exe file but i get this Exception in Launch4j program:
Executing: C:\Users\szymo\Desktop\SwordAndOgrs.exe
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application
at…

Szymon
- 1
0
votes
2 answers
How to solve "Graphics Device initialization failed for : d3d, sw" when running a java Jar file with JavaFx
Good Afternoon everyone.
I'm having a problem when I try to run my Java Code as a Runnable Jar file. I'm using Eclipse and I created a normal Java Project. I included the JavaFX jars as a User Libary. The Program runs without a problem when I start…

Patty23
- 53
- 1
- 6
0
votes
0 answers
Execution higher version of jar file on the server
I have a jar file of version 1.8 and I want to execute it on the server. But I'm having java version 1.7 on the server.
How can I fix this?
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/inno/server/Server : Unsupported…

UFO_Rider
- 111
- 2
- 12
0
votes
2 answers
java.lang.NoClassDefFoundError when using JavaFX for playing sound from jar
I want to be able to play sound from mp3 files for which I saw posts recommending the usage of JavaFX. I implemented the MediaPlayer and initialized the JFXPanel and in eclipse, everything works lovely.
Yet when I export to a runnable jar, and try…
user10699646
0
votes
0 answers
Trying to incluide solr server into my java project and starting it
I have a java project and i'm trying to include a solr server into my project and start it.
I copy de folders of the server into my eclipse structhure and start the server with Runtime.getRuntime().exec("path/solr.cmd start") but when I create the…

Garikoitz Garcia
- 3
- 2
0
votes
4 answers
Is there a way to Debug why my executable JAR of a JavaFX-Project runs on my Computer but not on others ? (Using jdk 1.8._051)
I exportet a Jar of a JavaFX2 Project. It works fine, but when I run it on another machine there will be a
classDefNotFoundExeption: javafx.application.Application
Any hints how to tackle this Problem ?
This is my Manifest:
Class-Path:…

Luxusproblem
- 1,913
- 11
- 23