Most voted "jar" questions
Jar (Java Archive) is a compressed file used to distribute a set of Java classes, a java application, or other items such as images, Xmls, and more. It is used to store compiled classes and associated metadata that can constitute a program.
Learn more…66 questions
Sort by count of
-
0
votes0
answers89
viewsHow to start a service?
The function below starts through a file . jar a Webservice. private static void StartService() { try { var FileStart = new…
-
0
votes1
answer2358
viewsMy . jar files generated by Eclipse are not opening
I’ve done everything I know and found on the internet to open a file. jar, but nothing works. When I do 2 clicks it just doesn’t open, it doesn’t error, but it doesn’t open anything either. I have…
-
0
votes0
answers198
viewsJava error running via jar
I have a code that makes a request to a WS. When I run via Netbeans, the code works perfectly, but when I do it via java -jar programa.jar the system shows the following error:…
-
0
votes0
answers58
viewsJAVA Sqlserverexception: The index is out of range
Good morning, I’m new to JAVA and I’m having trouble maintaining a legacy system... I use the Eclipse IDE and in it the code is OK, without criticism. I’m reading a form on a web system, picking up…
-
0
votes0
answers57
viewsTurn JAR into EXE using Launch4j , does not run the program as it should?
I exported an eclipse jar that normally runs it via terminal: java - jar meujar.jar But if I turn this jar into . exe using the program Launch4j , the software can not change the screen , for…
-
0
votes0
answers3
viewserror compiling libgdx project
I’m having a problem with the Compilation, I’m having an error Run Dx task Android dx Dex libs Lib /storage/emulated/0/JavaNIDE/gdx-game/app/ libs/gdx.jar has been dexed with cached file…
-
0
votes2
answers941
viewsHow to save the Maven dependencies inside the project folder?
I want to save all the dependencies of the Maven project inside the folder of my project! What should I put in the pom.xml file? Is there a plugin for this? I would like a pom.xml template that…
-
0
votes1
answer161
viewsI cannot run jar using exec command in php
when I try to run the system does not return anything, I do not know what may be wrong, I tried to run another jar and it worked, however the msm n receives no parameter. the search jar works on the…
-
0
votes0
answers163
viewsProblems sending JSON by POST when compiled
I am with an application whose one of the modules is responsible for sending a JSON to an online API that synchronizes the data with a back system. When this module is run or debugged into an IDE,…
-
0
votes1
answer580
viewsAccess a directory through a jar
I created a code that uses a file that is located in a given directory (Resources). When I run this code by eclipse, this directory is found and all code actions are done. However, when generating a…
-
0
votes2
answers4265
viewsError executing . JAR "no main manifest attribute in nutriclinweb-api.jar"
I am using intellij (Spring project), I have taken the right steps to generate . jar, I have tried it in many ways. Follow pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project…
-
0
votes1
answer94
viewsError while running file. jar
I was developing a calculator in Java to study the language. After doing the whole project and exporting the file. jar and try to execute it, nothing happens. When trying to execute on the terminal…
-
0
votes0
answers24
viewsFat Jar Eclipse Plug-in does not appear in Export
I need to extract a "fat" jar, I installed the Fat Jar Plug-in in eclipse (https://sourceforge.net/projects/fjep/). Eclipse Version: Luna Service Release 2 (4.4.2) Extract the jar to the plugins…
-
-1
votes2
answers53
viewsDoubts regarding applet 'param' and an Archive pointing to a jar
I can’t understand what this applet stops at, does anyone explain to me? And why does the applet have that Rchive that points to a jar? Why do they stop? <applet code="TesteApplet.class"…
-
-1
votes1
answer94
viewsSwing - Include images in JAR file
I have a project in JAVA, which has a graphical interface with a screen, developed with the Swing. I have 2 images, background and favicon, which are in the package: [code]br with drsolutions…
-
-3
votes1
answer144
viewsProblems creating executable jar with Jlayer library in Intellij
Good afternoon guys. Here comes my question: I am creating a simple java 8 desktop application with swing in Intellij. At the end of some modifications I was creating a .jar executable and up to…