Hi,
You don’t need to do anything. The environment should be set up by default when
you install java. What do you get if run ‘java -version’ in the terminal? If
all is well it’ll report the current version of java.
Also when defining an environment variable in bash don’t prefix the name with
‘$’ e.g.
export JAVA_HOME=/Library/etc…
Cheers,
Chris
On 13/02/2015 06:27, "yoyofang...@sjtu.edu.cn<mailto:yoyofang...@sjtu.edu.cn>"
<yoyofang...@sjtu.edu.cn<mailto:yoyofang...@sjtu.edu.cn>> wrote:
Hey guys,
I am very new to Java.
I can trace the location of 1.7Jdk by terminal yet I couldn’t set up the Java
environment to get Picard started.
Details are:
SEBASTIANs-MacBook-Pro:~ FLFLFLLF$ export
$JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk
-bash: export: `=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk': not a
valid identifier
SEBASTIANs-MacBook-Pro:~ FLFLFLLF$ export
$JAVA_HOME=/Library/Java/JavaVirtualMachines/
-bash: export: `=/Library/Java/JavaVirtualMachines/': not a valid identifier
SEBASTIANs-MacBook-Pro:~ FLFLFLLF$ export
$JAVA_HOME=/Library/Java/JavaVirtualMachines
-bash: export: `=/Library/Java/JavaVirtualMachines': not a valid identifier
I tried to modify my commands yet the system keep telling me it’s not a valid
identifier….
So what should I type?
Thanks
Best. Fang
The University of Dundee is a registered Scottish Charity, No: SC015096
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help