Don't suppose there's an easy way we can detect non-Sun JDKs to avoid this in the future? We'd probably just need to call "java -version" or similar and look for HotSpot -- if its there, its Sun and we can use -XX. If not, we just leave that out in the call.
I've seen this a couple times now on this list (last was a guy on AIX) and I'm thinking there has to be a better way... Wayne On 9/25/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 9/25/07, I am Who i am <[EMAIL PROTECTED]> wrote: > > I could n't start continuum coz of following error, any one has any idea > > > > jvm 1 | The JVM option is invalid: -XX:MaxPermSize=128m > > jvm 1 | Could not create the Java virtual machine. > > Please provide more information about your environment (operating > system, jdk vendor) and how you started Continuum. > > grep turns up -XX:MaxPermSize in plexus.sh/plexus.bat, so I assume > you've used that. plexus.sh works fine for me on mac os x / JDK > 1.5.0_07. (It is 1.1-beta-3, though.) > > My guess is that you're using a non-Sun JDK. The -XX options are > non-standard. Try editing plexus.sh/plexus.bat to remove that bit, > and see if it works then. (Assuming my earlier assumptions are > correct. :) ) > > -- > Wendy >