CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Java error while starting FoamX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2007, 17:52
Default I have installed OpenFOAM 1.3
  #1
New Member
 
Ery Djunaedy
Join Date: Mar 2009
Posts: 5
Rep Power: 17
erydj is on a distinguished road
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
Killed
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:
http://www.cfd-online.com/OpenFOAM_D...tml?1151539351

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?

Thanks,

Ery
erydj is offline   Reply With Quote

Old   May 3, 2007, 19:12
Default having the same problem with 1
  #2
Senior Member
 
Join Date: Mar 2009
Location: My oyster
Posts: 124
Rep Power: 17
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:

OpenFOAM-1.4/applications/utilities/preProcessing/FoamX/lib/FoamX.jar

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

Old   May 4, 2007, 09:53
Default I had a similar problem with F
  #3
New Member
 
Dominique Turmel
Join Date: Mar 2009
Location: Québec, Québec, Canada
Posts: 19
Rep Power: 17
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

Reply


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 Off
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 18: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 06:33
Java error while starting FoamX cfdengineering OpenFOAM Pre-Processing 16 June 28, 2006 21:02


All times are GMT -4. The time now is 01:58.