Results 1 to 7 of 7
- 04-26-2010, 01:41 AM #1
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
Run Deployed JAR Files From Web Start Application
Hello people!
I would like to like to be able to use Runtime.exec to start a Java application using the JAR files deployed with Java Web Start. As I have understood it, they are not automatically accessible in the local directory. I basically want to do:
(For those of you wondering why I would do something like this is that I want to fetch standard output, standard error, and information about JVM crashes from a specific launcher since I'm doing a lot of native calls in my application and I need the feedback.)Java Code:Runtime.getRuntime().exec(javaCommand + " -Djava.library.path=. -jar " + jar);
Thanks!
- 04-28-2010, 01:00 PM #2
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
Ur query reminds me of a similar situation I was in while deploying a java application (JAR file). But recently I used an open source search platform Solr (LucidWorks for Solr Certified Distribution Reference Guide | Enterprise Search support for Apache Lucene and Solr by Lucid Imagination ) where deployment issues were totally taken care of .
- 04-28-2010, 02:10 PM #3
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
I have read a bit about Solr but I have failed to see how that solves my problem.
- 04-28-2010, 02:24 PM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Ohhhh...
You're doing marketing while pretending to answer posts.
Dear oh dear...
- 04-28-2010, 02:31 PM #5
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Ohhhh...
You're doing marketing while pretending to answer posts.
Dear oh dear...
- 04-28-2010, 02:34 PM #6
Member
- Join Date
- Apr 2010
- Posts
- 3
- Rep Power
- 0
I wonder... Solr seems to be be free and open source software, so I don't see much point advertising it. I searched the reference documentation for JNLP and Web Start but didn't get a single hit. I guess there could be some functionality with the "sandboxed" filesystem but I don't know. We'll see if he can elaborate.
- 04-28-2010, 02:44 PM #7
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Similar Threads
-
How to auto start Java application form browser
By marcinz in forum New To JavaReplies: 5Last Post: 04-03-2011, 05:30 PM -
Packaging the application into several jar files and class methods
By frenk_castle in forum New To JavaReplies: 2Last Post: 03-16-2010, 10:02 AM -
RCP application via Web start
By RonM in forum EclipseReplies: 0Last Post: 10-02-2009, 12:15 PM -
How to start voice based application
By pradnya in forum Sun Java Wireless ToolkitReplies: 3Last Post: 02-13-2009, 11:49 AM -
Debug JAR files used in an external application
By ragnarahk in forum EclipseReplies: 0Last Post: 09-22-2008, 05:36 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks