|
[Sponsors] |
FoamX problems with Java and Locale setting AMD64 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 6, 2006, 11:06 |
I am getting this error when t
|
#1 |
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---- |
|
July 6, 2006, 13:53 |
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 |
||
July 6, 2006, 22:40 |
Yes, I saw it and I read it. I
|
#3 |
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.
|
|
July 7, 2006, 13:50 |
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 |
||
July 7, 2006, 14:49 |
Thank you very much, adding
|
#5 |
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! |
|
July 7, 2006, 17:21 |
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 |
Glad to hear that it worked. You're quite welcome
|
|
|
|
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 |