[Scilab-Dev] setlanguage
Sylvestre Ledru
sylvestre.ledru at scilab.org
Sun Aug 10 00:38:14 CEST 2008
Goups, sorry, Didn't notice that was on the public ML.
Sorry for the noise.
Sylvestre
Le dimanche 10 août 2008 à 00:36 +0200, Sylvestre Ledru a écrit :
> Niet. My boss and I are in holidays ;)
>
> S
>
> Le mardi 05 août 2008 à 20:15 +0200, Jakub Szypulka a écrit :
> > Anything new?
> >
> > Jakub Szypulka
> > Tango artist
> >
> >
> > MSN: kubasz at yahoo.com
> > ICQ: 264595412
> > AIM: aimcube
> >
> > Skype: cube_s
> > Yahoo!IM: kubasz
> > Xfire: cubibubi
> >
> > GTalk: cubibubi at googlemail.com
> > GaduGadu: 11945489
> > IRC: (Freenode) ``Cube
> >
> > http://cubestuff.wordpress.com
> >
> >
> > -----Original Message-----
> > From: Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org]
> > Sent: Dienstag, 5. August 2008 14:38
> > To: dev at lists.scilab.org
> > Subject: Re: [Scilab-Dev] setlanguage
> >
> > You should get a full output from the Java here.
> > Usually, it is because it cannot find a java dep (jar file) in the
> > classpath.
> >
> > Sylvestre
> >
> > Le mardi 05 août 2008 à 19:22 +0800, Yung-Jang Lee a écrit :
> > > Hi,
> > >
> > > I use the VC++ debug to trace the code (SVN source). It's function
> > > 'createMainScilabObject' that generate error.
> > >
> > > Variable 'ScilabObject' return 0x0000000. Other variables (cls,mid)
> > > are valid, and ScilabMode=2 .
> > >
> > >
> > > Hope this can help.
> > >
> > >
> > > -----------------------------------------------------------------------------------------------
> > > BOOL createMainScilabObject(void)
> > > {
> > > BOOL bOK = FALSE;
> > > JNIEnv * currentENV = getScilabJNIEnv();
> > >
> > > if (currentENV)
> > > {
> > > jclass cls=NULL;
> > > cls = (*currentENV)->FindClass(currentENV,
> > > "org/scilab/modules/jvm/Scilab");
> > > bOK=catchIfJavaException(_("Could not access to the Main
> > > Scilab Class:\n"));
> > > if (cls)
> > > {
> > > jmethodID mid=NULL;
> > > mid =
> > > (*currentENV)->GetMethodID(currentENV,cls,"<init>","(I)V");
> > > bOK=catchIfJavaException(_("Could not access to the
> > > constructor of the Main Scilab Class:\n"));
> > > if (mid)
> > > {
> > > jint ScilabMode = getScilabMode();
> > > ScilabObject =
> > > (*currentENV)->NewObject(currentENV,cls,mid,ScilabMode); //<----ScilabObject return 0x00000
> > > /* Catch the exception and display an human-reading
> > > error message
> > > */
> > > bOK=catchIfJavaException(_("Could not create a Scilab
> > > main class. Error:\n"));
> > > }
> > > }
> > > }
> > >
> > > return bOK;
> > > }
> > > -----------------------------------------------------------------------------------------------------------------
> > >
> > >
> > > YungLee
> > >
> > >
> > > 2008/8/5 Yung-Jang Lee <yjlee123 at gmail.com>
> > > Hi,
> > >
> > > I restart my machine (WindowsXP) , edit the file as you tell
> > > me and launch Scilab.
> > >
> > > The error message is the same.
> > >
> > > And then I copy thirdpady and java/JRE from Beta4 binary to
> > > SE-trunk-26414 binary, and launch Scilab.
> > >
> > > The error message still the same.
> > >
> > >
> > >
> > >
> > >
> > > YungLee
> > >
> > > 2008/8/5 Allan CORNET <allan.cornet at scilab.org>
> > > Hi,
> > >
> > >
> > >
> > > Can you try this with your svn version or nightly
> > > build:
> > >
> > >
> > >
> > > Please verify that you don't have a scilab process and
> > >
> > >
> > >
> > > Edit file : <SCI>/modules/jvm/etc/jvm_options.xml
> > >
> > >
> > >
> > > Line 23 : replaces <jvm_option
> > > string_option="-Djava.compiler=JIT"/> by
> > >
> > > <jvm_option string_option="-Djava.compiler=NONE"/>
> > >
> > >
> > >
> > > Save file
> > >
> > >
> > >
> > > Launch a new scilab.
> > >
> > >
> > >
> > > Always same error ?
> > >
> > >
> > >
> > > Thanks for your help
> > >
> > >
> > >
> > > Allan CORNET
> > >
> > >
> > >
> > >
> > >
> > > De : Yung-Jang Lee [mailto:yjlee123 at gmail.com]
> > > Envoyé : mardi 5 août 2008 11:32
> > >
> > >
> > >
> > > À : dev at lists.scilab.org
> > > Objet : Re: [Scilab-Dev] setlanguage
> > >
> > >
> > >
> > > Hi,
> > >
> > > I have download nightly build and install to two
> > > machines , but the error messages are exact the same
> > > as the one I build from source.
> > >
> > > I also check to run ScilabBeta4 and it still running
> > > in my machine.
> > >
> > > It looks like there are some errors in the new Windows
> > > prerequirement.
> > >
> > > YungLee
> > >
> > > 2008/8/5 Allan CORNET <allan.cornet at scilab.org>
> > >
> > > Hi,
> > >
> > >
> > >
> > > Can you try with a nightly build :
> > > http://www.scilab.org/download/index_download.php?page=nightly_builds
> > >
> > >
> > >
> > > May be, you can do a full clean of the VS solution
> > > and build.
> > >
> > >
> > >
> > > I checked on Win2k, XP, & vista and I cannot reproduce
> > > your problem.
> > >
> > >
> > >
> > > Thanks you
> > >
> > >
> > >
> > > Allan CORNET
> > >
> > >
> > >
> > >
> > >
> > > De : Yung-Jang Lee [mailto:yjlee123 at gmail.com]
> > > Envoyé : mardi 5 août 2008 08:24
> > > À : dev at lists.scilab.org
> > > Objet : Re: [Scilab-Dev] setlanguage
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I update the prerequirement on Windows, copy
> > > contains under Windows directory to scilab root and
> > > rebuild Scilab 5. But an error occurs during Scilab
> > > startup :
> > >
> > > "Scilab cannot create Scilab Java Main-Class(we have
> > > not been able to find the main Scilab class. Check if
> > > the Scilab and thirdparty packages are avaiable.)
> > >
> > > Any suggestion to resolve it ?
> > >
> > > Thank you in advnace.
> > >
> > > YungLee
> > >
> > > 2008/8/4 Allan CORNET <allan.cornet at scilab.org>
> > >
> > > Hi,
> > >
> > >
> > >
> > > I added possibility to set your default language in
> > > scilab.
> > >
> > >
> > >
> > > Example :
> > >
> > > setlanguage('fr_FR')
> > >
> > > you switch to French, you need to restart scilab if
> > > you want to update menus.
> > >
> > >
> > >
> > > At the next restart of scilab , language by default
> > > will be 'fr_FR'
> > >
> > >
> > >
> > > If you want to use system default : setlanguage("")
> > >
> > >
> > >
> > > I am very interested , if you can check with others
> > > languages as 'ru_RU' and 'zh_TW'
> > >
> > >
> > >
> > > On Windows, I advise to update your prerequirement
> > > (svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/Windows)
> > >
> > >
> > >
> > > Thanks you
> > >
> > >
> > >
> > > Best Regards
> > >
> > >
> > >
> > > Allan CORNET
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
More information about the dev
mailing list