How to run another Java project from a running project specially in NetBeans and in case of a desktop application?

OK, I found a solution on this although this is not what I wanted, but it's working. First, I built all the database applications as JAR files. Next, in the event handler of my buttons I added this line of code in order to execute the JAR file.

OK, I found a solution on this although this is not what I wanted, but it's working. First, I built all the database applications as JAR files. Next, in the event handler of my buttons I added this line of code in order to execute the JAR file: Runtime.getRuntime().

Exec("java. Exe -jar CRUDapp1. Jar"); So every time I click the button the application runs.

Although this is working fine for me, but it seems not to be the right solution. I rather prefer solutions like adding classpaths or similar, but because of some conflict in the class name, that I don't know where they come from, classpaths didn't work.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions