What if I want the user to select the JVM to use?

asked 06 Sep '11, 09:15

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%


You can do that by adding <promptUser> to the above example as shown below.

       <autodetectJava>
         <validVersionList>
           <validVersion>
             <vendor>sun</vendor>
             <minVersion>1.4.2</minVersion>
             <maxVersion>1.4</maxVersion>
           </validVersion>
           <validVersion>
             <vendor>ibm</vendor>
             <minVersion>1.3</minVersion>
             <maxVersion></maxVersion>
           </validVersion>
         </validVersionList>
         <promptUser>1</promptUser>
       </autodetectJava>
link

answered 06 Sep '11, 09:16

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×38
×3
×2

Asked: 06 Sep '11, 09:15

Seen: 1,339 times

Last updated: 12 Sep '11, 04:22