Questions tagged as 'jar'

2
answers

What allows Java to find out what the main class is in a .jar

As Java does to find out which is the main class in a file .jar     
asked by 27.10.2015 / 15:54
1
answer

Generate Runnable Jar from a Maven project

I'm having trouble generating a Jar file for my application from Maven, I followed the following tutorial. Mkyoung.com It even generates the Jar but with a super reduced size and at the time of executing by the CMD it presents the follow...
asked by 08.09.2015 / 15:22
1
answer

.Jar does not execute

I have a problem at the time of running a file.jar that I did. When I click run nothing simply happens, no window opens, no error message or anything. In the Meta-INF folder you have the MANIFEST.MF containing only Manifest-Versio...
asked by 23.05.2015 / 19:59
2
answers

How to create an executable in java + MySQL database?

I created a java desktop application that connects to a MySQL database, how can I generate this application to run on any machine along with my database? Thanks!     
asked by 08.04.2015 / 20:28
1
answer

File reading in IDE works and at the time it generates .jar does not work

I have an application that reads a text file that is in the same folder as the application. When I run the program on netbeans it reads the normal file: ButwhenIgeneratetheJARitdoesnotreadthefile: I'vecheckedifwhentheJARisgeneratedthetextfil...
asked by 14.05.2018 / 02:04
1
answer

Close jar programmatically

I currently have a (main) JAVA program, which calls it another JAVA program (child) ... this is Ok .. however when I close the main program, I also close the child program. I've tried: Runtime.getRuntime().exec("taskkill /F /PID **NOMEDOPRO...
asked by 13.02.2014 / 18:40
1
answer

Reason for IncompatibleClassChangeError

Recently I noticed some error messages in my code, the message that appears is this:    Exception in thread "Thread-3" java.lang.IncompatibleClassChangeError The strange thing is that it only happens with jar ready and on other mac...
asked by 10.10.2017 / 21:06
2
answers

How to add a JAR library in a Java project without IDE? [closed]

Save. I'm having difficulty adding the JFreeChart library to my Java project (I use Windows 8). I have already unzipped JfreeChart, but I do not know what to do from there. As I am an old school programmer and still use Notepad, I could not find...
asked by 28.06.2015 / 00:41
1
answer

Difficulty creating .JAR on NetBeans

I'm trying to create a .JAR in NetBeans, but I get the messages:    C: \ Users \ Admin \ Desktop \ Project \ nbproject \ build-impl.xml: 993: The following error occurred while executing this line:   C: \ Users \ Admin \ Desktop \ Project \...
asked by 05.05.2014 / 13:29
2
answers

Netbeans - How to generate a jar with dependencies without the Maven

I have a project in Netbeans, however I only know Maven and I have some dependencies in the project. If I build or even run Netbeans, everything works smoothly, but I wanted to get the jar and test it on other machines. I've tried e...
asked by 20.02.2014 / 22:28