FS#21305 - [jdk] Path not set with tcsh

Attached to Project: Community Packages
Opened by Michael Trunner (trunneml) - Monday, 18 October 2010, 18:11 GMT
Last edited by Thomas Dziedzic (tomd123) - Tuesday, 19 October 2010, 22:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



With tcsh as user shell you can't start any java program (like eclipse) out of the box. Because /opt/java/bin is not added to path.

For bash this is done in /etc/profile.d/jdk.sh. Because of a different syntax (export => setenv) tcsh only calls .csh files in this directory.

jdk should add a .csh file, too (like mozilla-common and glib2).
This way PATH and javahome is configured for (t)csh the sameway as for bash and co.

Additional info:
* community/jdk 6u22-1
Sun/Oracle's Java Development Kit

Steps to reproduce:
* Install jdk and tcsh
* change shell (chsh) to tcsh
* start eclipse or any other java based application
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Tuesday, 19 October 2010, 22:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in pkgrel 2