JREHOME not found AIX 7.2


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers JREHOME not found AIX 7.2
# 1  
Old 04-04-2017
JREHOME not found AIX 7.2

Hey everyone, longtime lurker here , 1st post!
After upgrading from AIX 6.1.8 to 7.2.0 none of my apps even look like starting coming up with JREHOME not found, this was a clone of an existing box which is still running but this doesn't have this variable defined, its running JAVA6_64.
I tried defining the JREHOME to point at the JAVA bin directory but no luck.
Does any one have any ideas. thanks in advance MattSmilie
# 2  
Old 04-05-2017
Hi and welcome.

Quote:
Originally Posted by one_eyed_man
After upgrading from AIX 6.1.8 to 7.2.0 none of my apps even look like starting coming up with JREHOME not found, this was a clone of an existing box which is still running but this doesn't have this variable defined, its running JAVA6_64.
I tried defining the JREHOME to point at the JAVA bin directory but no luck.
IBM did a helluva job in mystifying where the java binary is in various versions: there is a shell variable pointing to a symbolic link, which points to another symbolic linkw, which ....

My first suggestion is to deinstall all the JAVA-versions which you have installed (as they are designed for a specific OS-version chances are they are for AIX 6.1 instead of 7.2 anyways) and then install the latest JAVA-version for your current OS-level.

If you need a specific JAVA-version (like JAVA6) you need to get that for AIX 7.2 from IBM (with a valid support contract you can download it from FixCentral) and then deinstall every JAVA-version now installed and then install the downloaded one. After this reboot the system to make sure eveey process needing JAVA is started with the newly installed version.

Notice that there are usually two directories with binaries: $JAVA/bin and $JAVA/jre/bin. $JAVA is usually /usr/java<something> where <something> depends on the version.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 04-11-2017
Thanks problem solved

we had all the java back to 1.3 , so i followed your advice and uninstalled all, worked a treat thanksSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

2. Shell Programming and Scripting

If first pattern is found, look for second pattern. If second pattern not found, delete line

I had a spot of trouble coming up with a title, hopefully you'll understand once you read my problem... :) I have the output of an ldapsearch that looks like this: dn: cn=sam,ou=company,o=com uidNumber: 7174 gidNumber: 49563 homeDirectory: /home/sam loginshell: /bin/bash uid: sam... (2 Replies)
Discussion started by: samgoober
2 Replies

3. AIX

Nim on AIX 7.1 used to migrate AIX 5.3 to AIX 6.1...is possible?

Using nimadm: nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y Initializing the NIM master. Initializing NIM client sap024. 0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies

4. Programming

curses.h not found , gtk/gtk.h not found

i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h .. i have also included them using .. #include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h" ... (2 Replies)
Discussion started by: upvan111
2 Replies

5. AIX

AIX collect2: library libgcc_s not found

Hi, M/c- aix 5.3 I want to install expat-2.0.1. When run the make command it gives the error.. collect2: library libgcc_s not found make: The error code from the last command is 1. Stop. Thanks (7 Replies)
Discussion started by: tukuna82
7 Replies

6. AIX

aix 6.1 root .profile not found

hello all i just installed my 1rst 6.1 machine and it's working fine but i can't find the root .profile ????? can any one help BEst Regards (1 Reply)
Discussion started by: islam.said
1 Replies

7. AIX

IY17981 fix required for aix 4.3.3 to aix 5L migration but not found

Hi, redbook documentation is telling that IY17981 fix is required for aix 4.3.3 to aix 5L migration. But there is no mention about that fix in any ML installation packages. - My system is ML11 : oslevel –r 4330-11 - But xlC.rte is on wrong version : lslpp -L xlC.rte xlC.rte ... (3 Replies)
Discussion started by: astjen
3 Replies

8. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies

9. AIX

Problem MAKE cc: not found on AIX 5.3 please help me...

Hi guys, I am trying to install Big Brother monitoring on my box p570 AIX5.3ML2. But the after the installation you must run a make and it is failed see below the message: /home/bb/bb1.9h-btf/src/ # make Making aix makefile BBOS="aix" CC="cc" CFLAGS=" -Daix -DTIMEH -DREGEXEC... (1 Reply)
Discussion started by: touny
1 Replies
Login or Register to Ask a Question