# Java & update-alternatives

**URL:** <https://forums.suse.com/t/java-update-alternatives/21832>\
**Category:** SLES Configure-Administer\
**Created:** [October 7, 2011, 12:06am UTC](https://forums.suse.com/t/java-update-alternatives/21832 "2011-10-07T00:06:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [October 7, 2011, 12:06am UTC](https://forums.suse.com/t/java-update-alternatives/21832/1 "2011-10-07T00:06:03Z")

</div>

I use to install and configure Java with update-alternatives; however,  
there is an issue that bothers me. I put java under /usr/lib64/jvm;  
after that, I configure it using update-alternatives (options --install  
and then --config). The problem is: the update-alternatives don’t create  
a symbolic link /usr/lib64/jvm/java; so, the /etc/profile.d/alljava.sh  
doesn’t works, i.e., doesn’t set java environment variables (e.g.  
JAVA\_HOME, JRE\_HOME, etc.). I need to create it manually.  
Am I doing something wrong?  
Thanks,  
Carlos Camargo

## – camargocr

camargocr’s Profile: [http://forums.novell.com/member.php?userid=83932](http://forums.novell.com/member.php?userid=83932)  
View this thread: [http://forums.novell.com/showthread.php?t=446073](http://forums.novell.com/showthread.php?t=446073)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [October 11, 2011, 8:24pm UTC](https://forums.suse.com/t/java-update-alternatives/21832/2 "2011-10-11T20:24:16Z")

</div>

camargocr,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit [http://support.novell.com](http://support.novell.com) and search the knowledgebase and/or check all  
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.novell.com](http://forums.novell.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.novell.com/faq.php](http://forums.novell.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team  
[http://forums.novell.com/](http://forums.novell.com/)
