My end goal: be able to use jar command from any directory i choose.
I am trying to follow instructions for unzipping a war using the jar command,
mkdir -p /tmp/my_ear
jar -xvf $WEBCENTER_HOME/archive/applications/webcenter.ear
jar -xvf ../spaces.war
I have been googling all day how to update the ~/.bash_profile using export $PATH...
Can someone please help walk me through the correct steps to do this? I am not sure if the path should point to the JRE, the JDK or both, but more importantly I just am new to modifying the .bash_profile. I have made a couple of my own aliases for jumping to commonly used directories, but that is about it so far!
From what I have found, it looks like this will be the path I use when updating the bash_profile - how can I confirm?
And finally this is how it is currently setup in my ~/.bash_profile: