Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Eclipse based application with Java Web Start

 
Chethan Sharma
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am deploying Eclipse based application with Java Web Start. By default the installation of my application is doing in "C:" drive because I created the jnlp file as below

<property name="osgi.instance.area" value="C:/MyApplication/org.eclipse.osgi/bundles"/>
<property name="osgi.configuration.area" value="C:/MyApplication"/>
<property name="eclipse.product" value="My.product"/>
<property name="osgi.sharedConfiguration.area" value="C:/MyApplication"/>


But I need to allow the users to choose the location where they would like to install / deploy the application.

Please let me know a) how to get "Browse for folder" button.

b) I need to create a dynamic jnlp file based on the user's information. Whether "C:" or "D:" drive.

Any information on this is highly helpful for me.

Thanks,
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!