Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
2 answers
104 views

I'm trying to make a Maven project that connects to an H2 database. In an IDE this works fine, but when executing the compiled project in the terminal, or when building the project into a JAR file and ...
Lucy's user avatar
  • 95
0 votes
0 answers
34 views

I work on a small android project that uses the unity-clases.jar generated by Unity. Some (not all) of the files/classes in the .jar can't be resolved when compiling the android project and I don't ...
jptsetung's user avatar
  • 9,189
1 vote
1 answer
65 views

I have 2 projects, a LibraryProject and an ApplicationProject. ApplicationProject needs LibraryProject as a dependency. In the LibraryProject, the build.gradle contains: group = 'com.company.product' ...
Giorgos's user avatar
  • 56
3 votes
1 answer
111 views

I have an old Java JAR file that depends on .so files (shared object libraries). I understand .so files are native libraries (written in C/C++), and the JAR uses JNI (Java Native Interface) or JNA to ...
IronMan's user avatar
  • 49
0 votes
0 answers
106 views

I have a GitLab CI/CD pipeline that builds and deploys a package into the GitLab Package Registry. For a specific (and temporary) use case, I need the pipeline to delete the package from the registry ...
Ryley38's user avatar
  • 403
0 votes
0 answers
62 views

Problem description: When using the Kotlin compiler (kotlinc) of any version from the command line (not IntelliJ IDEA, but a separate folder with a .bat file), and when specifying multiple libraries (....
Game Out's user avatar
1 vote
1 answer
103 views

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. ...
Mehrzad.20105's user avatar
0 votes
1 answer
20 views

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'...
Rajitha Perera's user avatar
-1 votes
1 answer
55 views

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 ...
Árpád Magosányi's user avatar
0 votes
1 answer
104 views

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 ...
Saxo_reaper's user avatar
0 votes
1 answer
141 views

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 ...
Fabio Ferro's user avatar
0 votes
1 answer
153 views

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 ...
Uche Nwobodo's user avatar
1 vote
0 answers
102 views

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> <...
developer new's user avatar
2 votes
3 answers
179 views

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 ...
Davor Štajcer's user avatar
0 votes
0 answers
74 views

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) ...
JavaGeek's user avatar
  • 305
0 votes
0 answers
66 views

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
  • 9
0 votes
0 answers
92 views

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://...
AslanPAPA's user avatar
  • 153
2 votes
1 answer
197 views

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 ...
user4574's user avatar
  • 416
0 votes
1 answer
72 views

I'm building a Spring Boot 3.4.5 application with a JavaFX GUI. What I'm essentially trying to do is start the app with GUI which has the buttons to start/restart/stop the Spring Boot server. The app ...
Ishaan Vadhan's user avatar
0 votes
1 answer
94 views

The .jar file is not executable by double clicking , only by intelij "C:\Program Files\Java\jdk-23\bin\java.exe" --module-path C:\Users\yacin\Downloads\javafx-sdk-24\lib --add-modules javafx....
original gamer's user avatar
1 vote
1 answer
80 views

I'm generating classes with ByteBuddy. In one place, I need to call a static utility method which accepts varargs of type String. My code looks like this: String[] myStringArray = generateParameters() ...
Martin Häusler's user avatar
1 vote
2 answers
65 views

I'm working on a kotlin application to send data to a third party application. The vendor has provided a jar file that we will need to run in order to actually transmit the data to them (for more ...
pbuchheit's user avatar
  • 1,839
1 vote
0 answers
62 views

Quick background: I'm working on an application to upload some csv data to a third party vendor. We have an AWS S3 bucket that watches for file uploads and the triggers a Lambda. The lambda then runs ...
pbuchheit's user avatar
  • 1,839
1 vote
2 answers
203 views

This was my original pom.xml file I started with: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=&...
Srikar Anumolu's user avatar
0 votes
1 answer
129 views

I'm using Gradle ShadowJar (version 8.1.1) to create a fat JAR for my application. I have two internal dependencies, com.idsk.lib.user:lib:0.0.1-SNAPSHOT and com.idsk.lib.client:lib:0.0.1-SNAPSHOT, ...
Vishnuvarthan K's user avatar
0 votes
0 answers
94 views

How to load jar file (the one the app was launched from) or get it's path at runtime? Or How to get a dependency jar at runtime from BOOT-INF/lib directory? Our use case is that we have a Spring Boot ...
Arkadiusz Górecki's user avatar
-1 votes
1 answer
289 views

I'm trying to develop a custom plugin for DBeaver. I prepared a simple Hello World plugin and can not run it in my local dbeaver instance. I tried to add it to /plugins directory in my DBeaver folder, ...
PavelK's user avatar
  • 1
0 votes
0 answers
68 views

I am trying to use the Apache PDFBox JAR, but get an error when I compile the code. I have downloaded the JAR (pdfbox-3.0.4.jar) and put it in the root directory for my Java project. In VS Code, I ...
gamma's user avatar
  • 1
-1 votes
1 answer
107 views

