How do you import Java files that are longer than 24 characters?
Compiling them is OK. It's only when importing them into Scilab that gives the
error due to truncation.
jcompile("ThisIsALongJavaNameForScilab.java")
jimport("ThisIsALongJavaNameForScilab") // Error
Found a workaround. Using jinvoke allows you to use the method!
A = MyClass.new()
B = jinvoke(A,"thisIsAVeryVeryLongMethodName",5)
From: joodl...@hotmail.com
To: users@lists.scilab.org
Date: Fri, 27 Feb 2015 14:53:34 +0800
Subject: [Scilab-users] Handling a very long Java method name
I have
I have a Java class that has a very long method name. When using the method,
Scilab will give a warning and truncates the method to fit 24 characters. As a
result, I will get an error saying that it is an invalid field. Is there a way
to overcome this? Thanks.
--> A = MyClass.new()
--> B = A.t
e: Wed, 28 Jan 2015 13:47:09 +0100
> Subject: Re: [Scilab-users] Changing Java JDK/JRE version used by Scilab
>
> Hello,
>
> Le mercredi 28 janvier 2015 à 15:12 +0800, Joo Cat a écrit :
> > I have a Java class which was compiled using JDK 1.8. When I try to
> > import th
I have a Java class which was compiled using JDK 1.8. When I try to import this
class into Scilab, it gave me an error which says: Unsupported major.minor
version 52.0.
I suspected that this could be due to Scilab using an older JRE. So I checked
using system_getproperty('java.version') and it s
Bug reported and the workaround works. Thanks!
Date: Fri, 23 Jan 2015 08:52:09 +0100
From: calixte.deni...@scilab-enterprises.com
To: users@lists.scilab.org
Subject: Re: [Scilab-users] Problem using jarray (Scilab 5.5.1)
On 23/01/2015 07:39, Joo Cat wrote
I was attempting to create a jagged array in Scilab to be sent to a Java
instance. At first, I created a Double class array and had no problems:
a = jarray("java.lang.Double",3,1)
a(1) = [1 2 3]
a(2) = [4 5]
a(3) = 6
Next, I attempted to create a primitive double array instead:
b = jarray("dou
I have a jar file which contains java classes. I can set a path to the jar
using javaclasspath. In order to use these classes, I need to import them first
using jimport. However, the jar contains a significant number of classes and so
using jimport will be tedious and time consuming. Is there a
littering the scilab
console. Please consider using the Java console for Java messages...
/Claus
On Oct 17, 2014 3:13 AM, "Joo Cat" wrote:
Hello,
I tried the consolebox on and I can now see the Java messages on the Windows
console. Thanks!
Any ideas on how to bring these messages into
System.err.println Messages not displayed in
Scilab Console
Le 16/10/2014 10:05, Joo Cat a écrit :
I was trying out Example 1 in Getting Started
- Beginning under Java from Scilab. The Scilab that I was
I was trying out Example 1 in Getting Started - Beginning under Java from
Scilab. The Scilab that I was using was 5.5.1 32bit.
Compiling and importing the Java code was not a problem. I was able to create a
HelloWorld object as well.
However,
I did not get the "HelloWorld constructed!
11 matches
Mail list logo