[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 456
  • Last Modified:

module load java on CentOS 6.2

I have a user trying to port old code (scripts) and one of the lines calls "module load java". I can't fins a java module. Is there such a thing or is this a legacy issue?
0
mfsteve
Asked:
mfsteve
  • 2
1 Solution
 
asavahCommented:
Stupid question, do you have JRE/JDK installed? If yes, which version?
Bash scripts shouldn't call "module load java" but "module load java/1.6.0u31" substitute 1.6.0u31 with your installed version.

http://www.uibk.ac.at/th-physik/howto/hpc/java.html
0
 
mfsteveAuthor Commented:
I have JRE and JDK installed in opt (I installed them). A search for a module directory came up with nothing. module available lists the vendor supplied modules in /opt and this is reflected in MODULEPATH and MODULEHOME. module list comes back with none loaded.

So I guess the better question is: Where is the java module?
0
 
CEHJCommented:
'Modules' and java have little in common. There are native libraries involved in Java but they would normally never need to be loaded explicitly. That would happen automatically when the java executable is run
0
 
CEHJCommented:
:)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now