java1.8 719 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#%Module######################################################################
#
# java1.8 modulefile
#

proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use java1.8."
puts stderr "You could use BEAST2.2.1 with that version."
puts stderr "The program java1.8"
puts stderr "is added to PATH."
}


set is_module_rm [module-info mode remove]

set JAVA_LEVEL 1.8
#set JAVA_CURPATH /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.20-3.b26.el6.x86_64/
set JAVA_CURPATH /etc/alternatives/jre_1.8.0_openjdk
setenv JAVA_HOME $JAVA_CURPATH

prepend-path PATH       $JAVA_CURPATH/bin/
prepend-path LD_LIBRARY_PATH  $JAVA_CURPATH/lib/

append-path  PE_PRODUCT_LIST  JAVA