I'm trying to have a kubernetes deployment to work, on a mac with minikube, and using a jar file located in a local host directory: apiVersion: apps/v1 kind: Deployment metadata: name: master spec: ...
joanba's user avatar
  • 299
0 votes
1 answer
69 views

I would like to upload, deploy an existing jar to artifactory. There is a pipeline from a third party, I have no control over whatsoever, which step 1 will build a jar. The jar is then put on a host, ...
PatPanda's user avatar
  • 5,418
0 votes
0 answers
44 views

The question is not asking for a solution. I have a Spring Boot application running on a server. I replacing the old JAR file with a new one. After doing this, even though the enum class in the new ...
오준후's user avatar
1 vote
3 answers
113 views

I'm setting up a build.sbt where I need to have a bunch of managed JARs on the classpath. I basically have two large folders containing all of the JARs and then also the source JARs. myManagedRoot |- ...
Alec's user avatar
  • 32.5k
1 vote
0 answers
38 views

<plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>${project.basedir}/src/main/assembly/a....
Dan Royer's user avatar
0 votes
0 answers
54 views

I uploading a spring boot project jar in nexus repository, and when use it as dependency in an other project locally, it doesn't recognize the import statement even though it fetch the dependency from ...
Younes Rih's user avatar
0 votes
1 answer
38 views

I hosted springboot .jar file on hostinger vps server and start the app as a service this is my service file when starting the service multiple instances of jar files are created and multiple mysqld ...
Mahesh Gunasekara's user avatar
0 votes
2 answers
86 views

I have a spring boot 3 project that is packaged as a jar file with all the dependencies in it (fat jar). When I run the jar file using the command java -jar MyApp.jar then the application starts so ...
Martijn Hiemstra's user avatar
0 votes
0 answers
51 views

From the datastage we have called a script which invokes a jar file, this jar files helps to connect to another application which has user details in it. After fetching all the user details, this jar ...
user29968878's user avatar
0 votes
0 answers
82 views

Believe it or not, I am signing a jar for a legacy application that uses java webstart. I am running the following command: C:/javapath/.\jarsigner -storetype pkcs12 -tsa http://timestamp.digicert.com ...
pguzman's user avatar
  • 113
0 votes
0 answers
37 views

I am using an SQLite database within my project. I have an application-sqlite.properties file which has: spring.datasource.url=jdbc:sqlite:src/main/resources/database.db Before I package my project ...
Jackanap3s's user avatar
0 votes
0 answers
73 views

I'm attempting to manually mod old minecraft versions by using fernflower to turn their class files in their JARs to java files and then utilisizing a obfuscation table on my other monitor to edit the ...
Josh Mcoch's user avatar
1 vote
1 answer
91 views

I'm running this via Visual Studio Code and have the Language Support for Java (TM) by RedHat extension. The quickstart code I am using is found here. I modified it slightly to become this: import ...
AlphabetsAlphabets's user avatar
1 vote
1 answer
145 views

I have generated a fat Jar with intellij and for some reason it cannot find the main class, outputting the error: HappyBirthdayWisher\build\libs>java -jar HappyBirthdayWisher-1.0-SNAPSHOT.jar Error:...
Nguyễn Nam Vinh's user avatar
-1 votes
1 answer
101 views

I login to Oracle Service Bus web console below URL. https://mybank:7001/servicebus/faces/resources I click on Export icon -> "export resources" -> export contents(resources + include ...
Ashar's user avatar
  • 3,195
0 votes
0 answers
63 views

I'm building a spring - kotlin standalone app and I want to build a single exe that is run-ready to give to my client. Currently I'm using jpackage (along with bootJar and a jlink command for a custom ...
TechGuy's user avatar
  • 13
2 votes
1 answer
286 views

I want to learn JavaFX development, but first, got to ensure the application can be exported and run on its own, so it can be shared with regular users in the future - preferably Linux and Apple ...
Mutrax's user avatar
  • 43
0 votes
0 answers
106 views

I have 3 Java files named Myframe, SortingApp (which has the main function), and SortingVisualizationPanel. Ive converted the .java files to the .class files in another folder called classes. I've ...
user25001723's user avatar
1 vote
1 answer
145 views

Hi this is my first question! I'm trying to build a standalone kotlin - compose - spring app. My client requested this app for windows so I'd like to create an installer that includes java runtime (my ...
TechGuy's user avatar
  • 13
1 vote
1 answer
63 views

I need to make an executable jar containing more jars embedded directly in it. I can't unpack the classes from within the original vendor's jars because it will break the signatures and functionality. ...
simgineer's user avatar
  • 1,926
0 votes
1 answer
111 views

Our legacy Ant build uses prebuilt Eclipse loader classes in a zip file. How can I add these to a executable JAR file with the maven-jar-plugin? This is my current plugin config: <plugin> &...
simgineer's user avatar
  • 1,926
0 votes
0 answers
110 views

I have a little problem when running a custom jar application on a cluster. First, I ran my custom jar application in a local flink installation: /bin/flink run /home/osboxes/WordCount.jar --input ...
ricksant's user avatar
  • 137

1
2 3 4 5
378