|
[Sponsors] |
June 21, 2007, 11:38 |
Although I have a Java-VM inst
|
#1 |
New Member
Alexander Grahn
Join Date: Mar 2009
Posts: 12
Rep Power: 17 |
Although I have a Java-VM installed in the system (sun-jdk-1.4.2.14) I put the recommended version (j2sdk1.4.2_05) into the `linux' subdirectory of $HOME/OpenFOAM and adjusted `JAVA_HOME' $HOME/OpenFOAM/OpenFOAM-1.4/.bashrc accordingly.
This is what foamInstallationTest outputs: ... Checking the FOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/grahn/OpenFOAM/OpenFOAM-1.4 yes yes yes $FOAM_USER_APPBIN ...-1.4/applications/bin/linuxGcc4DPOpt yes yes no $FOAM_APPBIN ...-1.4/applications/bin/linuxGcc4DPOpt yes yes yes $WM_DIR /home/grahn/OpenFOAM/OpenFOAM-1.4/wmake yes yes yes $FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes $CEI_HOME /usr/local/ensight/CEI no no $JAVA_PATH /home/grahn/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no $MICO_ARCH_PATH ...mico-2.3.12/platforms/linuxGcc4DPOpt yes yes yes $LAM_ARCH_PATH ...c/lam-7.1.2/platforms/linuxGcc4DPOpt yes yes yes $MPICH_ARCH_PATH --------- env variable not set --------- no ------------------------------------------------------------------------------- ... ... Software versions ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.1.2 /usr/bin/gcc java 1.4.2_05 /home/grahn/OpenFOAM/linux/j2sdk1.4.2_05/bin/java gzip 1.3.12 /bin/gzip tar 1.3.12 /usr/bin/tar icoFoam ...M/OpenFOAM-1.4/applications/bin/linuxGcc4DPOpt/icoFoam ------------------------------------------------------------------------------- ... However, FoamX crashes soon after starting: Starting NameServer with inet:fwss41:1234 ... Starting FoamX Host Browser with inet:fwss41:1234 ... /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.4 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : FoamXHostBrowser Date : Jun 21 2007 Time : 17:32:24 Host : fwss41 PID : 23329 Root : Case : Nprocs : 1 HostBrowser running..... Setting LANG to en_EN Using jar /home/grahn/OpenFOAM/OpenFOAM-1.4/applications/utilities/preProcessing /FoamX/lib/FoamX.jar Using jar /home/grahn/OpenFOAM/OpenFOAM-1.4/applications/utilities/preProcessing /FoamX/lib/jlfgr-1_0.jar Exception in thread "main" java.lang.NoClassDefFoundError: FoamX/App /home/grahn/OpenFOAM/OpenFOAM-1.4/bin/runFoamXHB: line 139: 23329 Killed FoamXHostBrowser -ORBNamingAddr $myIOP runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 23325). /home/grahn/OpenFOAM/OpenFOAM-1.4/bin/runFoamXHB: line 66: 23325 Killed nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref < /dev/null What is wrong? Help is greatly appreciated. (I am running Gentoo-Linux.) Alexander |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Starting FoamX error | jaswi | OpenFOAM Installation | 15 | February 7, 2012 14:53 |
Problem with starting FoamX | laker | OpenFOAM Installation | 2 | May 13, 2008 09:34 |
FoamX starting on Fedora 8 x86_64 and i386 Error nsd ORBIIOPAddr %24myIOP ior %24FOAMX_CONFIGnsref %2360 devnull | rationaalinen | OpenFOAM Pre-Processing | 6 | December 2, 2007 11:40 |
Java error while starting FoamX | erydj | OpenFOAM Pre-Processing | 2 | May 4, 2007 08:53 |
Java error while starting FoamX | cfdengineering | OpenFOAM Pre-Processing | 16 | June 28, 2006 20:02 |