CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   FoamX problems with Java and Locale setting AMD64 (http://www.cfd-online.com/Forums/openfoam-installation/57635-foamx-problems-java-locale-setting-amd64.html)

geimerma July 6, 2006 10:06

I am getting this error when t
 
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----

msrinath80 July 6, 2006 12:53

Have you checked this thread?
 
Have you checked this[1] thread?

[1] http://www.cfd-online.com/OpenFOAM_D...es/1/1130.html

geimerma July 6, 2006 21:40

Yes, I saw it and I read it. I
 
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.

msrinath80 July 7, 2006 12:50

Google is you friend http://ww
 
Google is you friend http://www.cfd-online.com/OpenFOAM_D...part/happy.gif

http://ubuntuforums.org/showthread.p...=locale+set+CX

geimerma July 7, 2006 13:49

Thank you very much, adding
 
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!

msrinath80 July 7, 2006 16:21

Glad to hear that it worked. Y
 
Glad to hear that it worked. You're quite welcome http://www.cfd-online.com/OpenFOAM_D...part/happy.gif


All times are GMT -4. The time now is 03:31.