|
[Sponsors] |
April 27, 2008, 22:51 |
Can someone explain to me how
|
#1 |
Member
Stephen
Join Date: Mar 2009
Posts: 48
Rep Power: 17 |
Can someone explain to me how to do this , I am unsure of how to proceed.
Kind Regards Stephen To use the JAVA supplied with the system, you need to set the $JAVA_HOME environment variable to the path of the installation, e.g. '/usr'. This is set in the $HOME/OpenFOAM/OpenFOAM-1.4.1/.bashrc (or .cshrc) file. |
|
April 28, 2008, 09:37 |
There may be a bit of a gotcha
|
#2 |
Member
Graeme Cottrell
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
There may be a bit of a gotcha in there somewhere, because if you tell it the system's Java is somewhere that places the system's C++ compiler on the path before the C++ compiler installed under $HOME/OpenFOAM/linux, you can run into trouble.
From memory, it can be overcome with a simple edit of one of the OpenFOAM shell initialisation scripts. Sorry, but I can't remember which one. Probably safer to use the Java and C++ downloadable from openfoam.co.uk if you can't get it to work. Regards, Graeme. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
home environnement | Matthieu | FLUENT | 0 | November 14, 2004 09:41 |
home environment | john | FLUENT | 2 | May 24, 2004 06:55 |
64-bit processors for home computing | Ananda Himansu | Main CFD Forum | 2 | March 16, 2004 13:48 |
Home environment must be set!! | Michael Vredevoort | FLUENT | 1 | April 1, 2002 14:59 |