views:

149

answers:

1

hi,

I am trying to set up SCILAB's javasci ineclipse for the whole day, but it's not working and I don't know, what they want to tell me with http://www.scilab.org/product/man/compile_and_run_javasci.html

in included the javasci.jar in the properties/libraray so that eclipse knows the special comands but afterwards it desn't work. I copied the javasci.dll into the folder and nothing happaned and I don't know why and whre to set up the stuff mentioned on the manual page.

if anyone of you have doe this before, pleaaaase tell me how and what to do!

I'm using scilab 5.2.1 and winxp and I'm just a hobby programmer, so please describe step-by-step.

THANK you in advance, Andreas

A: 

I am not familiar with SCILAB, but it sounds like you need to define the java library path so it knows where to find your dll.

From command-line, it's done with -Djava.library.path or in a batch file. In eclipse, you can define -Djava.library.path in the vm arguments in the launcher for your main class. You can find and configure all the launchers through the run/debug buttons.

EDIT: according to the page that you referred to, you need to add the folder where the dll resides to your global windows path (and my guess is that you'll need to reboot afterwards as well). Still, I'd use java.library.path.

Yoni
hi Yoni,unfortunally I haven't been able to do this. I tried this with their batched axamples, and by doing this in winXP's systems settings, but it didn't work. Could you please tell me how to do that right?
Andreas Hornig