Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-3 votes
0 answers
94 views

Problems converting JAR to exe [closed]

I have tried several different things to convert a JAR to exe, but it always keeps failing. I downloaded Launch4j, made a custom runtime: Using javac -d classes src\*.java Using javac -d classes src\**...
-2 votes
0 answers
40 views

Resolving references to external .jar files in IntelliJ [closed]

I thought this problem was answered and straightforward, but I followed the directions and still my references to entry points in the .jar go unresolved, as you can see here, lines 108 & 109... ...
2 votes
1 answer
83 views

Unable to install. Invalid file. J2ME Application

I was making a J2ME MIDlet application. I wrote the code, compiled it to Java 1.2 bytecode, prevrified it and then packed it into jar. But when I sent it to my Nokia N72, it said: Unable to install. ...
0 votes
1 answer
19 views

Duplicate classes from commons-io 2.19.0 and 2.4 — how to resolve cleanly?

Build fails with hundreds of "Duplicate class ..." errors showing both: commons-io:commons-io:2.19.0 (transitive) commons-io-2.4.jar (in libs/ via implementation fileTree(dir: 'libs', include: ['*.jar'...
-1 votes
0 answers
30 views

How to check if a jar file inside an executable built with jpackage has been modified or replaced?

Although the code in the jar file is obfuscated, hackers can replace critical security and licensing calls to completely disable checks and gain unrestricted access. In a Mac OS application, a jar ...
0 votes
1 answer
41 views

Main class in an eclipse plugin

I have made an Eclipse plugin. Now I want it possible to also run it as a standalone app using java -jar. However the classes are packed in the bin/ folder inside the jar, and I get a ...
0 votes
1 answer
46 views

Can't create any .jar on IntelliJ Fabric Minecraft modding

So lately I've been trying to make a little custom mod for Minecraft 1.21.1 with Fabric Kotlin and after checking everything working completely I wanted to create the .jar to share with a friend but ...
0 votes
1 answer
88 views

JAR file can not access to a given directory

I made a Java application that loads image files from a directory called "images". If I compile and build in this way it works: javac Swing.java java Swing Conversely, if I compile and ...
0 votes
1 answer
106 views

How do I fix build failed with an exception?

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':gradle:jar'. Entry FlutterPlugin.class is a duplicate but no duplicate handling strategy has been set. It is an ...
1 vote
0 answers
79 views

Install and start a spring boot java jar as windows service using winsw

I have a spring boot application jar and I'm trying to install this as a windows service and start automatically, using winsw. My xml for winsw: <service> <id>myservice</id> <...
2 votes
3 answers
121 views

Flutter webview_flutter_android Failed to create Jar file

When trying to launch a Flutter app on a real Android device I get the following issue. Flutter version 3.27.4 AGP version 8.1.0 classpath 'com.android.tools.build:gradle:8.1.0' Gradle version 8.2.1 ...
0 votes
0 answers
73 views

JSchException: Authentication failure [duplicate]

I am getting an error when trying to establish connection to a remote server using jcraft. com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:519) ...
0 votes
0 answers
63 views

Launch a java jar downloaded locally, as it if was run from a web browser? [duplicate]

Is it possible to launch a local jar as if it was run directly from a web browser. Is there some way to pass the URL as a variable to it to make it think it was? It seems that java jar's don't work ...
esc's user avatar
esc
  • 9
0 votes
0 answers
79 views

Does not find a class when starting Fat-Jar in JavaFx [duplicate]

I have a JavaFX application. I want to create a JAR file, for this I used the Maven Shade Plugin to create a fat JAR. This is the structure of my project: pom.xml: <project xmlns="http://...
2 votes
1 answer
139 views

Why can't I "requires com.google.gson" when using gson-2.13.1.jar in Eclipse 2024-12 without having to rename the file?

Hardware/Software setup: IDE: Eclipse IDE Version 2024-12 (4.34.0) JDK: jdk-21 OS: Windows 11 Pro 24H2 CPU: 12th Gen Intel(R) Core(TM) i5-12600KF Background/Project Configuration I created a ...

15 30 50 per page
1
2 3 4 5
...
1260

AltStyle によって変換されたページ (->オリジナル) /