Questions tagged as 'jar'

3
answers

URI is not hierarchical (JAVA)

I'm having a very uncomfortable problem. Generate a test JAR executable file, and it is generating the following error: Exception en thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<...
asked by 27.01.2017 / 20:37
1
answer

How to distribute a .jar on mac using .dmg with Drag & Drop?

I need to convert a .jar into .app that includes JRE inside to be able to distribute in MacOS Sierra as a file .dmg with Drag & Drop without the need to install JDK or JRE (that already comes...
asked by 12.09.2017 / 20:34
2
answers

Cousins, odd and even in Java

I want a program that shows ask the user for numbers until you enter a "0" or a negative number, when this happens, the program should show: 1.-How many numbers are entered 2. How many are cousins 3. How many are pairs 4.- How many are odd. I...
asked by 03.08.2017 / 01:27
1
answer

Problem running .jar in terminal

I'm doing a project in eclipse. At the moment of exporting the program by means of the option RunnableJarfile , it makes all the export, I keep it in my desk and at the moment of wanting to test it in my computer by means of the terminal t...
asked by 17.02.2017 / 16:53
1
answer

Copies $ .class in jar files

When I compile a jar with maven, but when I unzip it, it generates me copies of several files with the symbol $.class , how can I omit this type of copies? Example: dao.class dao$1.class     
asked by 20.04.2018 / 17:26
2
answers

How I generate a .jar in eclipse with all the libraries [closed]

I need to generate a .jar in eclipse but it depends on some libraries and when I export and use it I mentioned that it does not find the library that is needed, someone could help me, in advance thank you very much     
asked by 19.04.2017 / 01:01
2
answers

How to upload files from the JAR

Hello friends, I have a code for a program that changes the color window and has 3 buttons with an icon or image but I really do not understand why the images do not appear in the JAR, I have the images in the src folder and in sources packages...
asked by 18.06.2017 / 23:51
1
answer

Execute a .jar file from a batch script

It turns out that in the CMD it allows me to execute the following command: C:\Users\Kevin\Desktop\Codigo\LibGDX\libgdx-nightly-latest\java -cp gdx.jar;gdx-natives.jar;gdx-backend-lwjgl.jar;gdx-backend-lwjgl-natives.jar;extensions\gdx-tools\gd...
asked by 02.05.2017 / 15:20
1
answer

TXT input UTF-8, output TXT UTF-8. Netbeans - Run - perfect files, using the jar - rare characters. What can be?

I created an application that reads 2 text files (txt), in one there is Russian text and in the other Spanish text. (Both txt in UTF-8) Then arm a single txt with both texts. The output of the / txt is also / are UTF-8. If I run the progra...
asked by 03.06.2018 / 22:00
0
answers

eclipse Ant Build build.xml

I am using apache poi and the poi.jar does not contain the xssf package to work with XSSFWorkbook, this is done with the jar poi-ooxml.jar. In eclipse it works correctly, but when I compile with Ant Build, the functions related to XSSF do not wo...
asked by 24.08.2018 / 13:29