My host is win7 X64 and guest is solaris 10 X64 .
My share file name is sharefile10
I unzip the file from host so I dont need type tar or gzip command through solaris .
I have downloaded JDK from oracle offical website and the name :
jdk-7u13-solaris-x64.gz
and I found that..
So , do i put those files into solaris 10 somewhere manully.?
I have no idea where I should place it and what I should do .
I have read offical instruction..but it just seems ..a rough guild .
I found some instruction on the internet but jdk*.bin or .sh used in the instruction .
And I cannot find .bin or .sh of new jdk version on offical website
itīs all fine. copy the directory jdk-7u13 where u want (maybe /opt under solaris). Important is, to export the path.
You can export the path:
* global (for all)
vi /etc/profile
*for a special user only
vi /home/user1/.profile
You can test it also with your actually session (will be lost after closing the session):
I prefer to put the jdk in a special directory called "java-versions" an link the latest version. for example the /opt directory would look like:
So, only the path to /opt/java/bin must be export or set. a java-version change is so much easier. just unlink java and create a new link to the newer version. thatīs all..
PS: Do u plan a java-enviroment for an application-server (jboss/tomcat)? If yes, the path-variable will be set in the catalina.sh (tomcat) or run.sh/run.conf (jboss) and will be called JAVA_HOME.
best regards
Last edited by Panzerkampfwagn; 02-08-2013 at 09:48 AM..
Reason: edit
itīs all fine. copy the directory jdk-7u13 where u want (maybe /opt under solaris). Important is, to export the path.
You can export the path:
* global (for all)
vi /etc/profile
*for a special user only
vi /home/user1/.profile
You can test it also with your actually session (will be lost after closing the session):
I prefer to put the jdk in a special directory called "java-versions" an link the latest version. for example the /opt directory would look like:
So, only the path to /opt/java/bin must be export or set. a java-version change is so much easier. just unlink java and create a new link to the newer version. thatīs all..
PS: Do u plan a java-enviroment for an application-server (jboss/tomcat)? If yes, the path-variable will be set in the catalina.sh (tomcat) or run.sh/run.conf (jboss) and will be called JAVA_HOME.
best regards
Thank you for your instruction !
I totally f-up...becase I am poor in english to read offical website instruction .
I have 2 questions would like to ask:
1.In the instruction ,
"" The supplemental files for 64-bit support are installed in directories named for the machine architecture model, which are added at several locations within the same jdk1.7.0_<version> directory where the 32-bit JDK was installed. For example, on SPARC processors the 64-bit Java VM Library file (libjvm.so) is stored in the jdk1.7.0_<version>/lib/sparcv9/server directory, whereas the version for x64/EM64T is stored in the jdk1.7.0_<version>/lib/x64/server directory. ""
Do I need to place amd64 into (x86) /jdk/bin file ? OR put all files in amd64
to overwrite files in (x86) /jdk/bin ?
2. I have checked my jave version that is shown below
I installed jdk1.7.0_13 , so I dont know why the version is 1.6.0_26
---------- Post updated at 09:45 AM ---------- Previous update was at 09:33 AM ----------
setting-up consumes my time so much , but it is interested .
I setting up java environment plan to write android apps .
I am still a newbird..beginner
Maybe I set up any kind of server .. um because I learn unix that is powerful OS to do anything . I dont wanna waste anything i learn
Some years ago our company chose to run a critical proprietary app under SCO Unix.
My predecessor tried to move A SCO Unix virtual machine from our dedicated VMWare environment to a shared Cloud VMWare environment. My predecessor received licensing messages from these critical servers so... (2 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have installed Redhat Linux 5 in VMWARE and would need to access through putty form the same desktop or... (2 Replies)
Hi
I am new to Solaris and was just given my id and need to setup my environment, what do i need to do to run certain commands without putting in the complete path.
How do I create my .profile, I do not see under my login?
Any help would be greatly appreciated. (5 Replies)
Hi,
I need to uncompress a gzip and bzip file using java on unix solaris environment. I also need to retreive the header information of the file inorder to differentiate between gzip and bzip file. Please help
Pooja (0 Replies)
Hi All
I'm attempting to automate the process of setting the DISPLAY environment variable when logging on (sourcing the .cshrc).
I have a mixture of linux and solaris servers and this comnand:
who -m | awk '{ print $6}' | tr -d '()'
seems to work on all the servers.
I want... (2 Replies)
Hi,
I already have one CPP program which invokes the C program.And the C program contains whole function definitions..!This is a working program..I have to enable the logs in both CPP as well as in the C program ..!So I am reading the enviornmental variable log path from the CPP and doing the... (2 Replies)
In the Java programme, I am calling function, "Runtime.getRuntime().exec( cmdarray ); " with the array of arguments in which first argument is the binary(C-executable) file and argv1,argv2 and so on. This will be executed on Sun OS system.. I can execute using "sh -c cmdarray" on the shell... (0 Replies)
Hi,
I am trying to set environment variable on a remote machine. I want to do it by running a shell script
Here's what I am doin
rsh <remote-hostname> -l root "cd /opt/newclient; . ./setp.sh"
In setp.sh, I have
#############################
cd ../newlib;
export... (1 Reply)
Hello,
I want to set some environment variables with this script:
ip=$@
echo Remote Computer: $ip
PERLDB_OPTS="CallKomodo=$ip:9000 RemotePort=$ip:9010 PrintRet=0"
export PERLDB_OPTS
PERL5LIB=/opt/komodo
export PERL5LIB
echo PERLDB_OPTS: $PERLDB_OPTS
echo PERL5LIB: $PERL5LIB
But it... (5 Replies)