• 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

Eclipse java.home environment variable change

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone know how to get eclipse to switch it's java.home environment variable? It doesn't take the windows environment setting. You can see this via Eclipse->help->configuration details. I even went into windows->preferences->java->Installed JREs and added c:/j2sdk1.4.1 to it. This is the SDK, not the the plain old JRE. I made that my active JRE and restarted eclipse. Eclipse is still using c:/program files/java/j2re1.4.1 instead.
???
Thanks, Dave
java.class.path=C:\Program Files\eclipse\startup.jar
java.class.version=48.0
java.endorsed.dirs=C:\Program Files\Java\j2re1.4.1\lib\endorsed
java.ext.dirs=C:\Program Files\Java\j2re1.4.1\lib\ext
java.home=C:\Program Files\Java\j2re1.4.1
 
whippersnapper
Posts: 1843
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hockeydave,
Please take another look at the JavaRanch Naming Policy. We'd like to have you continue posting here, so please update your display name. You can do so here.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
eclipse -vm %JAVA_HOME%/bin/javaw.exe
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have the same problem. I am wondering how to switch
java.home on Eclipse from Program Files to j2sdk/bin.
Ilja Preuss, where to put the line of path of yours?
thanks,
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Got it, put that in Eclipse properties.
But I am wondering if we can set this up inside Eclipse
Windows Preferebces.
[ February 03, 2004: Message edited by: victor gu ]
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dave P,
Your getting closer, but your display name still doesn't comply. Please re-read the naming policy referred to in Michael's post and change your display name accordingly.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic