Sponsored Content
Full Discussion: Java error
Top Forums Shell Programming and Scripting Java error Post 302705611 by vbe on Tuesday 25th of September 2012 09:07:51 AM
Old 09-25-2012
Just downloaded and installed following HP's procedure...
Code:
ant:/home/vbe $ uname -r; model      
B.11.11
9000/800/L2000-54
ant:/home/vbe $ which java
no java in /usr/bin /opt/ansic/bin /usr/ccs/bin /usr/contrib/bin /opt/hparray/bin /opt/nettladm/bin 
/opt/upgrade/bin /opt/fcms/bin /opt/pd/bin /usr/bin/X11 /usr/contrib/bin/X11 /opt/mx/bin /opt/resmon/bin 
/opt/perf/bin /opt/OV/bin/OpC /opt/prm/bin /opt/aCC/bin /opt/langtools/bin //opt/perl/bin /opt/scr/bin /usr/sbin
/diag/contrib /opt/ignite/bin /opt/hpnp//bin /opt/hpnpl//bin /opt/imake/bin /opt/graphics/common/bin 
/opt/Acrobat5/bin /opt/sec_mgmt/spc/bin /opt/gnome/bin /opt/firefox /opt/mozilla /opt/cfg2html /opt/ssh/bin 
/opt/perl/bin /opt/sec_mgmt/bastille/bin /opt/ipf/bin /opt/swa/bin /opt/Adobe/Acrobat7.0/bin /opt/samba/bin 
/usr/sbin /sbin/ .
ant:/home/vbe $ ll -ld /opt/java/jav*
drwxr-xr-x   4 bin        bin             96 Feb 14  2007 /opt/java/java1.2
drwxr-xr-x   6 root       sys           1024 Jun 14  2002 /opt/java/java1.3
dr-xr-xr-x   8 bin        bin           1024 May 10  2004 /opt/java/java1.4
drwxr-xr-x   9 bin        bin           1024 Mar 10  2005 /opt/java/java1.5
lrwxr-xr-x   1 root       sys              5 Sep 25 14:52 /opt/java/java1.6 -> java6
dr-xr-xr-x   8 bin        bin           1024 Sep 25 14:53 /opt/java/java6
ant:/home/vbe $ /opt/java/java6/bin/java -version
java version "1.6.0.15"
Java(TM) SE Runtime Environment (build 1.6.0.15-jinteg_20_jul_2012_02_27-b00)
Java HotSpot(TM) Server VM (build 20.8-b03-jre1.6.0.15-rc1b1 PA2.0 (aCC_AP), mixed mode)

What did you not follow then? Read the prerequisites etc...?

@DJPickett my friend, you are totally right... This post is just to show that even with nothing set, correctly installed, java -version on a HP-UX will give the version... and you can see why it is not set for me...

Last edited by vbe; 09-25-2012 at 10:16 AM.. Reason: typos
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

License error when Invoked from Java Code

Hi all, I am getting a License error when Iam trying to call a perl script which builds TestRT (Test Real Time) application. When Iam calling the same script from command prompt it is building successfully. Iam using Solaris 9 Operating system. I have checked all the environment variables... (0 Replies)
Discussion started by: srini.g
0 Replies

2. UNIX for Dummies Questions & Answers

error in java

hi everyone i am attaching a java code below, it is running perfectly fine on windows but not on unix system. unix system is having java 1.2 environment. and this code is java 1.1 onwards compatible. WELL THE ERROR GIVEN IS UNKNOWN HOST EXCEPTION plz help me out. import java.net.*; import... (1 Reply)
Discussion started by: parmeet
1 Replies

3. Programming

help me with the error of Java related to UNIX

Can you help me with my code? I wrote a Java program and ran it in gdb, the debugger said that : (gdb) run handhelditems 1 1000 Starting program: /home/wqq/crawl/handhelditems/crawl_what_i_want handhelditems 1 1000 Program received signal SIGPWR, Power fail/restart. (2 Replies)
Discussion started by: cf.george
2 Replies

4. UNIX for Dummies Questions & Answers

Java compiling error

