CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

Java error while starting FoamX

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 6, 2007, 17:52
Default I have installed OpenFOAM 1.3
New Member
Ery Djunaedy
Join Date: Mar 2009
Posts: 4
Rep Power: 10
erydj is on a distinguished road
Sponsored Links
I have installed OpenFOAM 1.3 on an AMD64 ubuntu system today.

The installation is ok, I can run the first tutorial without problem. But when I try to start FoamX I receive this error:

****START ERROR*********
Exec : FoamXHostBrowser
Date : Mar 06 2007
Time : 14:53:42
Host : erydj-desktop
PID : 11322
Root :
Case :
Nprocs : 1
HostBrowser running.....
Using jar /home/erydj/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/lib /FoamX.jar
Using jar /home/erydj/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/lib /jlfgr-1_0.jar
/home/erydj/OpenFOAM/OpenFOAM-1.3/bin/FoamX: 243: /home/erydj/OpenFOAM/linuxAMD64/j2sdk1.4.2_05/bin/java: not found
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 11318).
****END ERROR***********

It seems that the java executable cannot be found. I have checked that the file does exist in the specified directory.

I found similar problem on OpenFOAM 1.2:

The problem on that thread was missing app.class from lib/FoamX.jar. However, I could not even execute "jar lib/FoamX.jar" because it will have the same error message that "jar" file cannot be found. Furthermore, I believe that the missing app.class has been corrected in 1.3.

Any suggestion where should I move from this point?


erydj is offline   Reply With Quote
Sponsored Links

Old   May 3, 2007, 18:12
Default having the same problem with 1
Senior Member
Ziad Boutanios
Join Date: Mar 2009
Location: MontrÚal, Canada
Posts: 114
Rep Power: 10
ziad is on a distinguished road
having the same problem with 1.4 on kubuntu feisty faun (fresh install with no previous OF versions).

there is a App.class in:


Can the case difference cause the error?
ziad is offline   Reply With Quote

Old   May 4, 2007, 08:53
Default I had a similar problem with F
New Member
Dominique Turmel
Join Date: Mar 2009
Location: Qu├ębec, Qu├ębec, Canada
Posts: 19
Rep Power: 10
doum is on a distinguished road
I had a similar problem with FoamX on Fedora Core 6. I had to set SELinux secutiry to disabled... In a first time, it was set to "Strict" and that was the problem... Hope this can help!
doum is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting FoamX error jaswi OpenFOAM Installation 15 February 7, 2012 15:53
FoamX and Java Issues olih OpenFOAM Installation 5 March 30, 2008 17:22
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 12:40
FoamX not starting Javarelated error agrahn OpenFOAM Pre-Processing 5 October 20, 2007 05:33
Java error while starting FoamX cfdengineering OpenFOAM Pre-Processing 16 June 28, 2006 20:02

Sponsored Links

All times are GMT -4. The time now is 22:42.