Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15551 - [jre] package is not setting the PATH variable properly [java program can't be found]

Attached to Project: Community Packages
Opened by David Serrano (N0NamedGuy) - Friday, 17 July 2009, 23:35 GMT
Last edited by Dan Griffiths (Ghost1227) - Friday, 07 August 2009, 16:02 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Geoffroy Carrier (gcarrier)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After installing the jre package, I wasn't able to use eclipse right after the package instalation, neither use any java sofware.

Additional info:
* package version: community/jre 6u14-1

Steps to reproduce:

Just install the package and try to run java... You'll get:

bash: java: command not found
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Friday, 07 August 2009, 16:02 GMT
Reason for closing:  Not a bug
Additional comments about closing:  symlinking would cause too many conflicts. the proper way to set this is to either source the jre.sh file or relogin
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 18 July 2009, 00:03 GMT
Relogin in your account or do a "source /etc/profile.d/jre.sh" before executin the command.
Comment by David Serrano (N0NamedGuy) - Saturday, 18 July 2009, 00:08 GMT
Yes... But I'd like it to work "out of the box" like the openjdk package...
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 18 July 2009, 04:39 GMT
  • Field changed: Task Type (Bug Report → Feature Request)
  • Field changed: Summary (jre package is not setting the PATH variable properly [java program can't be found] → [jre] package is not setting the PATH variable properly [java program can't be found])
  • Field changed: Status (Unconfirmed → Waiting on Response)
  • Task assigned to Geoffroy Carrier (gcarrier)
Sounds like a "feature request" not "bug report". Anyway I showed the solution in my comment, but...

what is the problem with setting up the path instead of the symlink like in openjdk6? This looks good and avoid conflicts with openjdk6.

Loading...