• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Specifying VM for Eclipse 3.3

 
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My current JAVA_HOME is point to JDK 1.4.2_13 and when I use it to start up Eclipse 3.3, the J2EE perspective is not available. So I edited the eclipse.ini file to specify another vm, by doing:



But it still starts up without the J2EE perspective. I did try to change my JAVA_HOME to JDK 6, but unfortunately my weblogic.appc failed when building my EJBs.

Am I missing something here?
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I did was to set the -vm parameter at the Windows shortcut and it resolved my problem. However another problem arised. I couldn't switch workspace. The error message was unable to set the eclipse.vm value, so I added in the -Declipse.vm property. Then I was able to switch workspace only once.
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Chengwei,

You should put the -vm parameter in the eclipse.ini file,
not at the shortcut.

HTH



Originally posted by Chengwei Lee:
What I did was to set the -vm parameter at the Windows shortcut and it resolved my problem. However another problem arised. I couldn't switch workspace. The error message was unable to set the eclipse.vm value, so I added in the -Declipse.vm property. Then I was able to switch workspace only once.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic