How to Set JAVA path in AIX to create repository

Version 1
    Share:|


    Some time while creating the online catalog we usually face java issue to resolve this please follow below procedure

    If Java not found then set the path

     

    cat /etc/environment |grep -i java

    #PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin

    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java6/jre/bin:/usr/java6/bin

     

    and also in the home dir of the user

     

    cat /home/uv0n/.profile  |grep -i java

    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/java6/bin:.



    Thanks

    hsangwan