I need Help folks; I'm very new to Java & i was trying to compile some java files & i got a lot of errors (see below), could some one tell me what am i doing wrong? These are the files i need to compile: AddCommentActionLogging.java EditPageActionLogging.java When i run:... (4 Replies)
Discussion started by: Katkota
4 Replies

5. Programming

java OC4J error..!!

Dear anyone can help me??I really not know what do my server OCj4 log means...is it OC4J normal?? 2/1/10 1:51 PM: Servlet error java.lang.IllegalStateException: Response has already been committed, be sure no t to write to the OutputStream or to trigger a commit due to any other action be... (0 Replies)
Discussion started by: netxus
0 Replies

6. OS X (Apple)

fink error/java error?

Hi, Im trying to install a program called relax, i installed fink according to the instructions from the fink website to install to mac os 10.6. It seems to be working alright but when i try to install the program i get this error but i dont know what to do with it, User% fink install... (3 Replies)
Discussion started by: olifu02
3 Replies

7. Solaris

Java error in Solaris 9

Hi folks, I had a sparc machine with Solaris9 and built in java1.4.2 I installed Java1.5 on top of it by running the file jre-1_5_0_22-solaris-sparcv9.sh Now when I run the java application, I get the following error: Error occurred during initialization of VM... (2 Replies)
Discussion started by: manojsomanath
2 Replies

8. Solaris

Java patch error

I don't know if this the right place to post this. My issue is this, I'm trying to add this patch to upgrade my java on my Solaris server. I'mtrying to update to java 1.5.0_34 from java 1.5.0_32. patchadd ./118666-36 I get this error: Patch 118666-36 failed to install due to failure produced... (1 Reply)
Discussion started by: bitlord
1 Replies

9. AIX

Unable to correct NMONVisualizer java error. Can someone help to decode this java error?

Hello AIX and Java gurus, I have a java error that I have no clue how to resolve. I am trying to run the popular NMONVisualizer utility against a NMON dataset and getting the error as shown below: /db2storage/NMON >java -jar NMONVisualizer_2015-02-02.jar com.ibm.nmon.ReportGenerator... (1 Reply)
Discussion started by: okonita
1 Replies

10. Programming

Java compilation error

i am on red hat Linux . package hiveudf; import org.apache.hadoop.hive.ql.exec.UDF; import org.apache.hadoop.io.Text; public class lowercaseudf extends UDF { public Text evaluate(final Text s) { if (s == null) { return null;} return new... (4 Replies)
Discussion started by: boncuk
4 Replies
soladdapp(1M)						  System Administration Commands					     soladdapp(1M)

NAME
soladdapp - add an application to the Solstice application registry SYNOPSIS
/usr/snadm/bin/soladdapp [-r registry] -n name -i icon -e executable [args] DESCRIPTION
soladdapp adds an application to the Solstice application registry. After it is added, the application is displayed in the Solstice Launcher main window (see solstice(1M)). OPTIONS
-r registry Define the full path name of the Solstice registry file. -n name Define the name of the tool to be registered. -i icon Define the full path name of the tool icon. -e executable Define the full path name of the tool. args Specify any arguments to use with the tool. When executed without options, soladdapp uses /opt/SUNWadm/etc/.solstice_registry (the default registry path). RETURN VALUES
0 on success 1 on failure 2 if the registry is locked 3 if the entry is a duplicate. EXAMPLES
Example 1 A sample display of the soladdapp command. The following adds an application called Disk Manager to the Solstice application registry for display in the Solstice Launcher main win- dow. # soladdapp -r /opt/SUNWadm/etc/.solstice_registry -n "Disk Manager" -i /opt/SUNWdsk/etc/diskmgr.xpm -e /opt/SUNWdsk/bin/diskmgr FILES
/opt/SUNWadm/etc/.solstice_registry The default registry path. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsadml | +-----------------------------+-----------------------------+ SEE ALSO
soldelapp(1M), solstice(1M), attributes(5) NOTES
Globally registered applications are used by local and remote users sharing the software in a particular /opt directory. They can be added only using soladdapp. SunOS 5.11 15 Sep 1995 soladdapp(1M)
All times are GMT -4. The time now is 04:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy