Re: user.language property not working on jdk1.2 pre-v2 ?
On Mon, Jun 07, 1999 at 02:53:40PM +0200, Juergen Kreileder wrote: > > Stef Epardaud writes: > > Stef> the way i used locales is by making it an argument to java, > Stef> this works fine under jdk1.1 and jdk1.2 pre-v1. > > Stef> java -Duser.language=nl localetest > > Stef> if i run this test with jdk1.1 or jdk1.2 pre-v1 i get the > Stef> Locale.getDefault() to return me 'nl' > > Stef> but with jdk1.2 pre-v2 i get 'en_US' > > The property works, it just has no effect on the default locale. > Try 'LC_ALL=nl_NL java localetest'. > > I'm not sure what's the right result here: The Solaris JDK 1.2 says > 'en', the Windows JDK 1.2.2 says 'nl_US'. > > > Juergen well it did work before the pre-v2, even in the jdk1.1, so there has been a change somewhere in the process, right? the linux pre-v2, does it come from Sun's jdk1.2 or 1.2.2 ? btw: nl_US ... does that mean anything ? -- ~ ~ Men invented the computer, God created bugs. Men invented ~ Stef~ projects to fix bugs, God invented the deadline. Men, ~ the~ then wiser, tried to go beyond the deadline, and they ~ i n ~ created the living-dead-projects: a more elaborated kind ~ n a ~ of mutant projects, not controlable and absolutly evil. ~ f i ~ ~ ormagic ~ ~ ~ These are only some stupid signatures, i never said you had to read them... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problems with an external library which use pthread
Hi, I'm trying to port a C library which use pthread with the Blackdown JDK 1.1.7 on Linux. The C library is linked with the JVM using JNI. This works correctly. One of the function of the C library create a new thread using the pthread_create (of the pthread library). The external library is compiled as a shared library and linked with the pthread library. it works correctly when used from an C or C++ program. But when used with Java (with green threads), the function crash with a "segmentation violation" error and the crash seems to occur when the pthread_create function is executed. Using Java with native threads does not help and the program hangs before calling this function. Is there something special related to the use of pthread functions in a C library called from Java? Thanks Stephane Letz Grame: Centre National de creation musicale 9, Rue du Garet 69001 Lyon Tel: 04-72-07-37-00 Fax: 04-72-07-37-01 Web: www.grame.fr -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problems with Appletviewer and security
Hi, I am trying to launch an applet (installed on my hard disk, not from the network) that access native libraries . Native libraries are correctly installed and can be used with an application. But i get a Security exception (when using loadLibrary) Can the Security manager be configurated to allows applets to access Native libraries? I'm using JDK 1.2.2 RC4 Thanks Stephane Letz Grame: Centre National de creation musicale 9, Rue du Garet 69001 Lyon Tel: 04-72-07-37-00 Fax: 04-72-07-37-01 Web: www.grame.fr -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
