Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I execute java program from another java program  RSS feed

 
Diego Bowen
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anyway to invoke a java application from another java
application? For example: I have the java application A which show the
tree. When clicking on a tree node I want to execute another java
application. Is there a way to active the java application directly by
calling the class or we have to embed "java path/application.class" and
execute it from the main program?
 
Honour Cook
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to try to use Java Runtime to call external application.

http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!