- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- java problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2007 08:27 PM
тАО07-11-2007 08:27 PM
java problem
# which java
no java in /usr/sbin /bin /usr/bin /usr/dt/bin /usr/bin/X11 /sbin /opt/Migration/bin /usr/vue/bin /usr/ccs/bin /usr/contrib/bin /opt/hparray/bin /opt/nettladm/bin /opt/upgrade/bin /opt/fcms/bin /usr/contrib/bin/X11 /opt/graphics/common/bin /opt/pd/bin /opt/resmon/bin /opt/gnome/bin /opt/mozilla /opt/wbem/bin /opt/wbem/sbin /opt/netscape /usr/local/bin /opt/atok/bin /opt/egb/bin /opt/graphics/phigs/bin /usr/sbin/diag/contrib /opt/mx/bin /opt/OpenSource/bin /opt/vje/bin /opt/perl/bin
#
please help me
Sandeep Daphal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2007 08:38 PM
тАО07-11-2007 08:38 PM
Re: java problem
Following should do the trick :
echo ":/opt/java1.5/bin" >> /etc/PATH
Then open a new login shell.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2007 09:01 PM
тАО07-11-2007 09:01 PM
Re: java problem
As suggested add, :/opt/java1.5/bin in your path, you should be able to see it.
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2007 09:52 PM
тАО07-11-2007 09:52 PM
Re: java problem
java install ptah is /opt/java1.5/jre/bin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2007 09:55 PM
тАО07-11-2007 09:55 PM
Re: java problem
you may need to set the JAVA_PATH variable.
For grins:
swlist -l product | grep -i java
If java does not work, try jre or jdk
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2007 10:54 PM
тАО07-11-2007 10:54 PM
Re: java problem
This is out put of # swlist -l product | grep -i java
ISEE-Java A.01.31.12 RST Java Runtime13-13109
Java-PlugIn1-2 1.2.2.15.00 Plug-In for Java 2
Java2RTE_base 1.2.2.15.00 Java 2 RTE (700/800), PA1.1 Portable
Java2RTE_doc 1.2.2.15.00 Java 2 RTE (700/800), Distribution License
Java2RTE_perf 1.2.2.15.00 Java 2 RTE (700/800), PA2.0 Performance Add On
Jdk13 1.3.1.13.01 Java2 1.3 SDK
Jdk14 1.4.2.04.00 Java2 1.4 SDK
Jdk15 1.5.0.08.00 Java 1.5 JDK
Jpi13 1.3.1.13.01 Java2 1.3 Netscape Plugin
Jpi14 1.4.2.04.00 Java2 1.4 Netscape Plugin
Jre13 1.3.1.13.01 Java2 1.3 RTE 1.3
Jre14 1.4.2.04.00 Java2 1.4 RTE
Jre15 1.5.0.08.00 Java 1.5 JRE
Jre15 1.5.0.01.00 Java 1.5 JRE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2007 04:33 PM
тАО07-12-2007 04:33 PM
Re: java problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2007 07:28 PM
тАО07-12-2007 07:28 PM
Re: java problem
#PATH=$PATH:/opt/java1.5/jre/bin
after give this path the path is been set temparly. please tell me how to set the path permantly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2007 03:12 AM
тАО07-13-2007 03:12 AM
Re: java problem
As mentioned by others, you either need to get the entry into /etc/PATH, or add that to your .profile. If you want it for everyone on the system, /etc/PATH is the way to go.
Typically once it is in /etc/PATH, you do something like:
# PATH=$PATH:$(< /etc/PATH)
(This may be in /etc/profile.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2007 06:00 AM
тАО07-13-2007 06:00 AM
Re: java problem
>> I set path using the following command
>>#PATH=$PATH:/opt/java1.5/jre/bin
>>after give this path the path is been set >>temparly. please tell me how to set the path >>permantly?
I guess you are just saying
PATH=$PATH:/opt/java1.5/jre/bin
after that you need to export PATH
export PATH
If you wanted to save it permanently then it should be in the .profile file of root.
Regards
PAdma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 03:46 PM
тАО07-16-2007 03:46 PM
Re: java problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 04:14 PM
тАО07-16-2007 04:14 PM
Re: java problem
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 04:15 PM
тАО07-16-2007 04:15 PM
Re: java problem
http://forums1.itrc.hp.com/service/forums/helptips.do?#41