jdk


 
Thread Tools Search this Thread
Operating Systems HP-UX jdk
# 1  
Old 08-16-2012
jdk

How can i see if jdk is installed or not on my system. I am on HP UX B.11.31
# 2  
Old 08-16-2012
Use swlist

Quote:
Originally Posted by bang_dba
How can i see if jdk is installed or not on my system. I am on HP UX B.11.31
Hello,

use swlist

or
Code:
 ps -ef | grep java 

 root  1650     1  0  Aug 21  ?        543:44 /opt/java1.4/bin/PA_RISC2.0/java -cp ./lib/m11.jar:./lib/collec

if a java process is available

Regards

Last edited by vbe; 08-16-2012 at 02:14 PM.. Reason: code tags...
This User Gave Thanks to bdittmar For This Post:
# 3  
Old 08-16-2012
See if this helps :
Code:
swlist -l fileset | grep -i jdk

This User Gave Thanks to Peasant For This Post:
# 4  
Old 08-16-2012
Thank you for the help.

Also, I want to see if the full version of JDK is installed or not. (Not just the jre)
does below o/p mean version of jdk installed ? Is there any other way to figure out if full version is installed.



Code:
swlist -l fileset | grep -i jdk


# Jdk60                                 1.6.0.14.00    Java 6.0 JDK
  Jdk60.JDK60                           1.6.0.14.00    Java 6.0
  Jdk60.JDK60-COM                       1.6.0.14.00    Java 6.0 JDK common files
  Jdk60.JDK60-DEMO                      1.6.0.14.00    Java 6.0 JDK demos
  Jdk60.JDK60-IPF32                     1.6.0.14.00    Java 6.0 JDK IPF 32-bit files
  Jdk60.JDK60-IPF64                     1.6.0.14.00    Java 6.0 JDK IPF 64-bit files


Last edited by Scott; 08-17-2012 at 03:01 AM.. Reason: Code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Installing jdk

I just downloaded jdk, but am unsure about updating the PATH variable. What steps should I follow ? Evidently I have to/prefer to be logged in as root to install jdk on my UBUNTU 10.04 linux.BTW, this question needs to go in another forum, but out of disuse I have forgotten my root... (1 Reply)
Discussion started by: sundaresh
1 Replies

2. Ubuntu

JDK path

Hello, I have installed the default JDK from Software centre, but when i type whereis JDK on the terminal.. i don't see any path :mad: i need JDk to install a tool ... Hurry!!! please HELP:confused::confused: (4 Replies)
Discussion started by: paramad
4 Replies

3. Programming

JDK 1.6 error - simple

Please look at below and let me know if some one has solution for this issue. when the code is trying to import the class directly an error is displayed saying " '.' expected ". I tires with JDK 1.5 , JDK 1.3 and JDK 1.4 , results are same.. If this is resolved with any updated version of... (3 Replies)
Discussion started by: shafi2all
3 Replies

4. Solaris

How to start tomcat with 2 jdk?

Current platform: Sun OS 5.9 Solaris isainfo -v 64-bit sparcv9 applications 32-bit sparc applications Problem: Fail to start tomcat server ps -ef | grep tomcat nothing displays... Steps: Installed jakarta-tomcat-5.0.30 Installed jdk 1.6 and set path in profile... (11 Replies)
Discussion started by: sbox
11 Replies

5. Solaris

Jdk 1.6 Installtion

How to install the jdk 1.6 in the solaris sparc 10 64bit. Any patch is required for jdk 1.6 for solaris (2 Replies)
Discussion started by: saktiviji
2 Replies

6. Red Hat

jdk installation question

hi, i just "yum install jdk*.i386" and installation was complete without any error. however, i tried to #javac helloworld " and javac is not found in the $PATH. i tried to locate it and didn't find it. would anyone shed some light on where the "yum install" installed my jdk to? where can i find... (0 Replies)
Discussion started by: k2k
0 Replies

7. Shell Programming and Scripting

Script to install jdk

Hi, I need a shell script that would do silent installation of jdk on a linux machine. Can anyone help me with this? Thanx Sunny (6 Replies)
Discussion started by: eamani_sun
6 Replies

8. UNIX for Dummies Questions & Answers

JDK Installation

I'm trying to install JDK (Java Development tools) and i get this: WARNING: The <SUNWj6dev> package "JDK 6.0 Dev. Tools (1.6.0)" is a prerequisite package and should be installed. WARNING: The <SUNWj6rtx> package "JDK 6.0 64-bit Runtime Env. (1.6.0)" is a prerequisite package and should be... (0 Replies)
Discussion started by: idan_cn
0 Replies

9. UNIX for Dummies Questions & Answers

find jdk 1.3.1

Hello, I try to find the file jdk-1.3.1_03-fcs.rpm (pre-requisite for Oracle Applications 11.5.8) for Linux x86 but it doesn't available anywhere... Maybe here, somebody have it ? :o Rgds (1 Reply)
Discussion started by: madmat
1 Replies

10. UNIX for Advanced & Expert Users

instfix lslpp JDK

Hi, some questions please : 1- what does do instfix ? 2- what does lslpp -l ? 3- how to verify JDK version on a UNIX server (AIX) ? Many thanks before. (2 Replies)
Discussion started by: big123456
2 Replies
Login or Register to Ask a Question