|
[Sponsors] |
Getting OpenFOAM to coexist with an existing JAVA VM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 22, 2007, 04:06 |
Hi all,
Firstly, may I say
|
#1 |
New Member
Nik Trevallyn-Jones
Join Date: Mar 2009
Location: Sydney, NSW, Australia
Posts: 2
Rep Power: 0 |
Hi all,
Firstly, may I say I am very impressed with what I've seen of OpenFOAM. I have a query regarding the installation - I hope it doesn't appear that I'm complaining. OpenFOAM runs fine for me (as far as I have tested), but the installation of OpenFOAM has broken my existing JAVA installation. I develop and use a lot of JAVA on my machine, and cannot afford to have JAVA broken by another application. Is there something I've done wrong, or can do differently to get OpenFOAM to coexist with my java installation? The problem is that the OpenFOAM .basrc unconditionally sets JAVA_HOME, JAVA_PATH and JAVA_ROOT to the OpenFOAM java installation dir. It also sets CLASSPATH to '.'. This breaks my other java applications which I wish to run using the VM (JDK 1.6) I have already installed in /usr/java/jdk, and with a CLASSPATH which includees various extensions including JMF and JOGL. One 'simple' solution which seems apparent is to have the various OpenFOAM tools source the .bashrc file, rather than relying on it being sourced *before* those tools are run. In this way, the OpenFOAM environment settings would be per-process, rather than for every shell I ever run. However, there is quite probably a better solution already provided, and if so I would be very thankful if someone could point me in the right direction. Thanks again for such a powerful took. Cheers! Nik. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running Existing Code: Commands Grayed Out | Michael Rasche | FLUENT | 1 | July 25, 2012 07:11 |
How can i use an existing surface mesh? | Sebastian | CFX | 1 | February 29, 2008 09:51 |
return a value for not existing volume in .cse | Richard | CFX | 1 | March 19, 2007 11:51 |
creating spline along existing line cell? | guang ai | Siemens | 3 | September 4, 2006 02:33 |
Initializing using existing data | Ray | FLUENT | 2 | September 16, 2002 16:14 |