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

FoamX problems with Java and Locale setting AMD64

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2006, 11:06
Default I am getting this error when t
  #1
geimerma
Guest
 
Posts: n/a
I am getting this error when trying to run FoamX :

Exception in thread "main" java.lang.InternalError: Current locale is not supported

I am using the java from the OpenFOAM website, verified that it is using that with 'which java' which points to

/home/geimerma/OpenFOAM/linuxAMD64/j2sdk1.4.2_05/bin/java

The entire output from the run is below, any help is appreciated.

Thanks!

---Start output---

FoamX
Starting NameServer with inet:deus:1234 ...
Starting FoamX Host Browser with inet:deus:1234 ...
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : FoamXHostBrowser
Date : Jul 06 2006
Time : 11:10:29
Host : deus
PID : 28495
Root :
Case :
Nprocs : 1
HostBrowser running.....
Using jar /home/geimerma/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/ lib/FoamX.jar
Using jar /home/geimerma/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/FoamX/ lib/jlfgr-1_0.jar
current locale is not supported in X11, locale is set to CX locale modifiers are not supported, using defaultException in thread "main" java.lang.InternalError: Current locale is not supported
at sun.awt.motif.MWindowPeer.pSetTitle(Native Method)
at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:97 )
at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:58 )
at sun.awt.motif.MToolkit.createFrame(MToolkit.java:2 09)
at java.awt.Frame.addNotify(Frame.java:472)
at java.awt.Window.pack(Window.java:436)
at FoamX.App.initComponents(App.java:1333)
at FoamX.App.<init>(App.java:200)
at FoamX.App.main(App.java:184)
/home/geimerma/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 131: 28495 Killed FoamXHostBrowser -ORBNamingAddr $myIOP
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 28491).
/home/geimerma/OpenFOAM/OpenFOAM-1.3/bin/runFoamXHB: line 1: 28491 Killed nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null

----end output----
  Reply With Quote

Old   July 6, 2006, 13:53
Default Have you checked this thread?
  #2
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Have you checked this[1] thread?

[1] http://www.cfd-online.com/OpenFOAM_D...es/1/1130.html
msrinath80 is offline   Reply With Quote

Old   July 6, 2006, 22:40
Default Yes, I saw it and I read it. I
  #3
geimerma
Guest
 
Posts: n/a
Yes, I saw it and I read it. I don't know where to put 'set -x' to get all the output. I also am already using the openfoam recommended java binaries, and it appears that is the only java installed on the system.
  Reply With Quote

Old   July 7, 2006, 13:50
Default Google is you friend http://ww
  #4
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Google is you friend

http://ubuntuforums.org/showthread.p...=locale+set+CX
msrinath80 is offline   Reply With Quote

Old   July 7, 2006, 14:49
Default Thank you very much, adding
  #5
geimerma
Guest
 
Posts: n/a
Thank you very much, adding

setenv XLOCALEDIR to my 32bit locale directory for X in debian (/emul/ia32-linux/usr/X11R6/lib/X11/locale) worked, FoamX Opened right after that.

It would seem my google search skills need a little work :-P

Thanks again!
  Reply With Quote

Old   July 7, 2006, 17:21
Default Glad to hear that it worked. Y
  #6
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Glad to hear that it worked. You're quite welcome
msrinath80 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
FoamX Java problem kris OpenFOAM Installation 17 February 6, 2012 18:24
FoamX and Java Issues olih OpenFOAM Installation 5 March 30, 2008 18:22
Java error while starting FoamX erydj OpenFOAM Pre-Processing 2 May 4, 2007 09:53
Java error while starting FoamX cfdengineering OpenFOAM Pre-Processing 16 June 28, 2006 21:02
Problems wtih FoamX alexander OpenFOAM Installation 2 March 14, 2006 07:13


All times are GMT -4. The time now is 04:47.