summaryrefslogtreecommitdiff
path: root/modules/jvm
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/jvm
downloadscilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip
CMSCOPE changed
Diffstat (limited to 'modules/jvm')
-rwxr-xr-xmodules/jvm/.libs/libscijvm-algo.abin0 -> 592184 bytes
l---------modules/jvm/.libs/libscijvm-algo.la1
l---------modules/jvm/.libs/libscijvm-disable.la1
-rwxr-xr-xmodules/jvm/.libs/libscijvm-disable.lai41
l---------modules/jvm/.libs/libscijvm-disable.so1
l---------modules/jvm/.libs/libscijvm-disable.so.51
-rwxr-xr-xmodules/jvm/.libs/libscijvm-disable.so.5.5.2bin0 -> 10232 bytes
l---------modules/jvm/.libs/libscijvm.la1
-rwxr-xr-xmodules/jvm/.libs/libscijvm.lai41
l---------modules/jvm/.libs/libscijvm.so1
l---------modules/jvm/.libs/libscijvm.so.51
-rwxr-xr-xmodules/jvm/.libs/libscijvm.so.5.5.2bin0 -> 306592 bytes
-rwxr-xr-xmodules/jvm/Call_scilab_Import.def6
-rwxr-xr-xmodules/jvm/Makefile1688
-rwxr-xr-xmodules/jvm/Makefile.am121
-rwxr-xr-xmodules/jvm/Makefile.in1688
-rwxr-xr-xmodules/jvm/Scilab_Windows_Import.def5
-rwxr-xr-xmodules/jvm/build.xml20
-rwxr-xr-xmodules/jvm/build/classes/org/scilab/modules/jvm/ClassPath$1.classbin0 -> 1035 bytes
-rwxr-xr-xmodules/jvm/build/classes/org/scilab/modules/jvm/ClassPath.classbin0 -> 2564 bytes
-rwxr-xr-xmodules/jvm/build/classes/org/scilab/modules/jvm/LibraryPath.classbin0 -> 2021 bytes
-rwxr-xr-xmodules/jvm/build/classes/org/scilab/modules/jvm/LoadClassPath.classbin0 -> 3245 bytes
-rwxr-xr-xmodules/jvm/core_Import.def25
-rwxr-xr-xmodules/jvm/etc/jvm.quit10
-rwxr-xr-xmodules/jvm/etc/jvm.start14
-rwxr-xr-xmodules/jvm/help/en_US/addchapter.sce11
-rwxr-xr-xmodules/jvm/help/en_US/javaclasspath.xml49
-rwxr-xr-xmodules/jvm/help/en_US/javalibrarypath.xml56
-rwxr-xr-xmodules/jvm/help/en_US/jre_path.xml52
-rwxr-xr-xmodules/jvm/help/en_US/system_getproperty.xml214
-rwxr-xr-xmodules/jvm/help/en_US/system_setproperty.xml62
-rwxr-xr-xmodules/jvm/help/fr_FR/addchapter.sce11
-rwxr-xr-xmodules/jvm/help/ja_JP/addchapter.sce11
-rwxr-xr-xmodules/jvm/help/ja_JP/javaclasspath.xml88
-rwxr-xr-xmodules/jvm/help/ja_JP/javalibrarypath.xml110
-rwxr-xr-xmodules/jvm/help/ja_JP/jre_path.xml96
-rwxr-xr-xmodules/jvm/help/ja_JP/system_getproperty.xml367
-rwxr-xr-xmodules/jvm/help/ja_JP/system_setproperty.xml110
-rwxr-xr-xmodules/jvm/help/pt_BR/addchapter.sce11
-rwxr-xr-xmodules/jvm/help/ru_RU/addchapter.sce11
-rwxr-xr-xmodules/jvm/includes/InitializeJVM.h34
-rwxr-xr-xmodules/jvm/includes/TerminateJVM.h29
-rwxr-xr-xmodules/jvm/includes/addToClasspath.h35
-rwxr-xr-xmodules/jvm/includes/addToLibrarypath.h28
-rwxr-xr-xmodules/jvm/includes/catchIfJavaException.h29
-rwxr-xr-xmodules/jvm/includes/dynlib_jvm.h28
-rwxr-xr-xmodules/jvm/includes/getScilabJNIEnv.h27
-rwxr-xr-xmodules/jvm/includes/getScilabJavaVM.h27
-rwxr-xr-xmodules/jvm/includes/getScilabObject.h27
-rwxr-xr-xmodules/jvm/includes/gw_jvm.h31
-rwxr-xr-xmodules/jvm/includes/loadBackGroundClassPath.h28
-rwxr-xr-xmodules/jvm/includes/loadOnUseClassPath.h28
-rwxr-xr-xmodules/jvm/jar/org.scilab.modules.jvm.jarbin0 -> 6260 bytes
-rwxr-xr-xmodules/jvm/jvm.iss60
-rwxr-xr-xmodules/jvm/libjvm.vcxproj323
-rwxr-xr-xmodules/jvm/libjvm.vcxproj.filters205
-rwxr-xr-xmodules/jvm/libjvm_export.def15
-rwxr-xr-xmodules/jvm/libscijvm-algo.la41
-rwxr-xr-xmodules/jvm/libscijvm-disable.la41
-rwxr-xr-xmodules/jvm/libscijvm.la41
-rwxr-xr-xmodules/jvm/license.txt10
-rwxr-xr-xmodules/jvm/locales/ca_ES.po273
-rwxr-xr-xmodules/jvm/locales/cs_CZ.po271
-rwxr-xr-xmodules/jvm/locales/de_DE.po273
-rwxr-xr-xmodules/jvm/locales/es_ES.po280
-rwxr-xr-xmodules/jvm/locales/fr_FR.po281
-rwxr-xr-xmodules/jvm/locales/it_IT.po286
-rwxr-xr-xmodules/jvm/locales/ja_JP.po322
-rwxr-xr-xmodules/jvm/locales/jvm.pot358
-rwxr-xr-xmodules/jvm/locales/pl_PL.po276
-rwxr-xr-xmodules/jvm/locales/pt_BR.po281
-rwxr-xr-xmodules/jvm/locales/ru_RU.po276
-rwxr-xr-xmodules/jvm/locales/uk_UA.po285
-rwxr-xr-xmodules/jvm/locales/zh_CN.po256
-rwxr-xr-xmodules/jvm/locales/zh_TW.po255
-rwxr-xr-xmodules/jvm/macros/buildmacros.bat1
-rwxr-xr-xmodules/jvm/macros/buildmacros.sce9
-rwxr-xr-xmodules/jvm/macros/check_classpath.binbin0 -> 1720 bytes
-rwxr-xr-xmodules/jvm/macros/check_classpath.sci25
-rwxr-xr-xmodules/jvm/macros/check_librarypath.binbin0 -> 1728 bytes
-rwxr-xr-xmodules/jvm/macros/check_librarypath.sci25
-rwxr-xr-xmodules/jvm/macros/cleanmacros.bat3
-rwxr-xr-xmodules/jvm/macros/jre_path.binbin0 -> 224 bytes
-rwxr-xr-xmodules/jvm/macros/jre_path.sci15
-rwxr-xr-xmodules/jvm/macros/libbin0 -> 320 bytes
-rwxr-xr-xmodules/jvm/macros/names3
-rwxr-xr-xmodules/jvm/preferences_Import.def5
-rwxr-xr-xmodules/jvm/sci_gateway/c/.deps/.dirstamp0
-rwxr-xr-xmodules/jvm/sci_gateway/c/.deps/libscijvm_la-gw_jvm.Plo296
-rwxr-xr-xmodules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_javaclasspath.Plo306
-rwxr-xr-xmodules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_javalibrarypath.Plo241
-rwxr-xr-xmodules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_system_getproperty.Plo223
-rwxr-xr-xmodules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_system_setproperty.Plo223
-rwxr-xr-xmodules/jvm/sci_gateway/c/.dirstamp0
-rwxr-xr-xmodules/jvm/sci_gateway/c/.libs/libscijvm_la-gw_jvm.obin0 -> 7672 bytes
-rwxr-xr-xmodules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_javaclasspath.obin0 -> 15040 bytes
-rwxr-xr-xmodules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_javalibrarypath.obin0 -> 12800 bytes
-rwxr-xr-xmodules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_system_getproperty.obin0 -> 12072 bytes
-rwxr-xr-xmodules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_system_setproperty.obin0 -> 13648 bytes
-rwxr-xr-xmodules/jvm/sci_gateway/c/gw_jvm.c52
-rwxr-xr-xmodules/jvm/sci_gateway/c/libscijvm_la-gw_jvm.lo12
-rwxr-xr-xmodules/jvm/sci_gateway/c/libscijvm_la-sci_javaclasspath.lo12
-rwxr-xr-xmodules/jvm/sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo12
-rwxr-xr-xmodules/jvm/sci_gateway/c/libscijvm_la-sci_system_getproperty.lo12
-rwxr-xr-xmodules/jvm/sci_gateway/c/libscijvm_la-sci_system_setproperty.lo12
-rwxr-xr-xmodules/jvm/sci_gateway/c/sci_javaclasspath.c154
-rwxr-xr-xmodules/jvm/sci_gateway/c/sci_javalibrarypath.c74
-rwxr-xr-xmodules/jvm/sci_gateway/c/sci_system_getproperty.c57
-rwxr-xr-xmodules/jvm/sci_gateway/c/sci_system_setproperty.c71
-rwxr-xr-xmodules/jvm/sci_gateway/jvm_gateway.xml43
-rwxr-xr-xmodules/jvm/src/c/.deps/.dirstamp0
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-InitializeJVM.Plo282
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-JVM.Plo176
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-JVM_Unix.Plo139
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-JVM_commons.Plo173
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-TerminateJVM.Plo222
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-addToClasspath.Plo101
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-addToLibrarypath.Plo84
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-catchIfJavaException.Plo94
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-createMainScilabObject.Plo99
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-getClasspath.Plo146
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-getJvmOptions.Plo284
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-getLibrarypath.Plo146
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-loadBackGroundClassPath.Plo91
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-loadClasspath.Plo278
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-loadLibrarypath.Plo269
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-loadOnUseClassPath.Plo281
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-system_getproperty.Plo137
-rwxr-xr-xmodules/jvm/src/c/.deps/libscijvm_algo_la-system_setproperty.Plo145
-rwxr-xr-xmodules/jvm/src/c/.dirstamp0
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-InitializeJVM.obin0 -> 42472 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-JVM.obin0 -> 49696 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-JVM_Unix.obin0 -> 17712 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-JVM_commons.obin0 -> 37928 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-TerminateJVM.obin0 -> 6440 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-addToClasspath.obin0 -> 33648 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-addToLibrarypath.obin0 -> 32096 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-catchIfJavaException.obin0 -> 31344 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-createMainScilabObject.obin0 -> 41992 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-getClasspath.obin0 -> 34376 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-getJvmOptions.obin0 -> 33992 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-getLibrarypath.obin0 -> 34400 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-loadBackGroundClassPath.obin0 -> 31216 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-loadClasspath.obin0 -> 35896 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-loadLibrarypath.obin0 -> 29712 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-loadOnUseClassPath.obin0 -> 30000 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-system_getproperty.obin0 -> 33008 bytes
-rwxr-xr-xmodules/jvm/src/c/.libs/libscijvm_algo_la-system_setproperty.obin0 -> 33552 bytes
-rwxr-xr-xmodules/jvm/src/c/DllmainJvm.c35
-rwxr-xr-xmodules/jvm/src/c/InitializeJVM.c159
-rwxr-xr-xmodules/jvm/src/c/JVM.c301
-rwxr-xr-xmodules/jvm/src/c/JVM.h43
-rwxr-xr-xmodules/jvm/src/c/JVM_Unix.c218
-rwxr-xr-xmodules/jvm/src/c/JVM_Windows.c311
-rwxr-xr-xmodules/jvm/src/c/JVM_commons.c172
-rwxr-xr-xmodules/jvm/src/c/JVM_commons.h29
-rwxr-xr-xmodules/jvm/src/c/JVM_functions.h93
-rwxr-xr-xmodules/jvm/src/c/TerminateJVM.c25
-rwxr-xr-xmodules/jvm/src/c/addToClasspath.c59
-rwxr-xr-xmodules/jvm/src/c/addToLibrarypath.c55
-rwxr-xr-xmodules/jvm/src/c/catchIfJavaException.c33
-rwxr-xr-xmodules/jvm/src/c/createMainScilabObject.c166
-rwxr-xr-xmodules/jvm/src/c/createMainScilabObject.h34
-rwxr-xr-xmodules/jvm/src/c/getClasspath.c94
-rwxr-xr-xmodules/jvm/src/c/getClasspath.h25
-rwxr-xr-xmodules/jvm/src/c/getJvmOptions.c217
-rwxr-xr-xmodules/jvm/src/c/getJvmOptions.h18
-rwxr-xr-xmodules/jvm/src/c/getLibrarypath.c74
-rwxr-xr-xmodules/jvm/src/c/getLibrarypath.h25
-rwxr-xr-xmodules/jvm/src/c/libjvm.rc97
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-InitializeJVM.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-JVM.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-JVM_Unix.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-JVM_commons.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-TerminateJVM.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-addToClasspath.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-addToLibrarypath.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-catchIfJavaException.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-createMainScilabObject.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-getClasspath.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-getJvmOptions.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-getLibrarypath.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-loadBackGroundClassPath.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-loadClasspath.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-loadLibrarypath.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-loadOnUseClassPath.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-system_getproperty.lo12
-rwxr-xr-xmodules/jvm/src/c/libscijvm_algo_la-system_setproperty.lo12
-rwxr-xr-xmodules/jvm/src/c/loadBackGroundClassPath.c43
-rwxr-xr-xmodules/jvm/src/c/loadClasspath.c223
-rwxr-xr-xmodules/jvm/src/c/loadClasspath.h42
-rwxr-xr-xmodules/jvm/src/c/loadLibrarypath.c157
-rwxr-xr-xmodules/jvm/src/c/loadLibrarypath.h28
-rwxr-xr-xmodules/jvm/src/c/loadOnUseClassPath.c151
-rwxr-xr-xmodules/jvm/src/c/system_getproperty.c58
-rwxr-xr-xmodules/jvm/src/c/system_getproperty.h26
-rwxr-xr-xmodules/jvm/src/c/system_setproperty.c69
-rwxr-xr-xmodules/jvm/src/c/system_setproperty.h27
-rwxr-xr-xmodules/jvm/src/c/with_java.c19
-rwxr-xr-xmodules/jvm/src/c/with_java.h17
-rwxr-xr-xmodules/jvm/src/java/org/scilab/modules/jvm/ClassPath.java127
-rwxr-xr-xmodules/jvm/src/java/org/scilab/modules/jvm/LibraryPath.java89
-rwxr-xr-xmodules/jvm/src/java/org/scilab/modules/jvm/LoadClassPath.java119
-rwxr-xr-xmodules/jvm/src/jni/scilab_typemaps.i133
-rwxr-xr-xmodules/jvm/src/nojvm/.deps/.dirstamp0
-rwxr-xr-xmodules/jvm/src/nojvm/.deps/libscijvm_disable_la-nojvm.Plo65
-rwxr-xr-xmodules/jvm/src/nojvm/.dirstamp0
-rwxr-xr-xmodules/jvm/src/nojvm/.libs/libscijvm_disable_la-nojvm.obin0 -> 5344 bytes
-rwxr-xr-xmodules/jvm/src/nojvm/libscijvm_disable_la-nojvm.lo12
-rwxr-xr-xmodules/jvm/src/nojvm/nojvm.c120
-rwxr-xr-xmodules/jvm/src/nojvm/nojvm.rc97
-rwxr-xr-xmodules/jvm/src/nojvm/nojvm.vcxproj199
-rwxr-xr-xmodules/jvm/src/nojvm/nojvm.vcxproj.filters38
-rwxr-xr-xmodules/jvm/src/nojvm/nolibjvm_export.def15
-rwxr-xr-xmodules/jvm/string_Import.def7
-rwxr-xr-xmodules/jvm/tests/nonreg_tests/bug_3607.dia.ref19
-rwxr-xr-xmodules/jvm/tests/nonreg_tests/bug_3607.tst23
-rwxr-xr-xmodules/jvm/tests/unit_tests/javaclasspath.dia.ref13
-rwxr-xr-xmodules/jvm/tests/unit_tests/javaclasspath.tst16
-rwxr-xr-xmodules/jvm/tests/unit_tests/javalibrarypath.dia.ref13
-rwxr-xr-xmodules/jvm/tests/unit_tests/javalibrarypath.tst16
-rwxr-xr-xmodules/jvm/tests/unit_tests/system_setproperty.dia.ref24
-rwxr-xr-xmodules/jvm/tests/unit_tests/system_setproperty.tst31
-rwxr-xr-xmodules/jvm/xml/classpath.dtd18
-rwxr-xr-xmodules/jvm/xml/jvm-options.dtd13
-rwxr-xr-xmodules/jvm/xml/librarypath.dtd14
226 files changed, 19598 insertions, 0 deletions
diff --git a/modules/jvm/.libs/libscijvm-algo.a b/modules/jvm/.libs/libscijvm-algo.a
new file mode 100755
index 000000000..3463ecd6a
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm-algo.a
Binary files differ
diff --git a/modules/jvm/.libs/libscijvm-algo.la b/modules/jvm/.libs/libscijvm-algo.la
new file mode 120000
index 000000000..787d8a208
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm-algo.la
@@ -0,0 +1 @@
+../libscijvm-algo.la \ No newline at end of file
diff --git a/modules/jvm/.libs/libscijvm-disable.la b/modules/jvm/.libs/libscijvm-disable.la
new file mode 120000
index 000000000..ba2dbf2c6
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm-disable.la
@@ -0,0 +1 @@
+../libscijvm-disable.la \ No newline at end of file
diff --git a/modules/jvm/.libs/libscijvm-disable.lai b/modules/jvm/.libs/libscijvm-disable.lai
new file mode 100755
index 000000000..4b3e87fc6
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm-disable.lai
@@ -0,0 +1,41 @@
+# libscijvm-disable.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libscijvm-disable.so.5'
+
+# Names of this library.
+library_names='libscijvm-disable.so.5.5.2 libscijvm-disable.so.5 libscijvm-disable.so'
+
+# The name of the static archive.
+old_library=''
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscijvm-disable.
+current=10
+age=5
+revision=2
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/usr/local/lib/scilab'
diff --git a/modules/jvm/.libs/libscijvm-disable.so b/modules/jvm/.libs/libscijvm-disable.so
new file mode 120000
index 000000000..cba09d2b9
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm-disable.so
@@ -0,0 +1 @@
+libscijvm-disable.so.5.5.2 \ No newline at end of file
diff --git a/modules/jvm/.libs/libscijvm-disable.so.5 b/modules/jvm/.libs/libscijvm-disable.so.5
new file mode 120000
index 000000000..cba09d2b9
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm-disable.so.5
@@ -0,0 +1 @@
+libscijvm-disable.so.5.5.2 \ No newline at end of file
diff --git a/modules/jvm/.libs/libscijvm-disable.so.5.5.2 b/modules/jvm/.libs/libscijvm-disable.so.5.5.2
new file mode 100755
index 000000000..1680c730b
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm-disable.so.5.5.2
Binary files differ
diff --git a/modules/jvm/.libs/libscijvm.la b/modules/jvm/.libs/libscijvm.la
new file mode 120000
index 000000000..31049db28
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm.la
@@ -0,0 +1 @@
+../libscijvm.la \ No newline at end of file
diff --git a/modules/jvm/.libs/libscijvm.lai b/modules/jvm/.libs/libscijvm.lai
new file mode 100755
index 000000000..69a4cfc0e
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm.lai
@@ -0,0 +1,41 @@
+# libscijvm.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libscijvm.so.5'
+
+# Names of this library.
+library_names='libscijvm.so.5.5.2 libscijvm.so.5 libscijvm.so'
+
+# The name of the static archive.
+old_library=''
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=' -pthread'
+
+# Libraries that this one depends upon.
+dependency_libs=' -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscijvm.
+current=10
+age=5
+revision=2
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/usr/local/lib/scilab'
diff --git a/modules/jvm/.libs/libscijvm.so b/modules/jvm/.libs/libscijvm.so
new file mode 120000
index 000000000..d4699fdb5
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm.so
@@ -0,0 +1 @@
+libscijvm.so.5.5.2 \ No newline at end of file
diff --git a/modules/jvm/.libs/libscijvm.so.5 b/modules/jvm/.libs/libscijvm.so.5
new file mode 120000
index 000000000..d4699fdb5
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm.so.5
@@ -0,0 +1 @@
+libscijvm.so.5.5.2 \ No newline at end of file
diff --git a/modules/jvm/.libs/libscijvm.so.5.5.2 b/modules/jvm/.libs/libscijvm.so.5.5.2
new file mode 100755
index 000000000..19b8a47e5
--- /dev/null
+++ b/modules/jvm/.libs/libscijvm.so.5.5.2
Binary files differ
diff --git a/modules/jvm/Call_scilab_Import.def b/modules/jvm/Call_scilab_Import.def
new file mode 100755
index 000000000..e35ce5444
--- /dev/null
+++ b/modules/jvm/Call_scilab_Import.def
@@ -0,0 +1,6 @@
+LIBRARY call_scilab.dll
+
+
+EXPORTS
+IsFromJava
+
diff --git a/modules/jvm/Makefile b/modules/jvm/Makefile
new file mode 100755
index 000000000..9d9df640a
--- /dev/null
+++ b/modules/jvm/Makefile
@@ -0,0 +1,1688 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# modules/jvm/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) INRIA - 2006 - Sylvestre Ledru
+# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/scilab
+pkgincludedir = $(includedir)/scilab
+pkglibdir = $(libdir)/scilab
+pkglibexecdir = $(libexecdir)/scilab
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+am__append_1 = libscijvm.la
+
+# FIXME: This a platform specific flag, this should be done on configure.ac
+#am__append_2 = -framework JavaVM
+DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \
+ $(top_srcdir)/config/depcomp $(libscijvm_la_include_HEADERS)
+am__append_3 = java
+subdir = modules/jvm
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+ $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+ $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+ $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+ $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+ $(top_srcdir)/m4/intel_compiler.m4 \
+ $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+ $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+ $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+ $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
+ $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
+ $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
+ $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
+ $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(pkglibdir)" \
+ "$(DESTDIR)$(libscijvm_la_etcdir)" \
+ "$(DESTDIR)$(libscijvm_la_rootdir)" \
+ "$(DESTDIR)$(libscijvm_la_sci_gatewaydir)" \
+ "$(DESTDIR)$(libscijvm_la_xmldir)" \
+ "$(DESTDIR)$(libscijvm_la_includedir)"
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
+libscijvm_algo_la_LIBADD =
+am__dirstamp = $(am__leading_dot)dirstamp
+am__objects_1 = src/c/libscijvm_algo_la-InitializeJVM.lo \
+ src/c/libscijvm_algo_la-TerminateJVM.lo \
+ src/c/libscijvm_algo_la-JVM_Unix.lo \
+ src/c/libscijvm_algo_la-JVM.lo \
+ src/c/libscijvm_algo_la-addToClasspath.lo \
+ src/c/libscijvm_algo_la-loadOnUseClassPath.lo \
+ src/c/libscijvm_algo_la-loadBackGroundClassPath.lo \
+ src/c/libscijvm_algo_la-getClasspath.lo \
+ src/c/libscijvm_algo_la-system_getproperty.lo \
+ src/c/libscijvm_algo_la-system_setproperty.lo \
+ src/c/libscijvm_algo_la-loadClasspath.lo \
+ src/c/libscijvm_algo_la-createMainScilabObject.lo \
+ src/c/libscijvm_algo_la-JVM_commons.lo \
+ src/c/libscijvm_algo_la-catchIfJavaException.lo \
+ src/c/libscijvm_algo_la-loadLibrarypath.lo \
+ src/c/libscijvm_algo_la-getLibrarypath.lo \
+ src/c/libscijvm_algo_la-addToLibrarypath.lo \
+ src/c/libscijvm_algo_la-getJvmOptions.lo
+am_libscijvm_algo_la_OBJECTS = $(am__objects_1)
+libscijvm_algo_la_OBJECTS = $(am_libscijvm_algo_la_OBJECTS)
+AM_V_lt = $(am__v_lt_$(V))
+am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
+am__v_lt_0 = --silent
+am__v_lt_1 =
+am_libscijvm_algo_la_rpath =
+libscijvm_disable_la_LIBADD =
+am_libscijvm_disable_la_OBJECTS = \
+ src/nojvm/libscijvm_disable_la-nojvm.lo
+libscijvm_disable_la_OBJECTS = $(am_libscijvm_disable_la_OBJECTS)
+am__DEPENDENCIES_1 =
+libscijvm_la_DEPENDENCIES = libscijvm-algo.la $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+am__objects_2 = sci_gateway/c/libscijvm_la-sci_system_getproperty.lo \
+ sci_gateway/c/libscijvm_la-sci_system_setproperty.lo \
+ sci_gateway/c/libscijvm_la-sci_javaclasspath.lo \
+ sci_gateway/c/libscijvm_la-gw_jvm.lo \
+ sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo
+am_libscijvm_la_OBJECTS = $(am__objects_2)
+libscijvm_la_OBJECTS = $(am_libscijvm_la_OBJECTS)
+libscijvm_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libscijvm_la_LDFLAGS) $(LDFLAGS) -o $@
+am_libscijvm_la_rpath = -rpath $(pkglibdir)
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I. -I$(top_builddir)/modules/core/includes
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_$(V))
+am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_$(V))
+am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(libscijvm_algo_la_SOURCES) $(libscijvm_disable_la_SOURCES) \
+ $(libscijvm_la_SOURCES)
+DIST_SOURCES = $(libscijvm_algo_la_SOURCES) \
+ $(libscijvm_disable_la_SOURCES) $(libscijvm_la_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+DATA = $(libscijvm_la_etc_DATA) $(libscijvm_la_root_DATA) \
+ $(libscijvm_la_sci_gateway_DATA) $(libscijvm_la_xml_DATA)
+HEADERS = $(libscijvm_la_include_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing aclocal-1.14
+ALL_LINGUAS = en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA pl_PL cs_CZ
+ALL_LINGUAS_DOC = en_US fr_FR pt_BR ja_JP ru_RU
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+ANT = /usr/bin/ant
+ANTLR = /usr/share/java/antlr.jar
+AR = ar
+ARPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -larpack
+ASM3 = /usr/share/java/asm3-3.3.2.jar
+AUTOCONF = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoconf
+AUTOHEADER = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoheader
+AUTOMAKE = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing automake-1.14
+AVALON_FRAMEWORK = /home/shashank/scilab-master_5.5.2/thirdparty/avalon-framework.jar
+AWK = mawk
+BATIK = /home/shashank/scilab-master_5.5.2/thirdparty/batik-all-1.7.jar
+BLAS_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lblas
+CC = gcc
+CCACHE =
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CHECKSTYLE =
+COBERTURA = /usr/share/java/cobertura.jar
+COMMONS_BEANUTILS =
+COMMONS_IO = /home/shashank/scilab-master_5.5.2/thirdparty/commons-io.jar
+COMMONS_LOGGING = /home/shashank/scilab-master_5.5.2/thirdparty/commons-logging.jar
+CPP = gcc -E
+CPPFLAGS =
+CURL_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+CURL_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/curl-config
+CURL_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lcurl -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lssl -lcrypto -lrt -lz
+CURL_VERSION = libcurl 7.19.7
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEMOTOOLS_ENABLE = yes
+DEPDIR = .deps
+DLLTOOL = false
+DOCBOOK_ROOT = /home/shashank/scilab-master_5.5.2/thirdparty/docbook/
+DOXYGEN_BIN =
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+ECJ = /home/shashank/scilab-master_5.5.2/thirdparty/ecj.jar
+EGREP = /bin/grep -E
+EXEEXT =
+F77 = gfortran
+FFLAGS = -g -O2
+FFTW3_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lfftw3
+FFTW_ENABLE = yes
+FGREP = /bin/grep -F
+FLEXDOCK = /home/shashank/scilab-master_5.5.2/thirdparty/flexdock-1.2.4.jar
+FLIBS = -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath
+FOP = /home/shashank/scilab-master_5.5.2/thirdparty/fop.jar
+FREEHEP_GRAPHICS2D = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphics2d.jar
+FREEHEP_GRAPHICSIO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio.jar
+FREEHEP_GRAPHICSIO_EMF = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio-emf.jar
+FREEHEP_IO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-io.jar
+FREEHEP_UTIL = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-util.jar
+GENHTML =
+GETTEXT_MACRO_VERSION = 0.19
+GIWS_BIN =
+GLUEGEN2_RT = /home/shashank/scilab-master_5.5.2/thirdparty/gluegen2-rt.jar
+GMSGFMT = /usr/bin/msgfmt
+GMSGFMT_015 = /usr/bin/msgfmt
+GRAPHICS_ENABLE = yes
+GREP = /bin/grep
+GUI_ENABLE = yes
+HDF5_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+HDF5_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lhdf5 -lhdf5_hl
+HELP_ENABLE = yes
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+INTLLIBS =
+INTL_MACOSX_LIBS =
+JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/jar
+JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/java
+JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
+JAVAC_DEBUG = off
+JAVADOC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc
+JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/javah
+JAVASCI_ENABLE = yes
+JAVA_ENABLE = yes
+JAVA_G = /usr/lib/jvm/java-8-openjdk-amd64/bin/java
+JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64
+JAVA_JNI_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux
+JAVA_JNI_LIBS = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm
+JDB = /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb
+JEUCLID_CORE = /home/shashank/scilab-master_5.5.2/thirdparty/jeuclid-core.jar
+JGRAPHX = /home/shashank/scilab-master_5.5.2/thirdparty/jgraphx.jar
+JHALL = /home/shashank/scilab-master_5.5.2/thirdparty/jhall.jar
+JLATEXMATH = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-1.0.3.jar
+JLATEXMATH_FOP = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-fop-1.0.3.jar
+JOGL2 = /home/shashank/scilab-master_5.5.2/thirdparty/jogl2.jar
+JROSETTA_API = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-API.jar
+JROSETTA_ENGINE = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-engine.jar
+JUNIT4 = /usr/share/java/junit4.jar
+LAPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -llapack
+LCOV =
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS = -Wl,--no-as-needed
+LIBICONV = -liconv
+LIBINTL =
+LIBM = -lm
+LIBOBJS =
+LIBS = -lpthread -ldl -lcurses -lm
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIPO =
+LN_S = ln -s
+LOGGING_LEVEL = SEVERE
+LOOKS = /home/shashank/scilab-master_5.5.2/thirdparty/looks-2.1.1.jar
+LTLIBICONV = -liconv
+LTLIBINTL =
+LTLIBOBJS =
+MAINT = #
+MAKEINFO = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing makeinfo
+MANIFEST_TOOL = :
+MATIO_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+MATIO_ENABLE = yes
+MATIO_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lm -lz -lmatio -lhdf5
+MKDIR_P = /bin/mkdir -p
+MPI_ENABLE = no
+MSGCAT = /usr/bin/msgcat
+MSGFMT = /usr/bin/msgfmt
+MSGFMT_015 = /usr/bin/msgfmt
+MSGMERGE = /usr/bin/msgmerge
+NM = nm
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OCAMLC = ocamlc
+OCAMLDEP = ocamldep
+OCAMLLEX = ocamllex
+OCAMLOPT = ocamlopt
+OCAMLYACC = ocamlyacc
+OPENMPI_CC =
+OPENMPI_CFLAGS =
+OPENMPI_CXX =
+OPENMPI_CXXFLAGS =
+OPENMPI_LIBS =
+OPENMP_CFLAGS = -fopenmp
+OPENMP_CXXFLAGS = -fopenmp
+OPENMP_ENABLE = yes
+OPENMP_LIBS = -lgomp -lstdc++
+OTOOL =
+OTOOL64 =
+PACKAGE = scilab
+PACKAGE_BUGREPORT = http://bugzilla.scilab.org/
+PACKAGE_NAME = Scilab
+PACKAGE_STRING = Scilab 5
+PACKAGE_TARNAME = scilab
+PACKAGE_URL =
+PACKAGE_VERSION = 5
+PATH_SEPARATOR = :
+PCRE_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+PCRE_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/pcre-config
+PCRE_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lpcreposix -lpcre
+PCRE_VERSION = 8.35
+PKG_CONFIG = /usr/bin/pkg-config
+POSUB = po
+POW_LIB =
+PYTHON =
+RANLIB = ranlib
+RELOCATABLE = no
+RT_LIB = -lrt
+SAXON = /home/shashank/scilab-master_5.5.2/thirdparty/saxon9he.jar
+SCILAB_BINARY_VERSION = 5.5.2
+SCILAB_LIBRARY_VERSION = 5:5:2
+SCILAB_VERSION_MAINTENANCE = 2
+SCILAB_VERSION_MAJOR = 5
+SCILAB_VERSION_MINOR = 5
+SCIRENDERER = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
+SCIRENDERER_CP = $SCILAB/modules/scirenderer/jar/scirenderer.jar
+SCI_CFLAGS = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector
+SCI_CXXFLAGS = -DNDEBUG -fno-stack-protector
+SCI_FFLAGS = -DNDEBUG -m64 -fPIC
+SCI_LDFLAGS =
+SED = /bin/sed
+SET_MAKE =
+SET_RELOCATABLE =
+SHELL = /bin/bash
+SKINLF = /home/shashank/scilab-master_5.5.2/thirdparty/skinlf.jar
+SPLINT = no
+STRIP = strip
+SWIG_BIN =
+SWIG_JAVA =
+SWIG_RUNTIME_LIBS_DIR =
+SWIG_SCILAB =
+TCLTK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -ltk8.5 -L/home/shashank/scilab-master_5.5.2/usr/lib -ltcl8.5 -ldl
+TCL_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include
+TK_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include
+UMFPACK_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+UMFPACK_ENABLE = yes
+UMFPACK_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lumfpack -lamd
+USE_NLS = yes
+VERSION = 5
+WITH_OCAML =
+WITH_TKSCI = yes
+XCOS_ENABLE = yes
+XGETTEXT = /usr/bin/xgettext
+XGETTEXT_015 = /usr/bin/xgettext
+XGETTEXT_EXTRA_OPTIONS =
+XMKMF =
+XMLGRAPHICS_COMMONS = /home/shashank/scilab-master_5.5.2/thirdparty/xmlgraphics-commons-1.4.jar
+XML_APIS_EXT = /home/shashank/scilab-master_5.5.2/thirdparty/xml-apis-ext.jar
+XML_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/xml2-config
+XML_FLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include/libxml2
+XML_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -lm -ldl
+XML_VERSION = 2.9.1
+X_CFLAGS =
+X_EXTRA_LIBS =
+X_LIBS =
+X_PRE_LIBS =
+abs_builddir = /home/shashank/scilab-master_5.5.2/modules/jvm
+abs_srcdir = /home/shashank/scilab-master_5.5.2/modules/jvm
+abs_top_builddir = /home/shashank/scilab-master_5.5.2
+abs_top_srcdir = /home/shashank/scilab-master_5.5.2
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+ac_ct_F77 = gfortran
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+cxx_present = yes
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/shashank/scilab-master_5.5.2/config/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+
+#### Target ####
+modulename = jvm
+
+#### jvm : Conf files ####
+libscijvm_la_rootdir = $(mydatadir)
+libscijvm_la_root_DATA = license.txt
+
+#### jvm : init scripts ####
+libscijvm_la_etcdir = $(mydatadir)/etc
+libscijvm_la_etc_DATA = etc/jvm.quit etc/jvm.start
+libscijvm_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
+ -I$(top_srcdir)/modules/dynamic_link/includes/ \
+ -I$(srcdir)/includes/ \
+ -I$(srcdir)/src/c \
+ $(XML_FLAGS) \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/string/includes/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/call_scilab/includes/ \
+ -I$(top_srcdir)/modules/fileio/includes/ \
+ -I$(top_srcdir)/modules/preferences/includes/ \
+ $(AM_CPPFLAGS)
+
+pkglib_LTLIBRARIES = libscijvm-disable.la $(am__append_1)
+USEANT = 1
+noinst_LTLIBRARIES = libscijvm-algo.la
+libscijvm_la_LDFLAGS = -pthread $(AM_LDFLAGS) $(am__append_2)
+libscijvm_la_LIBADD = libscijvm-algo.la $(XML_LIBS) $(JAVA_JNI_LIBS)
+
+#### jvm : gateway declaration ####
+libscijvm_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscijvm_la_sci_gateway_DATA = sci_gateway/jvm_gateway.xml
+
+#### jvm : dtd files ####
+libscijvm_la_xmldir = $(mydatadir)/xml
+libscijvm_la_xml_DATA = xml/classpath.dtd xml/librarypath.dtd
+
+#### jvm : include files ####
+libscijvm_la_includedir = $(pkgincludedir)
+libscijvm_la_include_HEADERS = includes/getScilabJavaVM.h \
+includes/getScilabJNIEnv.h \
+includes/addToClasspath.h \
+includes/addToLibrarypath.h \
+includes/getScilabObject.h
+
+GATEWAY_C_SOURCES = sci_gateway/c/sci_system_getproperty.c \
+sci_gateway/c/sci_system_setproperty.c \
+sci_gateway/c/sci_javaclasspath.c \
+sci_gateway/c/gw_jvm.c \
+sci_gateway/c/sci_javalibrarypath.c
+
+JVM_C_SOURCES = src/c/InitializeJVM.c \
+src/c/TerminateJVM.c \
+src/c/JVM_Unix.c \
+src/c/JVM.c \
+src/c/addToClasspath.c \
+src/c/loadOnUseClassPath.c \
+src/c/loadBackGroundClassPath.c \
+src/c/getClasspath.c \
+src/c/system_getproperty.c \
+src/c/system_setproperty.c \
+src/c/loadClasspath.c \
+src/c/createMainScilabObject.c \
+src/c/JVM_commons.c \
+src/c/catchIfJavaException.c \
+src/c/loadLibrarypath.c \
+src/c/getLibrarypath.c \
+src/c/addToLibrarypath.c \
+src/c/getJvmOptions.c
+
+libscijvm_disable_la_SOURCES = src/nojvm/nojvm.c
+libscijvm_disable_la_CPPFLAGS = -I$(srcdir)/includes/ \
+ -I$(top_srcdir)/modules/call_scilab/includes/ \
+ -I$(srcdir)/src/c \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ -I$(top_srcdir)/modules/preferences/src/c \
+ $(AM_CPPFLAGS)
+
+libscijvm_algo_la_SOURCES = $(JVM_C_SOURCES)
+libscijvm_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscijvm_algo_la_CPPFLAGS = $(libscijvm_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC = $(libscijvm_la_SOURCES)
+INCLUDE_FLAGS = $(libscijvm_la_CPPFLAGS)
+CLEANFILES = etc/jvm_options.xml
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_3)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED AT THE MOMENT
+SUFFIXES = .sci
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/jvm/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign modules/jvm/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: # $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+ list2=; for p in $$list; do \
+ if test -f $$p; then \
+ list2="$$list2 $$p"; \
+ else :; fi; \
+ done; \
+ test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
+ }
+
+uninstall-pkglibLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
+ done
+
+clean-pkglibLTLIBRARIES:
+ -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
+ @list='$(pkglib_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+src/c/$(am__dirstamp):
+ @$(MKDIR_P) src/c
+ @: > src/c/$(am__dirstamp)
+src/c/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) src/c/$(DEPDIR)
+ @: > src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-InitializeJVM.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-TerminateJVM.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-JVM_Unix.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-JVM.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-addToClasspath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-loadOnUseClassPath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-loadBackGroundClassPath.lo: \
+ src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-getClasspath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-system_getproperty.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-system_setproperty.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-loadClasspath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-createMainScilabObject.lo: \
+ src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-JVM_commons.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-catchIfJavaException.lo: \
+ src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-loadLibrarypath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-getLibrarypath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-addToLibrarypath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-getJvmOptions.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+
+libscijvm-algo.la: $(libscijvm_algo_la_OBJECTS) $(libscijvm_algo_la_DEPENDENCIES) $(EXTRA_libscijvm_algo_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libscijvm_algo_la_rpath) $(libscijvm_algo_la_OBJECTS) $(libscijvm_algo_la_LIBADD) $(LIBS)
+src/nojvm/$(am__dirstamp):
+ @$(MKDIR_P) src/nojvm
+ @: > src/nojvm/$(am__dirstamp)
+src/nojvm/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) src/nojvm/$(DEPDIR)
+ @: > src/nojvm/$(DEPDIR)/$(am__dirstamp)
+src/nojvm/libscijvm_disable_la-nojvm.lo: src/nojvm/$(am__dirstamp) \
+ src/nojvm/$(DEPDIR)/$(am__dirstamp)
+
+libscijvm-disable.la: $(libscijvm_disable_la_OBJECTS) $(libscijvm_disable_la_DEPENDENCIES) $(EXTRA_libscijvm_disable_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libscijvm_disable_la_OBJECTS) $(libscijvm_disable_la_LIBADD) $(LIBS)
+sci_gateway/c/$(am__dirstamp):
+ @$(MKDIR_P) sci_gateway/c
+ @: > sci_gateway/c/$(am__dirstamp)
+sci_gateway/c/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) sci_gateway/c/$(DEPDIR)
+ @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-sci_system_getproperty.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-sci_system_setproperty.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-sci_javaclasspath.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-gw_jvm.lo: sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+
+libscijvm.la: $(libscijvm_la_OBJECTS) $(libscijvm_la_DEPENDENCIES) $(EXTRA_libscijvm_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(libscijvm_la_LINK) $(am_libscijvm_la_rpath) $(libscijvm_la_OBJECTS) $(libscijvm_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+ -rm -f sci_gateway/c/*.$(OBJEXT)
+ -rm -f sci_gateway/c/*.lo
+ -rm -f src/c/*.$(OBJEXT)
+ -rm -f src/c/*.lo
+ -rm -f src/nojvm/*.$(OBJEXT)
+ -rm -f src/nojvm/*.lo
+
+distclean-compile:
+ -rm -f *.tab.c
+
+include sci_gateway/c/$(DEPDIR)/libscijvm_la-gw_jvm.Plo
+include sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javaclasspath.Plo
+include sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javalibrarypath.Plo
+include sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_getproperty.Plo
+include sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_setproperty.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-InitializeJVM.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-JVM.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-JVM_Unix.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-JVM_commons.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-TerminateJVM.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-addToClasspath.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-addToLibrarypath.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-catchIfJavaException.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-createMainScilabObject.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-getClasspath.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-getJvmOptions.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-getLibrarypath.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-loadBackGroundClassPath.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-loadClasspath.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-loadLibrarypath.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-loadOnUseClassPath.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-system_getproperty.Plo
+include src/c/$(DEPDIR)/libscijvm_algo_la-system_setproperty.Plo
+include src/nojvm/$(DEPDIR)/libscijvm_disable_la-nojvm.Plo
+
+.c.o:
+ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+ $(am__mv) $$depbase.Tpo $$depbase.Po
+# $(AM_V_CC)source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+ $(am__mv) $$depbase.Tpo $$depbase.Po
+# $(AM_V_CC)source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+ $(am__mv) $$depbase.Tpo $$depbase.Plo
+# $(AM_V_CC)source='$<' object='$@' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $<
+
+src/c/libscijvm_algo_la-InitializeJVM.lo: src/c/InitializeJVM.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-InitializeJVM.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-InitializeJVM.Tpo -c -o src/c/libscijvm_algo_la-InitializeJVM.lo `test -f 'src/c/InitializeJVM.c' || echo '$(srcdir)/'`src/c/InitializeJVM.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-InitializeJVM.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-InitializeJVM.Plo
+# $(AM_V_CC)source='src/c/InitializeJVM.c' object='src/c/libscijvm_algo_la-InitializeJVM.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-InitializeJVM.lo `test -f 'src/c/InitializeJVM.c' || echo '$(srcdir)/'`src/c/InitializeJVM.c
+
+src/c/libscijvm_algo_la-TerminateJVM.lo: src/c/TerminateJVM.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-TerminateJVM.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-TerminateJVM.Tpo -c -o src/c/libscijvm_algo_la-TerminateJVM.lo `test -f 'src/c/TerminateJVM.c' || echo '$(srcdir)/'`src/c/TerminateJVM.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-TerminateJVM.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-TerminateJVM.Plo
+# $(AM_V_CC)source='src/c/TerminateJVM.c' object='src/c/libscijvm_algo_la-TerminateJVM.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-TerminateJVM.lo `test -f 'src/c/TerminateJVM.c' || echo '$(srcdir)/'`src/c/TerminateJVM.c
+
+src/c/libscijvm_algo_la-JVM_Unix.lo: src/c/JVM_Unix.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-JVM_Unix.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-JVM_Unix.Tpo -c -o src/c/libscijvm_algo_la-JVM_Unix.lo `test -f 'src/c/JVM_Unix.c' || echo '$(srcdir)/'`src/c/JVM_Unix.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-JVM_Unix.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-JVM_Unix.Plo
+# $(AM_V_CC)source='src/c/JVM_Unix.c' object='src/c/libscijvm_algo_la-JVM_Unix.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-JVM_Unix.lo `test -f 'src/c/JVM_Unix.c' || echo '$(srcdir)/'`src/c/JVM_Unix.c
+
+src/c/libscijvm_algo_la-JVM.lo: src/c/JVM.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-JVM.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-JVM.Tpo -c -o src/c/libscijvm_algo_la-JVM.lo `test -f 'src/c/JVM.c' || echo '$(srcdir)/'`src/c/JVM.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-JVM.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-JVM.Plo
+# $(AM_V_CC)source='src/c/JVM.c' object='src/c/libscijvm_algo_la-JVM.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-JVM.lo `test -f 'src/c/JVM.c' || echo '$(srcdir)/'`src/c/JVM.c
+
+src/c/libscijvm_algo_la-addToClasspath.lo: src/c/addToClasspath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-addToClasspath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-addToClasspath.Tpo -c -o src/c/libscijvm_algo_la-addToClasspath.lo `test -f 'src/c/addToClasspath.c' || echo '$(srcdir)/'`src/c/addToClasspath.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-addToClasspath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-addToClasspath.Plo
+# $(AM_V_CC)source='src/c/addToClasspath.c' object='src/c/libscijvm_algo_la-addToClasspath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-addToClasspath.lo `test -f 'src/c/addToClasspath.c' || echo '$(srcdir)/'`src/c/addToClasspath.c
+
+src/c/libscijvm_algo_la-loadOnUseClassPath.lo: src/c/loadOnUseClassPath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-loadOnUseClassPath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-loadOnUseClassPath.Tpo -c -o src/c/libscijvm_algo_la-loadOnUseClassPath.lo `test -f 'src/c/loadOnUseClassPath.c' || echo '$(srcdir)/'`src/c/loadOnUseClassPath.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-loadOnUseClassPath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-loadOnUseClassPath.Plo
+# $(AM_V_CC)source='src/c/loadOnUseClassPath.c' object='src/c/libscijvm_algo_la-loadOnUseClassPath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-loadOnUseClassPath.lo `test -f 'src/c/loadOnUseClassPath.c' || echo '$(srcdir)/'`src/c/loadOnUseClassPath.c
+
+src/c/libscijvm_algo_la-loadBackGroundClassPath.lo: src/c/loadBackGroundClassPath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-loadBackGroundClassPath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-loadBackGroundClassPath.Tpo -c -o src/c/libscijvm_algo_la-loadBackGroundClassPath.lo `test -f 'src/c/loadBackGroundClassPath.c' || echo '$(srcdir)/'`src/c/loadBackGroundClassPath.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-loadBackGroundClassPath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-loadBackGroundClassPath.Plo
+# $(AM_V_CC)source='src/c/loadBackGroundClassPath.c' object='src/c/libscijvm_algo_la-loadBackGroundClassPath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-loadBackGroundClassPath.lo `test -f 'src/c/loadBackGroundClassPath.c' || echo '$(srcdir)/'`src/c/loadBackGroundClassPath.c
+
+src/c/libscijvm_algo_la-getClasspath.lo: src/c/getClasspath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-getClasspath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-getClasspath.Tpo -c -o src/c/libscijvm_algo_la-getClasspath.lo `test -f 'src/c/getClasspath.c' || echo '$(srcdir)/'`src/c/getClasspath.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-getClasspath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-getClasspath.Plo
+# $(AM_V_CC)source='src/c/getClasspath.c' object='src/c/libscijvm_algo_la-getClasspath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-getClasspath.lo `test -f 'src/c/getClasspath.c' || echo '$(srcdir)/'`src/c/getClasspath.c
+
+src/c/libscijvm_algo_la-system_getproperty.lo: src/c/system_getproperty.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-system_getproperty.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-system_getproperty.Tpo -c -o src/c/libscijvm_algo_la-system_getproperty.lo `test -f 'src/c/system_getproperty.c' || echo '$(srcdir)/'`src/c/system_getproperty.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-system_getproperty.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-system_getproperty.Plo
+# $(AM_V_CC)source='src/c/system_getproperty.c' object='src/c/libscijvm_algo_la-system_getproperty.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-system_getproperty.lo `test -f 'src/c/system_getproperty.c' || echo '$(srcdir)/'`src/c/system_getproperty.c
+
+src/c/libscijvm_algo_la-system_setproperty.lo: src/c/system_setproperty.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-system_setproperty.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-system_setproperty.Tpo -c -o src/c/libscijvm_algo_la-system_setproperty.lo `test -f 'src/c/system_setproperty.c' || echo '$(srcdir)/'`src/c/system_setproperty.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-system_setproperty.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-system_setproperty.Plo
+# $(AM_V_CC)source='src/c/system_setproperty.c' object='src/c/libscijvm_algo_la-system_setproperty.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-system_setproperty.lo `test -f 'src/c/system_setproperty.c' || echo '$(srcdir)/'`src/c/system_setproperty.c
+
+src/c/libscijvm_algo_la-loadClasspath.lo: src/c/loadClasspath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-loadClasspath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-loadClasspath.Tpo -c -o src/c/libscijvm_algo_la-loadClasspath.lo `test -f 'src/c/loadClasspath.c' || echo '$(srcdir)/'`src/c/loadClasspath.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-loadClasspath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-loadClasspath.Plo
+# $(AM_V_CC)source='src/c/loadClasspath.c' object='src/c/libscijvm_algo_la-loadClasspath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-loadClasspath.lo `test -f 'src/c/loadClasspath.c' || echo '$(srcdir)/'`src/c/loadClasspath.c
+
+src/c/libscijvm_algo_la-createMainScilabObject.lo: src/c/createMainScilabObject.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-createMainScilabObject.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-createMainScilabObject.Tpo -c -o src/c/libscijvm_algo_la-createMainScilabObject.lo `test -f 'src/c/createMainScilabObject.c' || echo '$(srcdir)/'`src/c/createMainScilabObject.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-createMainScilabObject.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-createMainScilabObject.Plo
+# $(AM_V_CC)source='src/c/createMainScilabObject.c' object='src/c/libscijvm_algo_la-createMainScilabObject.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-createMainScilabObject.lo `test -f 'src/c/createMainScilabObject.c' || echo '$(srcdir)/'`src/c/createMainScilabObject.c
+
+src/c/libscijvm_algo_la-JVM_commons.lo: src/c/JVM_commons.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-JVM_commons.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-JVM_commons.Tpo -c -o src/c/libscijvm_algo_la-JVM_commons.lo `test -f 'src/c/JVM_commons.c' || echo '$(srcdir)/'`src/c/JVM_commons.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-JVM_commons.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-JVM_commons.Plo
+# $(AM_V_CC)source='src/c/JVM_commons.c' object='src/c/libscijvm_algo_la-JVM_commons.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-JVM_commons.lo `test -f 'src/c/JVM_commons.c' || echo '$(srcdir)/'`src/c/JVM_commons.c
+
+src/c/libscijvm_algo_la-catchIfJavaException.lo: src/c/catchIfJavaException.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-catchIfJavaException.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-catchIfJavaException.Tpo -c -o src/c/libscijvm_algo_la-catchIfJavaException.lo `test -f 'src/c/catchIfJavaException.c' || echo '$(srcdir)/'`src/c/catchIfJavaException.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-catchIfJavaException.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-catchIfJavaException.Plo
+# $(AM_V_CC)source='src/c/catchIfJavaException.c' object='src/c/libscijvm_algo_la-catchIfJavaException.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-catchIfJavaException.lo `test -f 'src/c/catchIfJavaException.c' || echo '$(srcdir)/'`src/c/catchIfJavaException.c
+
+src/c/libscijvm_algo_la-loadLibrarypath.lo: src/c/loadLibrarypath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-loadLibrarypath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-loadLibrarypath.Tpo -c -o src/c/libscijvm_algo_la-loadLibrarypath.lo `test -f 'src/c/loadLibrarypath.c' || echo '$(srcdir)/'`src/c/loadLibrarypath.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-loadLibrarypath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-loadLibrarypath.Plo
+# $(AM_V_CC)source='src/c/loadLibrarypath.c' object='src/c/libscijvm_algo_la-loadLibrarypath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-loadLibrarypath.lo `test -f 'src/c/loadLibrarypath.c' || echo '$(srcdir)/'`src/c/loadLibrarypath.c
+
+src/c/libscijvm_algo_la-getLibrarypath.lo: src/c/getLibrarypath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-getLibrarypath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-getLibrarypath.Tpo -c -o src/c/libscijvm_algo_la-getLibrarypath.lo `test -f 'src/c/getLibrarypath.c' || echo '$(srcdir)/'`src/c/getLibrarypath.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-getLibrarypath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-getLibrarypath.Plo
+# $(AM_V_CC)source='src/c/getLibrarypath.c' object='src/c/libscijvm_algo_la-getLibrarypath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-getLibrarypath.lo `test -f 'src/c/getLibrarypath.c' || echo '$(srcdir)/'`src/c/getLibrarypath.c
+
+src/c/libscijvm_algo_la-addToLibrarypath.lo: src/c/addToLibrarypath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-addToLibrarypath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-addToLibrarypath.Tpo -c -o src/c/libscijvm_algo_la-addToLibrarypath.lo `test -f 'src/c/addToLibrarypath.c' || echo '$(srcdir)/'`src/c/addToLibrarypath.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-addToLibrarypath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-addToLibrarypath.Plo
+# $(AM_V_CC)source='src/c/addToLibrarypath.c' object='src/c/libscijvm_algo_la-addToLibrarypath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-addToLibrarypath.lo `test -f 'src/c/addToLibrarypath.c' || echo '$(srcdir)/'`src/c/addToLibrarypath.c
+
+src/c/libscijvm_algo_la-getJvmOptions.lo: src/c/getJvmOptions.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-getJvmOptions.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-getJvmOptions.Tpo -c -o src/c/libscijvm_algo_la-getJvmOptions.lo `test -f 'src/c/getJvmOptions.c' || echo '$(srcdir)/'`src/c/getJvmOptions.c
+ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-getJvmOptions.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-getJvmOptions.Plo
+# $(AM_V_CC)source='src/c/getJvmOptions.c' object='src/c/libscijvm_algo_la-getJvmOptions.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-getJvmOptions.lo `test -f 'src/c/getJvmOptions.c' || echo '$(srcdir)/'`src/c/getJvmOptions.c
+
+src/nojvm/libscijvm_disable_la-nojvm.lo: src/nojvm/nojvm.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_disable_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/nojvm/libscijvm_disable_la-nojvm.lo -MD -MP -MF src/nojvm/$(DEPDIR)/libscijvm_disable_la-nojvm.Tpo -c -o src/nojvm/libscijvm_disable_la-nojvm.lo `test -f 'src/nojvm/nojvm.c' || echo '$(srcdir)/'`src/nojvm/nojvm.c
+ $(AM_V_at)$(am__mv) src/nojvm/$(DEPDIR)/libscijvm_disable_la-nojvm.Tpo src/nojvm/$(DEPDIR)/libscijvm_disable_la-nojvm.Plo
+# $(AM_V_CC)source='src/nojvm/nojvm.c' object='src/nojvm/libscijvm_disable_la-nojvm.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_disable_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/nojvm/libscijvm_disable_la-nojvm.lo `test -f 'src/nojvm/nojvm.c' || echo '$(srcdir)/'`src/nojvm/nojvm.c
+
+sci_gateway/c/libscijvm_la-sci_system_getproperty.lo: sci_gateway/c/sci_system_getproperty.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-sci_system_getproperty.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_getproperty.Tpo -c -o sci_gateway/c/libscijvm_la-sci_system_getproperty.lo `test -f 'sci_gateway/c/sci_system_getproperty.c' || echo '$(srcdir)/'`sci_gateway/c/sci_system_getproperty.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_getproperty.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_getproperty.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_system_getproperty.c' object='sci_gateway/c/libscijvm_la-sci_system_getproperty.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-sci_system_getproperty.lo `test -f 'sci_gateway/c/sci_system_getproperty.c' || echo '$(srcdir)/'`sci_gateway/c/sci_system_getproperty.c
+
+sci_gateway/c/libscijvm_la-sci_system_setproperty.lo: sci_gateway/c/sci_system_setproperty.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-sci_system_setproperty.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_setproperty.Tpo -c -o sci_gateway/c/libscijvm_la-sci_system_setproperty.lo `test -f 'sci_gateway/c/sci_system_setproperty.c' || echo '$(srcdir)/'`sci_gateway/c/sci_system_setproperty.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_setproperty.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_setproperty.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_system_setproperty.c' object='sci_gateway/c/libscijvm_la-sci_system_setproperty.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-sci_system_setproperty.lo `test -f 'sci_gateway/c/sci_system_setproperty.c' || echo '$(srcdir)/'`sci_gateway/c/sci_system_setproperty.c
+
+sci_gateway/c/libscijvm_la-sci_javaclasspath.lo: sci_gateway/c/sci_javaclasspath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-sci_javaclasspath.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javaclasspath.Tpo -c -o sci_gateway/c/libscijvm_la-sci_javaclasspath.lo `test -f 'sci_gateway/c/sci_javaclasspath.c' || echo '$(srcdir)/'`sci_gateway/c/sci_javaclasspath.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javaclasspath.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javaclasspath.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_javaclasspath.c' object='sci_gateway/c/libscijvm_la-sci_javaclasspath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-sci_javaclasspath.lo `test -f 'sci_gateway/c/sci_javaclasspath.c' || echo '$(srcdir)/'`sci_gateway/c/sci_javaclasspath.c
+
+sci_gateway/c/libscijvm_la-gw_jvm.lo: sci_gateway/c/gw_jvm.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-gw_jvm.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-gw_jvm.Tpo -c -o sci_gateway/c/libscijvm_la-gw_jvm.lo `test -f 'sci_gateway/c/gw_jvm.c' || echo '$(srcdir)/'`sci_gateway/c/gw_jvm.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-gw_jvm.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-gw_jvm.Plo
+# $(AM_V_CC)source='sci_gateway/c/gw_jvm.c' object='sci_gateway/c/libscijvm_la-gw_jvm.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-gw_jvm.lo `test -f 'sci_gateway/c/gw_jvm.c' || echo '$(srcdir)/'`sci_gateway/c/gw_jvm.c
+
+sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo: sci_gateway/c/sci_javalibrarypath.c
+ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javalibrarypath.Tpo -c -o sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo `test -f 'sci_gateway/c/sci_javalibrarypath.c' || echo '$(srcdir)/'`sci_gateway/c/sci_javalibrarypath.c
+ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javalibrarypath.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javalibrarypath.Plo
+# $(AM_V_CC)source='sci_gateway/c/sci_javalibrarypath.c' object='sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo `test -f 'sci_gateway/c/sci_javalibrarypath.c' || echo '$(srcdir)/'`sci_gateway/c/sci_javalibrarypath.c
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+ -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs
+ -rm -rf src/c/.libs src/c/_libs
+ -rm -rf src/nojvm/.libs src/nojvm/_libs
+install-libscijvm_la_etcDATA: $(libscijvm_la_etc_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_etc_DATA)'; test -n "$(libscijvm_la_etcdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_etcdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_etcdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscijvm_la_etcdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscijvm_la_etcdir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_etcDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_etc_DATA)'; test -n "$(libscijvm_la_etcdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libscijvm_la_rootDATA: $(libscijvm_la_root_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_root_DATA)'; test -n "$(libscijvm_la_rootdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_rootdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_rootdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscijvm_la_rootdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscijvm_la_rootdir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_rootDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_root_DATA)'; test -n "$(libscijvm_la_rootdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_rootdir)'; $(am__uninstall_files_from_dir)
+install-libscijvm_la_sci_gatewayDATA: $(libscijvm_la_sci_gateway_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_sci_gateway_DATA)'; test -n "$(libscijvm_la_sci_gatewaydir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_sci_gatewaydir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_sci_gatewaydir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscijvm_la_sci_gatewaydir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscijvm_la_sci_gatewaydir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_sci_gatewayDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_sci_gateway_DATA)'; test -n "$(libscijvm_la_sci_gatewaydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir)
+install-libscijvm_la_xmlDATA: $(libscijvm_la_xml_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_xml_DATA)'; test -n "$(libscijvm_la_xmldir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_xmldir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_xmldir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscijvm_la_xmldir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscijvm_la_xmldir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_xmlDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_xml_DATA)'; test -n "$(libscijvm_la_xmldir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_xmldir)'; $(am__uninstall_files_from_dir)
+install-libscijvm_la_includeHEADERS: $(libscijvm_la_include_HEADERS)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_include_HEADERS)'; test -n "$(libscijvm_la_includedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_includedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_includedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscijvm_la_includedir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscijvm_la_includedir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_include_HEADERS)'; test -n "$(libscijvm_la_includedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_includedir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+installdirs:
+ for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscijvm_la_etcdir)" "$(DESTDIR)$(libscijvm_la_rootdir)" "$(DESTDIR)$(libscijvm_la_sci_gatewaydir)" "$(DESTDIR)$(libscijvm_la_xmldir)" "$(DESTDIR)$(libscijvm_la_includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+ -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+ -rm -f sci_gateway/c/$(am__dirstamp)
+ -rm -f src/c/$(DEPDIR)/$(am__dirstamp)
+ -rm -f src/c/$(am__dirstamp)
+ -rm -f src/nojvm/$(DEPDIR)/$(am__dirstamp)
+ -rm -f src/nojvm/$(am__dirstamp)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+ clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/nojvm/$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local install-libscijvm_la_etcDATA \
+ install-libscijvm_la_includeHEADERS \
+ install-libscijvm_la_rootDATA \
+ install-libscijvm_la_sci_gatewayDATA \
+ install-libscijvm_la_xmlDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pkglibLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/nojvm/$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libscijvm_la_etcDATA \
+ uninstall-libscijvm_la_includeHEADERS \
+ uninstall-libscijvm_la_rootDATA \
+ uninstall-libscijvm_la_sci_gatewayDATA \
+ uninstall-libscijvm_la_xmlDATA uninstall-pkglibLTLIBRARIES
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
+ check-local clean clean-generic clean-libtool clean-local \
+ clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
+ distclean-libtool distclean-local distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-data-local install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-html-local install-info \
+ install-info-am install-libscijvm_la_etcDATA \
+ install-libscijvm_la_includeHEADERS \
+ install-libscijvm_la_rootDATA \
+ install-libscijvm_la_sci_gatewayDATA \
+ install-libscijvm_la_xmlDATA install-man install-pdf \
+ install-pdf-am install-pkglibLTLIBRARIES install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-libscijvm_la_etcDATA \
+ uninstall-libscijvm_la_includeHEADERS \
+ uninstall-libscijvm_la_rootDATA \
+ uninstall-libscijvm_la_sci_gatewayDATA \
+ uninstall-libscijvm_la_xmlDATA uninstall-pkglibLTLIBRARIES
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+ if test -d $(mydatadir)/tests; then \
+ @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+ fi
+check-code:
+ if test -f build.xml; then \
+ $(ANT) checkstyle; \
+ fi
+ if test -x "$(SPLINT)"; then \
+ $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+ fi
+java:
+# Some configurations needs to export JAVA_HOME in the current env
+ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT); \
+ fi
+
+clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) clean; \
+ fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+#swig: $(SWIG_WRAPPERS)
+# @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+# SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+# if test -n "$(SWIG_WRAPPERS)"; then \
+# for file in $(SWIG_WRAPPERS) ; do \
+# echo "Swig process of $$file (Java) ..."; \
+# $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
+# done; \
+# fi
+
+#swig-scilab: $(SWIG_SCILAB_WRAPPERS)
+# @SWIG_OUTDIR=src/swig/; \
+# if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
+# for file in $(SWIG_SCILAB_WRAPPERS) ; do \
+# echo "Swig process of $$file (Scilab) ..."; \
+# $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
+# done; \
+# fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+#giws: $(GIWS_WRAPPERS)
+# @GIWS_OUTPUTDIR=src/jni/; \
+# MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
+# if test -n "$(GIWS_WRAPPERS)"; then \
+# for file in $(GIWS_WRAPPERS) ; do \
+# echo "GIWS process of $$file ..."; \
+# if test -z "$(GIWS_OPTIONS)"; then \
+# $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+# else \
+# echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
+# $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+# fi \
+# done; \
+# fi
+
+#giws-exception:
+# @GIWS_OUTPUTDIR=src/jni/;\
+# echo "GIWS: Generation of exception class ..."; \
+# $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
+
+macros:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been built"; \
+ else \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+ fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+ @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+ rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+ done
+
+test:
+# More tests could be added here
+ @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) test; \
+ fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been build"; \
+ else \
+ echo "Creating $@"; \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+ fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+ @if test -d $(srcdir)/javadoc; then \
+ cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+ fi
+# If the user wants the help sources to be installed
+ @echo "-------- Install of XML sources of help files --------"; \
+ for lang in $(ALL_LINGUAS); do \
+ if test -d $(srcdir)/help/$$lang; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+ done ; \
+ fi; \
+ fi; \
+ done; \
+ @echo "-------- Install of MathML sources --------"; \
+ if test -d $(srcdir)/help/mml/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+ done ; \
+ fi; \
+ fi
+install-data-local:
+# Install the tests
+ @echo "-------- Install tests (if any) --------"; \
+ for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the help chapter
+ @echo "-------- Install the help chapter (if any) --------"; \
+ for lang in $(HELP_CHAPTERLANG); do \
+ HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+ if test -f $$HELPFILE; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ fi; \
+ done
+# Install the demos & examples
+ @echo "-------- Install demos & examples (if any) --------"; \
+ for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the macros
+ @echo "-------- Install macros (if any) --------"; \
+ for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ if test -d $(srcdir)/$$dir/; then \
+ FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+ if test -n "$(MACROSSPECIALEXT)"; then \
+ specialExtDir=""; \
+ for specialExt in $(MACROSSPECIALEXT); do \
+ specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+ done; \
+ FILELIST="$$FILELIST $$specialExtDir"; \
+ fi; \
+ for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+ done; \
+ fi; \
+ done
+# Install java files (.jar)
+ @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+ echo "-------- Install jar files --------"; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+ for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+ done ; \
+ fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+clean-local: clean-java
+#clean-local:
+
+distclean-local:
+ rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/modules/jvm/Makefile.am b/modules/jvm/Makefile.am
new file mode 100755
index 000000000..acb3d2715
--- /dev/null
+++ b/modules/jvm/Makefile.am
@@ -0,0 +1,121 @@
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) INRIA - 2006 - Sylvestre Ledru
+# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+
+#### Target ####
+modulename=jvm
+
+#### jvm : Conf files ####
+libscijvm_la_rootdir = $(mydatadir)
+libscijvm_la_root_DATA = license.txt
+
+#### jvm : init scripts ####
+libscijvm_la_etcdir = $(mydatadir)/etc
+libscijvm_la_etc_DATA = etc/jvm.quit etc/jvm.start
+
+
+
+
+libscijvm_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
+ -I$(top_srcdir)/modules/dynamic_link/includes/ \
+ -I$(srcdir)/includes/ \
+ -I$(srcdir)/src/c \
+ $(XML_FLAGS) \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/string/includes/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/call_scilab/includes/ \
+ -I$(top_srcdir)/modules/fileio/includes/ \
+ -I$(top_srcdir)/modules/preferences/includes/ \
+ $(AM_CPPFLAGS)
+
+pkglib_LTLIBRARIES = libscijvm-disable.la
+
+if GUI
+USEANT=1
+pkglib_LTLIBRARIES += libscijvm.la
+noinst_LTLIBRARIES = libscijvm-algo.la
+endif
+
+libscijvm_la_LDFLAGS = -pthread $(AM_LDFLAGS)
+
+# FIXME: This a platform specific flag, this should be done on configure.ac
+if IS_MACOSX
+libscijvm_la_LDFLAGS += -framework JavaVM
+endif
+
+libscijvm_la_LIBADD = libscijvm-algo.la $(XML_LIBS) $(JAVA_JNI_LIBS)
+
+#### jvm : gateway declaration ####
+libscijvm_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscijvm_la_sci_gateway_DATA = sci_gateway/jvm_gateway.xml
+
+#### jvm : dtd files ####
+libscijvm_la_xmldir = $(mydatadir)/xml
+libscijvm_la_xml_DATA = xml/classpath.dtd xml/librarypath.dtd
+
+#### jvm : include files ####
+libscijvm_la_includedir=$(pkgincludedir)
+libscijvm_la_include_HEADERS = includes/getScilabJavaVM.h \
+includes/getScilabJNIEnv.h \
+includes/addToClasspath.h \
+includes/addToLibrarypath.h \
+includes/getScilabObject.h
+
+GATEWAY_C_SOURCES = sci_gateway/c/sci_system_getproperty.c \
+sci_gateway/c/sci_system_setproperty.c \
+sci_gateway/c/sci_javaclasspath.c \
+sci_gateway/c/gw_jvm.c \
+sci_gateway/c/sci_javalibrarypath.c
+
+
+JVM_C_SOURCES = src/c/InitializeJVM.c \
+src/c/TerminateJVM.c \
+src/c/JVM_Unix.c \
+src/c/JVM.c \
+src/c/addToClasspath.c \
+src/c/loadOnUseClassPath.c \
+src/c/loadBackGroundClassPath.c \
+src/c/getClasspath.c \
+src/c/system_getproperty.c \
+src/c/system_setproperty.c \
+src/c/loadClasspath.c \
+src/c/createMainScilabObject.c \
+src/c/JVM_commons.c \
+src/c/catchIfJavaException.c \
+src/c/loadLibrarypath.c \
+src/c/getLibrarypath.c \
+src/c/addToLibrarypath.c \
+src/c/getJvmOptions.c
+
+libscijvm_disable_la_SOURCES = src/nojvm/nojvm.c
+libscijvm_disable_la_CPPFLAGS = -I$(srcdir)/includes/ \
+ -I$(top_srcdir)/modules/call_scilab/includes/ \
+ -I$(srcdir)/src/c \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ -I$(top_srcdir)/modules/preferences/src/c \
+ $(AM_CPPFLAGS)
+
+libscijvm_algo_la_SOURCES = $(JVM_C_SOURCES)
+libscijvm_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscijvm_algo_la_CPPFLAGS = $(libscijvm_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC= $(libscijvm_la_SOURCES)
+INCLUDE_FLAGS = $(libscijvm_la_CPPFLAGS)
+
+CLEANFILES = etc/jvm_options.xml
+
+include $(top_srcdir)/Makefile.incl.am
diff --git a/modules/jvm/Makefile.in b/modules/jvm/Makefile.in
new file mode 100755
index 000000000..3d644341e
--- /dev/null
+++ b/modules/jvm/Makefile.in
@@ -0,0 +1,1688 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) INRIA - 2006 - Sylvestre Ledru
+# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+@GUI_TRUE@am__append_1 = libscijvm.la
+
+# FIXME: This a platform specific flag, this should be done on configure.ac
+@IS_MACOSX_TRUE@am__append_2 = -framework JavaVM
+DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \
+ $(top_srcdir)/config/depcomp $(libscijvm_la_include_HEADERS)
+@NEED_JAVA_TRUE@am__append_3 = java
+subdir = modules/jvm
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+ $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+ $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+ $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+ $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+ $(top_srcdir)/m4/intel_compiler.m4 \
+ $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+ $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+ $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+ $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
+ $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
+ $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
+ $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
+ $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(pkglibdir)" \
+ "$(DESTDIR)$(libscijvm_la_etcdir)" \
+ "$(DESTDIR)$(libscijvm_la_rootdir)" \
+ "$(DESTDIR)$(libscijvm_la_sci_gatewaydir)" \
+ "$(DESTDIR)$(libscijvm_la_xmldir)" \
+ "$(DESTDIR)$(libscijvm_la_includedir)"
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
+libscijvm_algo_la_LIBADD =
+am__dirstamp = $(am__leading_dot)dirstamp
+am__objects_1 = src/c/libscijvm_algo_la-InitializeJVM.lo \
+ src/c/libscijvm_algo_la-TerminateJVM.lo \
+ src/c/libscijvm_algo_la-JVM_Unix.lo \
+ src/c/libscijvm_algo_la-JVM.lo \
+ src/c/libscijvm_algo_la-addToClasspath.lo \
+ src/c/libscijvm_algo_la-loadOnUseClassPath.lo \
+ src/c/libscijvm_algo_la-loadBackGroundClassPath.lo \
+ src/c/libscijvm_algo_la-getClasspath.lo \
+ src/c/libscijvm_algo_la-system_getproperty.lo \
+ src/c/libscijvm_algo_la-system_setproperty.lo \
+ src/c/libscijvm_algo_la-loadClasspath.lo \
+ src/c/libscijvm_algo_la-createMainScilabObject.lo \
+ src/c/libscijvm_algo_la-JVM_commons.lo \
+ src/c/libscijvm_algo_la-catchIfJavaException.lo \
+ src/c/libscijvm_algo_la-loadLibrarypath.lo \
+ src/c/libscijvm_algo_la-getLibrarypath.lo \
+ src/c/libscijvm_algo_la-addToLibrarypath.lo \
+ src/c/libscijvm_algo_la-getJvmOptions.lo
+am_libscijvm_algo_la_OBJECTS = $(am__objects_1)
+libscijvm_algo_la_OBJECTS = $(am_libscijvm_algo_la_OBJECTS)
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+@GUI_TRUE@am_libscijvm_algo_la_rpath =
+libscijvm_disable_la_LIBADD =
+am_libscijvm_disable_la_OBJECTS = \
+ src/nojvm/libscijvm_disable_la-nojvm.lo
+libscijvm_disable_la_OBJECTS = $(am_libscijvm_disable_la_OBJECTS)
+am__DEPENDENCIES_1 =
+libscijvm_la_DEPENDENCIES = libscijvm-algo.la $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+am__objects_2 = sci_gateway/c/libscijvm_la-sci_system_getproperty.lo \
+ sci_gateway/c/libscijvm_la-sci_system_setproperty.lo \
+ sci_gateway/c/libscijvm_la-sci_javaclasspath.lo \
+ sci_gateway/c/libscijvm_la-gw_jvm.lo \
+ sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo
+am_libscijvm_la_OBJECTS = $(am__objects_2)
+libscijvm_la_OBJECTS = $(am_libscijvm_la_OBJECTS)
+libscijvm_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libscijvm_la_LDFLAGS) $(LDFLAGS) -o $@
+@GUI_TRUE@am_libscijvm_la_rpath = -rpath $(pkglibdir)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(libscijvm_algo_la_SOURCES) $(libscijvm_disable_la_SOURCES) \
+ $(libscijvm_la_SOURCES)
+DIST_SOURCES = $(libscijvm_algo_la_SOURCES) \
+ $(libscijvm_disable_la_SOURCES) $(libscijvm_la_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+DATA = $(libscijvm_la_etc_DATA) $(libscijvm_la_root_DATA) \
+ $(libscijvm_la_sci_gateway_DATA) $(libscijvm_la_xml_DATA)
+HEADERS = $(libscijvm_la_include_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+ANT = @ANT@
+ANTLR = @ANTLR@
+AR = @AR@
+ARPACK_LIBS = @ARPACK_LIBS@
+ASM3 = @ASM3@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
+AWK = @AWK@
+BATIK = @BATIK@
+BLAS_LIBS = @BLAS_LIBS@
+CC = @CC@
+CCACHE = @CCACHE@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CHECKSTYLE = @CHECKSTYLE@
+COBERTURA = @COBERTURA@
+COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
+COMMONS_IO = @COMMONS_IO@
+COMMONS_LOGGING = @COMMONS_LOGGING@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CURL_CFLAGS = @CURL_CFLAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CURL_LIBS = @CURL_LIBS@
+CURL_VERSION = @CURL_VERSION@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+DOXYGEN_BIN = @DOXYGEN_BIN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+ECJ = @ECJ@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FFTW3_LIB = @FFTW3_LIB@
+FFTW_ENABLE = @FFTW_ENABLE@
+FGREP = @FGREP@
+FLEXDOCK = @FLEXDOCK@
+FLIBS = @FLIBS@
+FOP = @FOP@
+FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
+FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
+FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
+FREEHEP_IO = @FREEHEP_IO@
+FREEHEP_UTIL = @FREEHEP_UTIL@
+GENHTML = @GENHTML@
+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
+GIWS_BIN = @GIWS_BIN@
+GLUEGEN2_RT = @GLUEGEN2_RT@
+GMSGFMT = @GMSGFMT@
+GMSGFMT_015 = @GMSGFMT_015@
+GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
+GREP = @GREP@
+GUI_ENABLE = @GUI_ENABLE@
+HDF5_CFLAGS = @HDF5_CFLAGS@
+HDF5_LIBS = @HDF5_LIBS@
+HELP_ENABLE = @HELP_ENABLE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLLIBS = @INTLLIBS@
+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
+JAR = @JAR@
+JAVA = @JAVA@
+JAVAC = @JAVAC@
+JAVAC_DEBUG = @JAVAC_DEBUG@
+JAVADOC = @JAVADOC@
+JAVAH = @JAVAH@
+JAVASCI_ENABLE = @JAVASCI_ENABLE@
+JAVA_ENABLE = @JAVA_ENABLE@
+JAVA_G = @JAVA_G@
+JAVA_HOME = @JAVA_HOME@
+JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
+JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
+JDB = @JDB@
+JEUCLID_CORE = @JEUCLID_CORE@
+JGRAPHX = @JGRAPHX@
+JHALL = @JHALL@
+JLATEXMATH = @JLATEXMATH@
+JLATEXMATH_FOP = @JLATEXMATH_FOP@
+JOGL2 = @JOGL2@
+JROSETTA_API = @JROSETTA_API@
+JROSETTA_ENGINE = @JROSETTA_ENGINE@
+JUNIT4 = @JUNIT4@
+LAPACK_LIBS = @LAPACK_LIBS@
+LCOV = @LCOV@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBM = @LIBM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LOGGING_LEVEL = @LOGGING_LEVEL@
+LOOKS = @LOOKS@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MATIO_CFLAGS = @MATIO_CFLAGS@
+MATIO_ENABLE = @MATIO_ENABLE@
+MATIO_LIBS = @MATIO_LIBS@
+MKDIR_P = @MKDIR_P@
+MPI_ENABLE = @MPI_ENABLE@
+MSGCAT = @MSGCAT@
+MSGFMT = @MSGFMT@
+MSGFMT_015 = @MSGFMT_015@
+MSGMERGE = @MSGMERGE@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OCAMLC = @OCAMLC@
+OCAMLDEP = @OCAMLDEP@
+OCAMLLEX = @OCAMLLEX@
+OCAMLOPT = @OCAMLOPT@
+OCAMLYACC = @OCAMLYACC@
+OPENMPI_CC = @OPENMPI_CC@
+OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
+OPENMPI_CXX = @OPENMPI_CXX@
+OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
+OPENMPI_LIBS = @OPENMPI_LIBS@
+OPENMP_CFLAGS = @OPENMP_CFLAGS@
+OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
+OPENMP_ENABLE = @OPENMP_ENABLE@
+OPENMP_LIBS = @OPENMP_LIBS@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PCRE_CFLAGS = @PCRE_CFLAGS@
+PCRE_CONFIG = @PCRE_CONFIG@
+PCRE_LIBS = @PCRE_LIBS@
+PCRE_VERSION = @PCRE_VERSION@
+PKG_CONFIG = @PKG_CONFIG@
+POSUB = @POSUB@
+POW_LIB = @POW_LIB@
+PYTHON = @PYTHON@
+RANLIB = @RANLIB@
+RELOCATABLE = @RELOCATABLE@
+RT_LIB = @RT_LIB@
+SAXON = @SAXON@
+SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
+SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
+SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
+SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
+SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
+SCIRENDERER = @SCIRENDERER@
+SCIRENDERER_CP = @SCIRENDERER_CP@
+SCI_CFLAGS = @SCI_CFLAGS@
+SCI_CXXFLAGS = @SCI_CXXFLAGS@
+SCI_FFLAGS = @SCI_FFLAGS@
+SCI_LDFLAGS = @SCI_LDFLAGS@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SET_RELOCATABLE = @SET_RELOCATABLE@
+SHELL = @SHELL@
+SKINLF = @SKINLF@
+SPLINT = @SPLINT@
+STRIP = @STRIP@
+SWIG_BIN = @SWIG_BIN@
+SWIG_JAVA = @SWIG_JAVA@
+SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
+SWIG_SCILAB = @SWIG_SCILAB@
+TCLTK_LIBS = @TCLTK_LIBS@
+TCL_INC_PATH = @TCL_INC_PATH@
+TK_INC_PATH = @TK_INC_PATH@
+UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
+UMFPACK_ENABLE = @UMFPACK_ENABLE@
+UMFPACK_LIB = @UMFPACK_LIB@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+WITH_OCAML = @WITH_OCAML@
+WITH_TKSCI = @WITH_TKSCI@
+XCOS_ENABLE = @XCOS_ENABLE@
+XGETTEXT = @XGETTEXT@
+XGETTEXT_015 = @XGETTEXT_015@
+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+XMKMF = @XMKMF@
+XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
+XML_APIS_EXT = @XML_APIS_EXT@
+XML_CONFIG = @XML_CONFIG@
+XML_FLAGS = @XML_FLAGS@
+XML_LIBS = @XML_LIBS@
+XML_VERSION = @XML_VERSION@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+cxx_present = @cxx_present@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+#### Target ####
+modulename = jvm
+
+#### jvm : Conf files ####
+libscijvm_la_rootdir = $(mydatadir)
+libscijvm_la_root_DATA = license.txt
+
+#### jvm : init scripts ####
+libscijvm_la_etcdir = $(mydatadir)/etc
+libscijvm_la_etc_DATA = etc/jvm.quit etc/jvm.start
+libscijvm_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
+ -I$(top_srcdir)/modules/dynamic_link/includes/ \
+ -I$(srcdir)/includes/ \
+ -I$(srcdir)/src/c \
+ $(XML_FLAGS) \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/string/includes/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/call_scilab/includes/ \
+ -I$(top_srcdir)/modules/fileio/includes/ \
+ -I$(top_srcdir)/modules/preferences/includes/ \
+ $(AM_CPPFLAGS)
+
+pkglib_LTLIBRARIES = libscijvm-disable.la $(am__append_1)
+@GUI_TRUE@USEANT = 1
+@GUI_TRUE@noinst_LTLIBRARIES = libscijvm-algo.la
+libscijvm_la_LDFLAGS = -pthread $(AM_LDFLAGS) $(am__append_2)
+libscijvm_la_LIBADD = libscijvm-algo.la $(XML_LIBS) $(JAVA_JNI_LIBS)
+
+#### jvm : gateway declaration ####
+libscijvm_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscijvm_la_sci_gateway_DATA = sci_gateway/jvm_gateway.xml
+
+#### jvm : dtd files ####
+libscijvm_la_xmldir = $(mydatadir)/xml
+libscijvm_la_xml_DATA = xml/classpath.dtd xml/librarypath.dtd
+
+#### jvm : include files ####
+libscijvm_la_includedir = $(pkgincludedir)
+libscijvm_la_include_HEADERS = includes/getScilabJavaVM.h \
+includes/getScilabJNIEnv.h \
+includes/addToClasspath.h \
+includes/addToLibrarypath.h \
+includes/getScilabObject.h
+
+GATEWAY_C_SOURCES = sci_gateway/c/sci_system_getproperty.c \
+sci_gateway/c/sci_system_setproperty.c \
+sci_gateway/c/sci_javaclasspath.c \
+sci_gateway/c/gw_jvm.c \
+sci_gateway/c/sci_javalibrarypath.c
+
+JVM_C_SOURCES = src/c/InitializeJVM.c \
+src/c/TerminateJVM.c \
+src/c/JVM_Unix.c \
+src/c/JVM.c \
+src/c/addToClasspath.c \
+src/c/loadOnUseClassPath.c \
+src/c/loadBackGroundClassPath.c \
+src/c/getClasspath.c \
+src/c/system_getproperty.c \
+src/c/system_setproperty.c \
+src/c/loadClasspath.c \
+src/c/createMainScilabObject.c \
+src/c/JVM_commons.c \
+src/c/catchIfJavaException.c \
+src/c/loadLibrarypath.c \
+src/c/getLibrarypath.c \
+src/c/addToLibrarypath.c \
+src/c/getJvmOptions.c
+
+libscijvm_disable_la_SOURCES = src/nojvm/nojvm.c
+libscijvm_disable_la_CPPFLAGS = -I$(srcdir)/includes/ \
+ -I$(top_srcdir)/modules/call_scilab/includes/ \
+ -I$(srcdir)/src/c \
+ -I$(top_srcdir)/modules/localization/includes/ \
+ -I$(top_srcdir)/modules/api_scilab/includes/ \
+ -I$(top_srcdir)/modules/output_stream/includes/ \
+ -I$(top_srcdir)/modules/preferences/src/c \
+ $(AM_CPPFLAGS)
+
+libscijvm_algo_la_SOURCES = $(JVM_C_SOURCES)
+libscijvm_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscijvm_algo_la_CPPFLAGS = $(libscijvm_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC = $(libscijvm_la_SOURCES)
+INCLUDE_FLAGS = $(libscijvm_la_CPPFLAGS)
+CLEANFILES = etc/jvm_options.xml
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_3)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED AT THE MOMENT
+SUFFIXES = .sci
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/jvm/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign modules/jvm/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+ list2=; for p in $$list; do \
+ if test -f $$p; then \
+ list2="$$list2 $$p"; \
+ else :; fi; \
+ done; \
+ test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
+ }
+
+uninstall-pkglibLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
+ done
+
+clean-pkglibLTLIBRARIES:
+ -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
+ @list='$(pkglib_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+src/c/$(am__dirstamp):
+ @$(MKDIR_P) src/c
+ @: > src/c/$(am__dirstamp)
+src/c/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) src/c/$(DEPDIR)
+ @: > src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-InitializeJVM.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-TerminateJVM.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-JVM_Unix.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-JVM.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-addToClasspath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-loadOnUseClassPath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-loadBackGroundClassPath.lo: \
+ src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-getClasspath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-system_getproperty.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-system_setproperty.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-loadClasspath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-createMainScilabObject.lo: \
+ src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-JVM_commons.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-catchIfJavaException.lo: \
+ src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-loadLibrarypath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-getLibrarypath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-addToLibrarypath.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscijvm_algo_la-getJvmOptions.lo: src/c/$(am__dirstamp) \
+ src/c/$(DEPDIR)/$(am__dirstamp)
+
+libscijvm-algo.la: $(libscijvm_algo_la_OBJECTS) $(libscijvm_algo_la_DEPENDENCIES) $(EXTRA_libscijvm_algo_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libscijvm_algo_la_rpath) $(libscijvm_algo_la_OBJECTS) $(libscijvm_algo_la_LIBADD) $(LIBS)
+src/nojvm/$(am__dirstamp):
+ @$(MKDIR_P) src/nojvm
+ @: > src/nojvm/$(am__dirstamp)
+src/nojvm/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) src/nojvm/$(DEPDIR)
+ @: > src/nojvm/$(DEPDIR)/$(am__dirstamp)
+src/nojvm/libscijvm_disable_la-nojvm.lo: src/nojvm/$(am__dirstamp) \
+ src/nojvm/$(DEPDIR)/$(am__dirstamp)
+
+libscijvm-disable.la: $(libscijvm_disable_la_OBJECTS) $(libscijvm_disable_la_DEPENDENCIES) $(EXTRA_libscijvm_disable_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libscijvm_disable_la_OBJECTS) $(libscijvm_disable_la_LIBADD) $(LIBS)
+sci_gateway/c/$(am__dirstamp):
+ @$(MKDIR_P) sci_gateway/c
+ @: > sci_gateway/c/$(am__dirstamp)
+sci_gateway/c/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) sci_gateway/c/$(DEPDIR)
+ @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-sci_system_getproperty.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-sci_system_setproperty.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-sci_javaclasspath.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-gw_jvm.lo: sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo: \
+ sci_gateway/c/$(am__dirstamp) \
+ sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+
+libscijvm.la: $(libscijvm_la_OBJECTS) $(libscijvm_la_DEPENDENCIES) $(EXTRA_libscijvm_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(libscijvm_la_LINK) $(am_libscijvm_la_rpath) $(libscijvm_la_OBJECTS) $(libscijvm_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+ -rm -f sci_gateway/c/*.$(OBJEXT)
+ -rm -f sci_gateway/c/*.lo
+ -rm -f src/c/*.$(OBJEXT)
+ -rm -f src/c/*.lo
+ -rm -f src/nojvm/*.$(OBJEXT)
+ -rm -f src/nojvm/*.lo
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscijvm_la-gw_jvm.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javaclasspath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javalibrarypath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_getproperty.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_setproperty.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-InitializeJVM.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-JVM.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-JVM_Unix.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-JVM_commons.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-TerminateJVM.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-addToClasspath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-addToLibrarypath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-catchIfJavaException.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-createMainScilabObject.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-getClasspath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-getJvmOptions.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-getLibrarypath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-loadBackGroundClassPath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-loadClasspath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-loadLibrarypath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-loadOnUseClassPath.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-system_getproperty.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscijvm_algo_la-system_setproperty.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/nojvm/$(DEPDIR)/libscijvm_disable_la-nojvm.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+src/c/libscijvm_algo_la-InitializeJVM.lo: src/c/InitializeJVM.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-InitializeJVM.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-InitializeJVM.Tpo -c -o src/c/libscijvm_algo_la-InitializeJVM.lo `test -f 'src/c/InitializeJVM.c' || echo '$(srcdir)/'`src/c/InitializeJVM.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-InitializeJVM.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-InitializeJVM.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/InitializeJVM.c' object='src/c/libscijvm_algo_la-InitializeJVM.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-InitializeJVM.lo `test -f 'src/c/InitializeJVM.c' || echo '$(srcdir)/'`src/c/InitializeJVM.c
+
+src/c/libscijvm_algo_la-TerminateJVM.lo: src/c/TerminateJVM.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-TerminateJVM.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-TerminateJVM.Tpo -c -o src/c/libscijvm_algo_la-TerminateJVM.lo `test -f 'src/c/TerminateJVM.c' || echo '$(srcdir)/'`src/c/TerminateJVM.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-TerminateJVM.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-TerminateJVM.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/TerminateJVM.c' object='src/c/libscijvm_algo_la-TerminateJVM.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-TerminateJVM.lo `test -f 'src/c/TerminateJVM.c' || echo '$(srcdir)/'`src/c/TerminateJVM.c
+
+src/c/libscijvm_algo_la-JVM_Unix.lo: src/c/JVM_Unix.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-JVM_Unix.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-JVM_Unix.Tpo -c -o src/c/libscijvm_algo_la-JVM_Unix.lo `test -f 'src/c/JVM_Unix.c' || echo '$(srcdir)/'`src/c/JVM_Unix.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-JVM_Unix.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-JVM_Unix.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/JVM_Unix.c' object='src/c/libscijvm_algo_la-JVM_Unix.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-JVM_Unix.lo `test -f 'src/c/JVM_Unix.c' || echo '$(srcdir)/'`src/c/JVM_Unix.c
+
+src/c/libscijvm_algo_la-JVM.lo: src/c/JVM.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-JVM.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-JVM.Tpo -c -o src/c/libscijvm_algo_la-JVM.lo `test -f 'src/c/JVM.c' || echo '$(srcdir)/'`src/c/JVM.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-JVM.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-JVM.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/JVM.c' object='src/c/libscijvm_algo_la-JVM.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-JVM.lo `test -f 'src/c/JVM.c' || echo '$(srcdir)/'`src/c/JVM.c
+
+src/c/libscijvm_algo_la-addToClasspath.lo: src/c/addToClasspath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-addToClasspath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-addToClasspath.Tpo -c -o src/c/libscijvm_algo_la-addToClasspath.lo `test -f 'src/c/addToClasspath.c' || echo '$(srcdir)/'`src/c/addToClasspath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-addToClasspath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-addToClasspath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/addToClasspath.c' object='src/c/libscijvm_algo_la-addToClasspath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-addToClasspath.lo `test -f 'src/c/addToClasspath.c' || echo '$(srcdir)/'`src/c/addToClasspath.c
+
+src/c/libscijvm_algo_la-loadOnUseClassPath.lo: src/c/loadOnUseClassPath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-loadOnUseClassPath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-loadOnUseClassPath.Tpo -c -o src/c/libscijvm_algo_la-loadOnUseClassPath.lo `test -f 'src/c/loadOnUseClassPath.c' || echo '$(srcdir)/'`src/c/loadOnUseClassPath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-loadOnUseClassPath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-loadOnUseClassPath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/loadOnUseClassPath.c' object='src/c/libscijvm_algo_la-loadOnUseClassPath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-loadOnUseClassPath.lo `test -f 'src/c/loadOnUseClassPath.c' || echo '$(srcdir)/'`src/c/loadOnUseClassPath.c
+
+src/c/libscijvm_algo_la-loadBackGroundClassPath.lo: src/c/loadBackGroundClassPath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-loadBackGroundClassPath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-loadBackGroundClassPath.Tpo -c -o src/c/libscijvm_algo_la-loadBackGroundClassPath.lo `test -f 'src/c/loadBackGroundClassPath.c' || echo '$(srcdir)/'`src/c/loadBackGroundClassPath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-loadBackGroundClassPath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-loadBackGroundClassPath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/loadBackGroundClassPath.c' object='src/c/libscijvm_algo_la-loadBackGroundClassPath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-loadBackGroundClassPath.lo `test -f 'src/c/loadBackGroundClassPath.c' || echo '$(srcdir)/'`src/c/loadBackGroundClassPath.c
+
+src/c/libscijvm_algo_la-getClasspath.lo: src/c/getClasspath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-getClasspath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-getClasspath.Tpo -c -o src/c/libscijvm_algo_la-getClasspath.lo `test -f 'src/c/getClasspath.c' || echo '$(srcdir)/'`src/c/getClasspath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-getClasspath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-getClasspath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/getClasspath.c' object='src/c/libscijvm_algo_la-getClasspath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-getClasspath.lo `test -f 'src/c/getClasspath.c' || echo '$(srcdir)/'`src/c/getClasspath.c
+
+src/c/libscijvm_algo_la-system_getproperty.lo: src/c/system_getproperty.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-system_getproperty.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-system_getproperty.Tpo -c -o src/c/libscijvm_algo_la-system_getproperty.lo `test -f 'src/c/system_getproperty.c' || echo '$(srcdir)/'`src/c/system_getproperty.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-system_getproperty.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-system_getproperty.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/system_getproperty.c' object='src/c/libscijvm_algo_la-system_getproperty.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-system_getproperty.lo `test -f 'src/c/system_getproperty.c' || echo '$(srcdir)/'`src/c/system_getproperty.c
+
+src/c/libscijvm_algo_la-system_setproperty.lo: src/c/system_setproperty.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-system_setproperty.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-system_setproperty.Tpo -c -o src/c/libscijvm_algo_la-system_setproperty.lo `test -f 'src/c/system_setproperty.c' || echo '$(srcdir)/'`src/c/system_setproperty.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-system_setproperty.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-system_setproperty.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/system_setproperty.c' object='src/c/libscijvm_algo_la-system_setproperty.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-system_setproperty.lo `test -f 'src/c/system_setproperty.c' || echo '$(srcdir)/'`src/c/system_setproperty.c
+
+src/c/libscijvm_algo_la-loadClasspath.lo: src/c/loadClasspath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-loadClasspath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-loadClasspath.Tpo -c -o src/c/libscijvm_algo_la-loadClasspath.lo `test -f 'src/c/loadClasspath.c' || echo '$(srcdir)/'`src/c/loadClasspath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-loadClasspath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-loadClasspath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/loadClasspath.c' object='src/c/libscijvm_algo_la-loadClasspath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-loadClasspath.lo `test -f 'src/c/loadClasspath.c' || echo '$(srcdir)/'`src/c/loadClasspath.c
+
+src/c/libscijvm_algo_la-createMainScilabObject.lo: src/c/createMainScilabObject.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-createMainScilabObject.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-createMainScilabObject.Tpo -c -o src/c/libscijvm_algo_la-createMainScilabObject.lo `test -f 'src/c/createMainScilabObject.c' || echo '$(srcdir)/'`src/c/createMainScilabObject.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-createMainScilabObject.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-createMainScilabObject.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/createMainScilabObject.c' object='src/c/libscijvm_algo_la-createMainScilabObject.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-createMainScilabObject.lo `test -f 'src/c/createMainScilabObject.c' || echo '$(srcdir)/'`src/c/createMainScilabObject.c
+
+src/c/libscijvm_algo_la-JVM_commons.lo: src/c/JVM_commons.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-JVM_commons.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-JVM_commons.Tpo -c -o src/c/libscijvm_algo_la-JVM_commons.lo `test -f 'src/c/JVM_commons.c' || echo '$(srcdir)/'`src/c/JVM_commons.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-JVM_commons.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-JVM_commons.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/JVM_commons.c' object='src/c/libscijvm_algo_la-JVM_commons.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-JVM_commons.lo `test -f 'src/c/JVM_commons.c' || echo '$(srcdir)/'`src/c/JVM_commons.c
+
+src/c/libscijvm_algo_la-catchIfJavaException.lo: src/c/catchIfJavaException.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-catchIfJavaException.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-catchIfJavaException.Tpo -c -o src/c/libscijvm_algo_la-catchIfJavaException.lo `test -f 'src/c/catchIfJavaException.c' || echo '$(srcdir)/'`src/c/catchIfJavaException.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-catchIfJavaException.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-catchIfJavaException.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/catchIfJavaException.c' object='src/c/libscijvm_algo_la-catchIfJavaException.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-catchIfJavaException.lo `test -f 'src/c/catchIfJavaException.c' || echo '$(srcdir)/'`src/c/catchIfJavaException.c
+
+src/c/libscijvm_algo_la-loadLibrarypath.lo: src/c/loadLibrarypath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-loadLibrarypath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-loadLibrarypath.Tpo -c -o src/c/libscijvm_algo_la-loadLibrarypath.lo `test -f 'src/c/loadLibrarypath.c' || echo '$(srcdir)/'`src/c/loadLibrarypath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-loadLibrarypath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-loadLibrarypath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/loadLibrarypath.c' object='src/c/libscijvm_algo_la-loadLibrarypath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-loadLibrarypath.lo `test -f 'src/c/loadLibrarypath.c' || echo '$(srcdir)/'`src/c/loadLibrarypath.c
+
+src/c/libscijvm_algo_la-getLibrarypath.lo: src/c/getLibrarypath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-getLibrarypath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-getLibrarypath.Tpo -c -o src/c/libscijvm_algo_la-getLibrarypath.lo `test -f 'src/c/getLibrarypath.c' || echo '$(srcdir)/'`src/c/getLibrarypath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-getLibrarypath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-getLibrarypath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/getLibrarypath.c' object='src/c/libscijvm_algo_la-getLibrarypath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-getLibrarypath.lo `test -f 'src/c/getLibrarypath.c' || echo '$(srcdir)/'`src/c/getLibrarypath.c
+
+src/c/libscijvm_algo_la-addToLibrarypath.lo: src/c/addToLibrarypath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-addToLibrarypath.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-addToLibrarypath.Tpo -c -o src/c/libscijvm_algo_la-addToLibrarypath.lo `test -f 'src/c/addToLibrarypath.c' || echo '$(srcdir)/'`src/c/addToLibrarypath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-addToLibrarypath.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-addToLibrarypath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/addToLibrarypath.c' object='src/c/libscijvm_algo_la-addToLibrarypath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-addToLibrarypath.lo `test -f 'src/c/addToLibrarypath.c' || echo '$(srcdir)/'`src/c/addToLibrarypath.c
+
+src/c/libscijvm_algo_la-getJvmOptions.lo: src/c/getJvmOptions.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscijvm_algo_la-getJvmOptions.lo -MD -MP -MF src/c/$(DEPDIR)/libscijvm_algo_la-getJvmOptions.Tpo -c -o src/c/libscijvm_algo_la-getJvmOptions.lo `test -f 'src/c/getJvmOptions.c' || echo '$(srcdir)/'`src/c/getJvmOptions.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscijvm_algo_la-getJvmOptions.Tpo src/c/$(DEPDIR)/libscijvm_algo_la-getJvmOptions.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/getJvmOptions.c' object='src/c/libscijvm_algo_la-getJvmOptions.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscijvm_algo_la-getJvmOptions.lo `test -f 'src/c/getJvmOptions.c' || echo '$(srcdir)/'`src/c/getJvmOptions.c
+
+src/nojvm/libscijvm_disable_la-nojvm.lo: src/nojvm/nojvm.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_disable_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/nojvm/libscijvm_disable_la-nojvm.lo -MD -MP -MF src/nojvm/$(DEPDIR)/libscijvm_disable_la-nojvm.Tpo -c -o src/nojvm/libscijvm_disable_la-nojvm.lo `test -f 'src/nojvm/nojvm.c' || echo '$(srcdir)/'`src/nojvm/nojvm.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/nojvm/$(DEPDIR)/libscijvm_disable_la-nojvm.Tpo src/nojvm/$(DEPDIR)/libscijvm_disable_la-nojvm.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/nojvm/nojvm.c' object='src/nojvm/libscijvm_disable_la-nojvm.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_disable_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/nojvm/libscijvm_disable_la-nojvm.lo `test -f 'src/nojvm/nojvm.c' || echo '$(srcdir)/'`src/nojvm/nojvm.c
+
+sci_gateway/c/libscijvm_la-sci_system_getproperty.lo: sci_gateway/c/sci_system_getproperty.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-sci_system_getproperty.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_getproperty.Tpo -c -o sci_gateway/c/libscijvm_la-sci_system_getproperty.lo `test -f 'sci_gateway/c/sci_system_getproperty.c' || echo '$(srcdir)/'`sci_gateway/c/sci_system_getproperty.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_getproperty.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_getproperty.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_system_getproperty.c' object='sci_gateway/c/libscijvm_la-sci_system_getproperty.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-sci_system_getproperty.lo `test -f 'sci_gateway/c/sci_system_getproperty.c' || echo '$(srcdir)/'`sci_gateway/c/sci_system_getproperty.c
+
+sci_gateway/c/libscijvm_la-sci_system_setproperty.lo: sci_gateway/c/sci_system_setproperty.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-sci_system_setproperty.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_setproperty.Tpo -c -o sci_gateway/c/libscijvm_la-sci_system_setproperty.lo `test -f 'sci_gateway/c/sci_system_setproperty.c' || echo '$(srcdir)/'`sci_gateway/c/sci_system_setproperty.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_setproperty.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_system_setproperty.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_system_setproperty.c' object='sci_gateway/c/libscijvm_la-sci_system_setproperty.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-sci_system_setproperty.lo `test -f 'sci_gateway/c/sci_system_setproperty.c' || echo '$(srcdir)/'`sci_gateway/c/sci_system_setproperty.c
+
+sci_gateway/c/libscijvm_la-sci_javaclasspath.lo: sci_gateway/c/sci_javaclasspath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-sci_javaclasspath.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javaclasspath.Tpo -c -o sci_gateway/c/libscijvm_la-sci_javaclasspath.lo `test -f 'sci_gateway/c/sci_javaclasspath.c' || echo '$(srcdir)/'`sci_gateway/c/sci_javaclasspath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javaclasspath.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javaclasspath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_javaclasspath.c' object='sci_gateway/c/libscijvm_la-sci_javaclasspath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-sci_javaclasspath.lo `test -f 'sci_gateway/c/sci_javaclasspath.c' || echo '$(srcdir)/'`sci_gateway/c/sci_javaclasspath.c
+
+sci_gateway/c/libscijvm_la-gw_jvm.lo: sci_gateway/c/gw_jvm.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-gw_jvm.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-gw_jvm.Tpo -c -o sci_gateway/c/libscijvm_la-gw_jvm.lo `test -f 'sci_gateway/c/gw_jvm.c' || echo '$(srcdir)/'`sci_gateway/c/gw_jvm.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-gw_jvm.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-gw_jvm.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/gw_jvm.c' object='sci_gateway/c/libscijvm_la-gw_jvm.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-gw_jvm.lo `test -f 'sci_gateway/c/gw_jvm.c' || echo '$(srcdir)/'`sci_gateway/c/gw_jvm.c
+
+sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo: sci_gateway/c/sci_javalibrarypath.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javalibrarypath.Tpo -c -o sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo `test -f 'sci_gateway/c/sci_javalibrarypath.c' || echo '$(srcdir)/'`sci_gateway/c/sci_javalibrarypath.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javalibrarypath.Tpo sci_gateway/c/$(DEPDIR)/libscijvm_la-sci_javalibrarypath.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_javalibrarypath.c' object='sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijvm_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo `test -f 'sci_gateway/c/sci_javalibrarypath.c' || echo '$(srcdir)/'`sci_gateway/c/sci_javalibrarypath.c
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+ -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs
+ -rm -rf src/c/.libs src/c/_libs
+ -rm -rf src/nojvm/.libs src/nojvm/_libs
+install-libscijvm_la_etcDATA: $(libscijvm_la_etc_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_etc_DATA)'; test -n "$(libscijvm_la_etcdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_etcdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_etcdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscijvm_la_etcdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscijvm_la_etcdir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_etcDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_etc_DATA)'; test -n "$(libscijvm_la_etcdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libscijvm_la_rootDATA: $(libscijvm_la_root_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_root_DATA)'; test -n "$(libscijvm_la_rootdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_rootdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_rootdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscijvm_la_rootdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscijvm_la_rootdir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_rootDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_root_DATA)'; test -n "$(libscijvm_la_rootdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_rootdir)'; $(am__uninstall_files_from_dir)
+install-libscijvm_la_sci_gatewayDATA: $(libscijvm_la_sci_gateway_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_sci_gateway_DATA)'; test -n "$(libscijvm_la_sci_gatewaydir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_sci_gatewaydir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_sci_gatewaydir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscijvm_la_sci_gatewaydir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscijvm_la_sci_gatewaydir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_sci_gatewayDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_sci_gateway_DATA)'; test -n "$(libscijvm_la_sci_gatewaydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir)
+install-libscijvm_la_xmlDATA: $(libscijvm_la_xml_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_xml_DATA)'; test -n "$(libscijvm_la_xmldir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_xmldir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_xmldir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscijvm_la_xmldir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libscijvm_la_xmldir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_xmlDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_xml_DATA)'; test -n "$(libscijvm_la_xmldir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_xmldir)'; $(am__uninstall_files_from_dir)
+install-libscijvm_la_includeHEADERS: $(libscijvm_la_include_HEADERS)
+ @$(NORMAL_INSTALL)
+ @list='$(libscijvm_la_include_HEADERS)'; test -n "$(libscijvm_la_includedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libscijvm_la_includedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libscijvm_la_includedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscijvm_la_includedir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscijvm_la_includedir)" || exit $$?; \
+ done
+
+uninstall-libscijvm_la_includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libscijvm_la_include_HEADERS)'; test -n "$(libscijvm_la_includedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libscijvm_la_includedir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+installdirs:
+ for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscijvm_la_etcdir)" "$(DESTDIR)$(libscijvm_la_rootdir)" "$(DESTDIR)$(libscijvm_la_sci_gatewaydir)" "$(DESTDIR)$(libscijvm_la_xmldir)" "$(DESTDIR)$(libscijvm_la_includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+ -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+ -rm -f sci_gateway/c/$(am__dirstamp)
+ -rm -f src/c/$(DEPDIR)/$(am__dirstamp)
+ -rm -f src/c/$(am__dirstamp)
+ -rm -f src/nojvm/$(DEPDIR)/$(am__dirstamp)
+ -rm -f src/nojvm/$(am__dirstamp)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+ clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/nojvm/$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local install-libscijvm_la_etcDATA \
+ install-libscijvm_la_includeHEADERS \
+ install-libscijvm_la_rootDATA \
+ install-libscijvm_la_sci_gatewayDATA \
+ install-libscijvm_la_xmlDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pkglibLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/nojvm/$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libscijvm_la_etcDATA \
+ uninstall-libscijvm_la_includeHEADERS \
+ uninstall-libscijvm_la_rootDATA \
+ uninstall-libscijvm_la_sci_gatewayDATA \
+ uninstall-libscijvm_la_xmlDATA uninstall-pkglibLTLIBRARIES
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
+ check-local clean clean-generic clean-libtool clean-local \
+ clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
+ distclean-libtool distclean-local distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-data-local install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-html-local install-info \
+ install-info-am install-libscijvm_la_etcDATA \
+ install-libscijvm_la_includeHEADERS \
+ install-libscijvm_la_rootDATA \
+ install-libscijvm_la_sci_gatewayDATA \
+ install-libscijvm_la_xmlDATA install-man install-pdf \
+ install-pdf-am install-pkglibLTLIBRARIES install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-libscijvm_la_etcDATA \
+ uninstall-libscijvm_la_includeHEADERS \
+ uninstall-libscijvm_la_rootDATA \
+ uninstall-libscijvm_la_sci_gatewayDATA \
+ uninstall-libscijvm_la_xmlDATA uninstall-pkglibLTLIBRARIES
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+ if test -d $(mydatadir)/tests; then \
+ @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+ fi
+check-code:
+ if test -f build.xml; then \
+ $(ANT) checkstyle; \
+ fi
+ if test -x "$(SPLINT)"; then \
+ $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+ fi
+@NEED_JAVA_TRUE@java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@ $(ANT); \
+@NEED_JAVA_TRUE@ fi
+
+@NEED_JAVA_TRUE@clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@ $(ANT) clean; \
+@NEED_JAVA_TRUE@ fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
+@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
+@SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \
+@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@ done; \
+@SWIG_TRUE@ fi
+
+@SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
+@SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \
+@SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
+@SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \
+@SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \
+@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@ done; \
+@SWIG_TRUE@ fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@GIWS_TRUE@giws: $(GIWS_WRAPPERS)
+@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \
+@GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
+@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
+@GIWS_TRUE@ echo "GIWS process of $$file ..."; \
+@GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \
+@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+@GIWS_TRUE@ else \
+@GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
+@GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+@GIWS_TRUE@ fi \
+@GIWS_TRUE@ done; \
+@GIWS_TRUE@ fi
+
+@GIWS_TRUE@giws-exception:
+@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
+@GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
+@GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
+
+macros:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been built"; \
+ else \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+ fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+ @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+ rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+ done
+
+test:
+# More tests could be added here
+ @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) test; \
+ fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been build"; \
+ else \
+ echo "Creating $@"; \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+ fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+ @if test -d $(srcdir)/javadoc; then \
+ cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+ fi
+# If the user wants the help sources to be installed
+@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
+@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
+@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
+@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+@INSTALL_HELP_XML_TRUE@ done ; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ done; \
+@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
+@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
+@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+@INSTALL_HELP_XML_TRUE@ done ; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ fi
+install-data-local:
+# Install the tests
+ @echo "-------- Install tests (if any) --------"; \
+ for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the help chapter
+ @echo "-------- Install the help chapter (if any) --------"; \
+ for lang in $(HELP_CHAPTERLANG); do \
+ HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+ if test -f $$HELPFILE; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ fi; \
+ done
+# Install the demos & examples
+ @echo "-------- Install demos & examples (if any) --------"; \
+ for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the macros
+ @echo "-------- Install macros (if any) --------"; \
+ for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ if test -d $(srcdir)/$$dir/; then \
+ FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+ if test -n "$(MACROSSPECIALEXT)"; then \
+ specialExtDir=""; \
+ for specialExt in $(MACROSSPECIALEXT); do \
+ specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+ done; \
+ FILELIST="$$FILELIST $$specialExtDir"; \
+ fi; \
+ for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+ done; \
+ fi; \
+ done
+# Install java files (.jar)
+ @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+ echo "-------- Install jar files --------"; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+ for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+ done ; \
+ fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+@NEED_JAVA_TRUE@clean-local: clean-java
+@NEED_JAVA_FALSE@clean-local:
+
+distclean-local:
+ rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/modules/jvm/Scilab_Windows_Import.def b/modules/jvm/Scilab_Windows_Import.def
new file mode 100755
index 000000000..176b3589c
--- /dev/null
+++ b/modules/jvm/Scilab_Windows_Import.def
@@ -0,0 +1,5 @@
+LIBRARY scilab_windows.dll
+
+
+EXPORTS
+strdup_windows
diff --git a/modules/jvm/build.xml b/modules/jvm/build.xml
new file mode 100755
index 000000000..2bec813c5
--- /dev/null
+++ b/modules/jvm/build.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET , Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<project name="jvm" default="jar">
+ <import file="../../build.incl.xml"/>
+ <property name="library.name" value="${library.jvm.name}"/>
+ <property name="library.title" value="JVM helpers"/>
+ <description>
+ Build the JVM Scilab module
+ </description>
+</project>
diff --git a/modules/jvm/build/classes/org/scilab/modules/jvm/ClassPath$1.class b/modules/jvm/build/classes/org/scilab/modules/jvm/ClassPath$1.class
new file mode 100755
index 000000000..85eff5bc3
--- /dev/null
+++ b/modules/jvm/build/classes/org/scilab/modules/jvm/ClassPath$1.class
Binary files differ
diff --git a/modules/jvm/build/classes/org/scilab/modules/jvm/ClassPath.class b/modules/jvm/build/classes/org/scilab/modules/jvm/ClassPath.class
new file mode 100755
index 000000000..2cd6d494e
--- /dev/null
+++ b/modules/jvm/build/classes/org/scilab/modules/jvm/ClassPath.class
Binary files differ
diff --git a/modules/jvm/build/classes/org/scilab/modules/jvm/LibraryPath.class b/modules/jvm/build/classes/org/scilab/modules/jvm/LibraryPath.class
new file mode 100755
index 000000000..07cae1abd
--- /dev/null
+++ b/modules/jvm/build/classes/org/scilab/modules/jvm/LibraryPath.class
Binary files differ
diff --git a/modules/jvm/build/classes/org/scilab/modules/jvm/LoadClassPath.class b/modules/jvm/build/classes/org/scilab/modules/jvm/LoadClassPath.class
new file mode 100755
index 000000000..21c981b9c
--- /dev/null
+++ b/modules/jvm/build/classes/org/scilab/modules/jvm/LoadClassPath.class
Binary files differ
diff --git a/modules/jvm/core_Import.def b/modules/jvm/core_Import.def
new file mode 100755
index 000000000..7a8fd11fa
--- /dev/null
+++ b/modules/jvm/core_Import.def
@@ -0,0 +1,25 @@
+LIBRARY core.dll
+
+
+EXPORTS
+; from core
+createvar_
+stack_
+checkrhs_
+checklhs_
+createvarfromptr_
+intersci_
+putlhsvar_
+freeArrayOfString
+vstk_
+gettype_
+getrhsvar_
+getSCIpath
+getScilabModeString
+com_
+callFunctionFromGateway
+GetXmlFileEncoding
+getScilabMode
+MyHeapAlloc
+MyHeapFree
+MyHeapRealloc
diff --git a/modules/jvm/etc/jvm.quit b/modules/jvm/etc/jvm.quit
new file mode 100755
index 000000000..ab83f0c89
--- /dev/null
+++ b/modules/jvm/etc/jvm.quit
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
diff --git a/modules/jvm/etc/jvm.start b/modules/jvm/etc/jvm.start
new file mode 100755
index 000000000..c50760cd3
--- /dev/null
+++ b/modules/jvm/etc/jvm.start
@@ -0,0 +1,14 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Allan CORNET
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Load functions libraries
+// =============================================================================
+if (getscilabmode()<>'NWNI') then
+ load('SCI/modules/jvm/macros/lib');
+end
+
diff --git a/modules/jvm/help/en_US/addchapter.sce b/modules/jvm/help/en_US/addchapter.sce
new file mode 100755
index 000000000..cfa41181f
--- /dev/null
+++ b/modules/jvm/help/en_US/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Java Virtual Machine (JVM)",SCI+"/modules/jvm/help/en_US",%T);
+
diff --git a/modules/jvm/help/en_US/javaclasspath.xml b/modules/jvm/help/en_US/javaclasspath.xml
new file mode 100755
index 000000000..9dd9ec14b
--- /dev/null
+++ b/modules/jvm/help/en_US/javaclasspath.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="javaclasspath">
+ <refnamediv>
+ <refname>javaclasspath</refname>
+ <refpurpose>set and get dynamic Java class path</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>res=javaclasspath()
+ javaclasspath(path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>res</term>
+ <listitem>
+ <para>a string matrix</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>set and get the dynamic Java path to one or more directory or file
+ specifications given in path.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+res=javaclasspath();
+javaclasspath(SCI);
+javaclasspath([SCI,SCI+'/java']);
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/jvm/help/en_US/javalibrarypath.xml b/modules/jvm/help/en_US/javalibrarypath.xml
new file mode 100755
index 000000000..4bd6481ef
--- /dev/null
+++ b/modules/jvm/help/en_US/javalibrarypath.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="javalibrarypath">
+ <refnamediv>
+ <refname>javalibrarypath</refname>
+ <refpurpose>set and get dynamic java.library.path</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>res=javalibrarypath()
+ javalibrarypath(path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>res</term>
+ <listitem>
+ <para>a string matrix</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>set and get the dynamic Java Library path to one or more directory given in path.</para>
+ <para>When you use java classes with native methods, you need to define path where is dynamic library.</para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+res=javalibrarypath();
+javalibrarypath(SCI);
+javalibrarypath([SCI,SCI+'/libs']);
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="javaclasspath">javaclasspath</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/jvm/help/en_US/jre_path.xml b/modules/jvm/help/en_US/jre_path.xml
new file mode 100755
index 000000000..9989e0274
--- /dev/null
+++ b/modules/jvm/help/en_US/jre_path.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="jre_path">
+ <refnamediv>
+ <refname>jre_path</refname>
+ <refpurpose>returns Java Runtime Environment used by Scilab</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>p=jre_path()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>p</term>
+ <listitem>
+ <para>a string path to the JRE</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>returns Java Runtime Environment used by Scilab.</para>
+ </refsection>
+
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+jre_path();
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="system_getproperty">system_getproperty</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/jvm/help/en_US/system_getproperty.xml b/modules/jvm/help/en_US/system_getproperty.xml
new file mode 100755
index 000000000..e87ebecb1
--- /dev/null
+++ b/modules/jvm/help/en_US/system_getproperty.xml
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="system_getproperty">
+ <refnamediv>
+ <refname>system_getproperty</refname>
+ <refpurpose>gets the system property
+ indicated by a specified key.
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>res=system_getproperty(key)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>res</term>
+ <listitem>
+ <para>a string value</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>key</term>
+ <listitem>
+ <para>a string</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>gets the system property indicated by a specified key.</para>
+ <informaltable border="1">
+ <tr>
+ <td>java.version</td>
+ <td>Java Runtime Environment version</td>
+ </tr>
+ <tr>
+ <td>java.vendor</td>
+ <td>Java Runtime Environment vendor</td>
+ </tr>
+ <tr>
+ <td>java.vendor.url</td>
+ <td>Java vendor URL</td>
+ </tr>
+ <tr>
+ <td>java.home</td>
+ <td>Java installation directory</td>
+ </tr>
+ <tr>
+ <td>java.vm.specification.version</td>
+ <td>Java Virtual Machine specification version</td>
+ </tr>
+ <tr>
+ <td>java.vm.specification.vendor</td>
+ <td>Java Virtual Machine specification vendor</td>
+ </tr>
+ <tr>
+ <td>java.vm.specification.name</td>
+ <td>Java Virtual Machine specification name</td>
+ </tr>
+ <tr>
+ <td>java.vm.version</td>
+ <td>Java Virtual Machine implementation version</td>
+ </tr>
+ <tr>
+ <td>java.vm.vendor</td>
+ <td>Java Virtual Machine implementation vendor</td>
+ </tr>
+ <tr>
+ <td>java.vm.name</td>
+ <td>Java Virtual Machine implementation name</td>
+ </tr>
+ <tr>
+ <td>java.specification.version</td>
+ <td>Java Runtime Environment specification version</td>
+ </tr>
+ <tr>
+ <td>java.specification.vendor</td>
+ <td>Java Runtime Environment specification vendor</td>
+ </tr>
+ <tr>
+ <td>java.specification.name</td>
+ <td>Java Runtime Environment specification name</td>
+ </tr>
+ <tr>
+ <td>java.class.version</td>
+ <td>Java class format version number</td>
+ </tr>
+ <tr>
+ <td>java.class.path</td>
+ <td>Java class path</td>
+ </tr>
+ <tr>
+ <td>java.library.path</td>
+ <td>List of paths to search when loading libraries</td>
+ </tr>
+ <tr>
+ <td>java.io.tmpdir</td>
+ <td>Default temp file path</td>
+ </tr>
+ <tr>
+ <td>java.compiler</td>
+ <td>Name of JIT compiler to use</td>
+ </tr>
+ <tr>
+ <td>java.ext.dirs</td>
+ <td>Path of extension directory or directories</td>
+ </tr>
+ <tr>
+ <td>os.name</td>
+ <td>Operating system name</td>
+ </tr>
+ <tr>
+ <td>os.arch</td>
+ <td>Operating system architecture</td>
+ </tr>
+ <tr>
+ <td>os.version</td>
+ <td>Operating system version</td>
+ </tr>
+ <tr>
+ <td>file.separator</td>
+ <td>File separator ("/" on UNIX)</td>
+ </tr>
+ <tr>
+ <td>path.separator</td>
+ <td>Path separator (":" on UNIX)</td>
+ </tr>
+ <tr>
+ <td>line.separator Line separator</td>
+ <td>("\n" on UNIX)</td>
+ </tr>
+ <tr>
+ <td>user.name</td>
+ <td>User's account name</td>
+ </tr>
+ <tr>
+ <td>user.home</td>
+ <td>User's home directory</td>
+ </tr>
+ <tr>
+ <td>user.dir</td>
+ <td>User's current working directory</td>
+ </tr>
+ </informaltable>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+system_getproperty('awt.toolkit')
+system_getproperty('file.encoding')
+system_getproperty('file.encoding.pkg')
+system_getproperty('java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment')
+system_getproperty('java.awt.printerjob=sun.awt.windows.WPrinterJob')
+system_getproperty('java.class.path')
+system_getproperty('java.class.version')
+system_getproperty('java.endorsed.dirs')
+system_getproperty('java.ext.dirs')
+system_getproperty('java.home')
+system_getproperty('java.io.tmpdir')
+system_getproperty('java.library.path')
+system_getproperty('java.runtime.name')
+system_getproperty('java.runtime.version')
+system_getproperty('java.specification.name')
+system_getproperty('java.specification.vendor')
+system_getproperty('java.specification.version')
+system_getproperty('java.vendor')
+system_getproperty('java.vendor.url')
+system_getproperty('java.vendor.url.bug')
+system_getproperty('java.version')
+system_getproperty('java.vm.info')
+system_getproperty('java.vm.name')
+system_getproperty('java.vm.specification.name')
+system_getproperty('java.vm.specification.vendor')
+system_getproperty('java.vm.specification.version')
+system_getproperty('java.vm.vendor')
+system_getproperty('java.vm.version')
+system_getproperty('line.separator')
+system_getproperty('os.arch')
+system_getproperty('os.name')
+system_getproperty('os.version')
+system_getproperty('path.separator')
+system_getproperty('sun.arch.data.model')
+system_getproperty('sun.boot.class.path')
+system_getproperty('sun.boot.library.path')
+system_getproperty('sun.cpu.endian')
+system_getproperty('sun.cpu.isalist')
+system_getproperty('sun.desktop')
+system_getproperty('sun.io.unicode.encoding')
+system_getproperty('sun.jnu.encoding')
+system_getproperty('sun.management.compiler')
+system_getproperty('sun.os.patch.level')
+system_getproperty('user.country')
+system_getproperty('user.dir')
+system_getproperty('user.home')
+system_getproperty('user.language')
+system_getproperty('user.name')
+system_getproperty('user.timezone')
+system_getproperty('user.variant')
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/jvm/help/en_US/system_setproperty.xml b/modules/jvm/help/en_US/system_setproperty.xml
new file mode 100755
index 000000000..b6e28326c
--- /dev/null
+++ b/modules/jvm/help/en_US/system_setproperty.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="system_setproperty">
+ <refnamediv>
+ <refname>system_setproperty</refname>
+ <refpurpose>set a system property
+ indicated by a specified key and value.
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>prev = system_setproperty(key,value)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>prev</term>
+ <listitem>
+ <para>a string previous value or []</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>key</term>
+ <listitem>
+ <para>a string</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>value</term>
+ <listitem>
+ <para>a string</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para> Sets the system property indicated by the specified key.</para>
+ <para>
+ <warning>Warning : change property with precaution.</warning>
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+system_getproperty('myproperty')
+system_setproperty('myproperty','hello')
+system_getproperty('myproperty')
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/jvm/help/fr_FR/addchapter.sce b/modules/jvm/help/fr_FR/addchapter.sce
new file mode 100755
index 000000000..56391778c
--- /dev/null
+++ b/modules/jvm/help/fr_FR/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("JVM",SCI+"/modules/jvm/help/fr_FR",%T);
+
diff --git a/modules/jvm/help/ja_JP/addchapter.sce b/modules/jvm/help/ja_JP/addchapter.sce
new file mode 100755
index 000000000..5fc9554c0
--- /dev/null
+++ b/modules/jvm/help/ja_JP/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("JVM",SCI+"/modules/jvm/help/ja_JP",%T);
+
diff --git a/modules/jvm/help/ja_JP/javaclasspath.xml b/modules/jvm/help/ja_JP/javaclasspath.xml
new file mode 100755
index 000000000..e934f99b3
--- /dev/null
+++ b/modules/jvm/help/ja_JP/javaclasspath.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="javaclasspath">
+
+ <refnamediv>
+
+ <refname>javaclasspath</refname>
+
+ <refpurpose>動的Javaクラスパスを設定/取得</refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>res=javaclasspath()
+
+ javaclasspath(path)
+
+ </synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>res</term>
+
+ <listitem>
+
+ <para>文字列行列</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ 1つまたは複数のディレクトリまたは
+
+ パスで指定した設定ファイルへの動的Javaパス
+
+ を設定または取得します.
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+res=javaclasspath();
+javaclasspath(SCI);
+javaclasspath([SCI,SCI+'/java']);
+ ]]></programlisting>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/jvm/help/ja_JP/javalibrarypath.xml b/modules/jvm/help/ja_JP/javalibrarypath.xml
new file mode 100755
index 000000000..d11d18b91
--- /dev/null
+++ b/modules/jvm/help/ja_JP/javalibrarypath.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="javalibrarypath">
+
+ <refnamediv>
+
+ <refname>javalibrarypath</refname>
+
+ <refpurpose>動的java.library.pathを設定/取得</refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>res=javalibrarypath()
+
+ javalibrarypath(path)
+
+ </synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>res</term>
+
+ <listitem>
+
+ <para>文字列行列</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ 1つまたは複数のディレクトリへの動的Javaライブラリパスを
+
+ 設定/取得します.
+
+ </para>
+
+ <para>
+
+ javaクラスをネーティブメソッドで使用する場合,
+
+ 動的ライブラリがある場所のパスを定義する必要があります.
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+res=javalibrarypath();
+javalibrarypath(SCI);
+javalibrarypath([SCI,SCI+'/libs']);
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="javaclasspath">javaclasspath</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/jvm/help/ja_JP/jre_path.xml b/modules/jvm/help/ja_JP/jre_path.xml
new file mode 100755
index 000000000..5bb3d6d28
--- /dev/null
+++ b/modules/jvm/help/ja_JP/jre_path.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="jre_path">
+
+ <refnamediv>
+
+ <refname>jre_path</refname>
+
+ <refpurpose>Scilabで使用されるJava Runtime Environmentを返す</refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>p=jre_path()</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>p</term>
+
+ <listitem>
+
+ <para>文字列, JREへのパス</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ Scilabで使用されるJava Runtime Environmentを返します.
+
+ </para>
+
+ </refsection>
+
+
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+jre_path();
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="system_getproperty">system_getproperty</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/jvm/help/ja_JP/system_getproperty.xml b/modules/jvm/help/ja_JP/system_getproperty.xml
new file mode 100755
index 000000000..e36084d6b
--- /dev/null
+++ b/modules/jvm/help/ja_JP/system_getproperty.xml
@@ -0,0 +1,367 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="system_getproperty">
+
+ <refnamediv>
+
+ <refname>system_getproperty</refname>
+
+ <refpurpose>
+
+ 指定したキーが指すシステムプロパティを取得.
+
+ </refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>res=system_getproperty(key)</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>res</term>
+
+ <listitem>
+
+ <para>文字列の値</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ <varlistentry>
+
+ <term>key</term>
+
+ <listitem>
+
+ <para>文字列</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>指定したキーが指すシステムプロパティを取得します.</para>
+
+ <informaltable border="1">
+
+ <tr>
+
+ <td>java.version</td>
+
+ <td>Java Runtime Environmentのバージョン</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.vendor</td>
+
+ <td>Java Runtime Environmentのベンダ</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.vendor.url</td>
+
+ <td>Java ベンダのURL</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.home</td>
+
+ <td>Javaをインストールしたディレクトリ</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.vm.specification.version</td>
+
+ <td>Java Virtual Machine 仕様のバージョン</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.vm.specification.vendor</td>
+
+ <td>Java Virtual Machine 仕様のベンダ</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.vm.specification.name</td>
+
+ <td>Java Virtual Machine 仕様名</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.vm.version</td>
+
+ <td>Java Virtual Machine 実装のバージョン</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.vm.vendor</td>
+
+ <td>Java Virtual Machine 実装のベンダ</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.vm.name</td>
+
+ <td>Java Virtual Machine 実装名</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.specification.version</td>
+
+ <td>Java Runtime Environment 仕様のバージョン</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.specification.vendor</td>
+
+ <td>Java Runtime Environment 仕様のベンダ</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.specification.name</td>
+
+ <td>Java Runtime Environment 仕様名</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.class.version</td>
+
+ <td>Java クラス形式のバージョン番号</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.class.path</td>
+
+ <td>Java クラスパス</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.library.path</td>
+
+ <td>ライブラリロード時の検索パスのリスト</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.io.tmpdir</td>
+
+ <td>テンポラリファイルのパスのデフォルト</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.compiler</td>
+
+ <td>使用するJITコンパイラの名前</td>
+
+ </tr>
+
+ <tr>
+
+ <td>java.ext.dirs</td>
+
+ <td>拡張ディレクトリのパス</td>
+
+ </tr>
+
+ <tr>
+
+ <td>os.name</td>
+
+ <td>オペレーティングシステム名</td>
+
+ </tr>
+
+ <tr>
+
+ <td>os.arch</td>
+
+ <td>オペレーティングシステムのアーキテクチャ</td>
+
+ </tr>
+
+ <tr>
+
+ <td>os.version</td>
+
+ <td>オペレーティングシステムのバージョン</td>
+
+ </tr>
+
+ <tr>
+
+ <td>file.separator</td>
+
+ <td>ファイルセパレータ (UNIXでは"/")</td>
+
+ </tr>
+
+ <tr>
+
+ <td>path.separator</td>
+
+ <td>パスセパレータ (UNIXでは":")</td>
+
+ </tr>
+
+ <tr>
+
+ <td>line.separator</td>
+
+ <td>行セパレータ(UNIXでは"\n")</td>
+
+ </tr>
+
+ <tr>
+
+ <td>user.name</td>
+
+ <td>ユーザのアカウント名</td>
+
+ </tr>
+
+ <tr>
+
+ <td>user.home</td>
+
+ <td>ユーザのホームディレクトリ</td>
+
+ </tr>
+
+ <tr>
+
+ <td>user.dir</td>
+
+ <td>ユーザのカレントの作業ディレクトリ</td>
+
+ </tr>
+
+ </informaltable>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+system_getproperty('awt.toolkit')
+system_getproperty('file.encoding')
+system_getproperty('file.encoding.pkg')
+system_getproperty('java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment')
+system_getproperty('java.awt.printerjob=sun.awt.windows.WPrinterJob')
+system_getproperty('java.class.path')
+system_getproperty('java.class.version')
+system_getproperty('java.endorsed.dirs')
+system_getproperty('java.ext.dirs')
+system_getproperty('java.home')
+system_getproperty('java.io.tmpdir')
+system_getproperty('java.library.path')
+system_getproperty('java.runtime.name')
+system_getproperty('java.runtime.version')
+system_getproperty('java.specification.name')
+system_getproperty('java.specification.vendor')
+system_getproperty('java.specification.version')
+system_getproperty('java.vendor')
+system_getproperty('java.vendor.url')
+system_getproperty('java.vendor.url.bug')
+system_getproperty('java.version')
+system_getproperty('java.vm.info')
+system_getproperty('java.vm.name')
+system_getproperty('java.vm.specification.name')
+system_getproperty('java.vm.specification.vendor')
+system_getproperty('java.vm.specification.version')
+system_getproperty('java.vm.vendor')
+system_getproperty('java.vm.version')
+system_getproperty('line.separator')
+system_getproperty('os.arch')
+system_getproperty('os.name')
+system_getproperty('os.version')
+system_getproperty('path.separator')
+system_getproperty('sun.arch.data.model')
+system_getproperty('sun.boot.class.path')
+system_getproperty('sun.boot.library.path')
+system_getproperty('sun.cpu.endian')
+system_getproperty('sun.cpu.isalist')
+system_getproperty('sun.desktop')
+system_getproperty('sun.io.unicode.encoding')
+system_getproperty('sun.jnu.encoding')
+system_getproperty('sun.management.compiler')
+system_getproperty('sun.os.patch.level')
+system_getproperty('user.country')
+system_getproperty('user.dir')
+system_getproperty('user.home')
+system_getproperty('user.language')
+system_getproperty('user.name')
+system_getproperty('user.timezone')
+system_getproperty('user.variant')
+ ]]></programlisting>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/jvm/help/ja_JP/system_setproperty.xml b/modules/jvm/help/ja_JP/system_setproperty.xml
new file mode 100755
index 000000000..d53443f23
--- /dev/null
+++ b/modules/jvm/help/ja_JP/system_setproperty.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA -
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="system_setproperty">
+
+ <refnamediv>
+
+ <refname>system_setproperty</refname>
+
+ <refpurpose>
+
+ キーおよび値で指定したシステムプロパティを設定.
+
+ </refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>prev = system_setproperty(key,value)</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>prev</term>
+
+ <listitem>
+
+ <para>前の値の文字列または []</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ <varlistentry>
+
+ <term>key</term>
+
+ <listitem>
+
+ <para>文字列</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ <varlistentry>
+
+ <term>value</term>
+
+ <listitem>
+
+ <para>文字列</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para> キーで指定したシステムプロパティを設定します.</para>
+
+ <para>
+
+ <warning>警告 : 変更前に確認の上,プロパティを変更してください.</warning>
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+system_getproperty('myproperty')
+system_setproperty('myproperty','hello')
+system_getproperty('myproperty')
+ ]]></programlisting>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/jvm/help/pt_BR/addchapter.sce b/modules/jvm/help/pt_BR/addchapter.sce
new file mode 100755
index 000000000..130c3ad5a
--- /dev/null
+++ b/modules/jvm/help/pt_BR/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("JVM",SCI+"/modules/jvm/help/pt_BR",%T);
+
diff --git a/modules/jvm/help/ru_RU/addchapter.sce b/modules/jvm/help/ru_RU/addchapter.sce
new file mode 100755
index 000000000..c561c0103
--- /dev/null
+++ b/modules/jvm/help/ru_RU/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("JVM",SCI+"/modules/jvm/help/ru_RU",%T);
+
diff --git a/modules/jvm/includes/InitializeJVM.h b/modules/jvm/includes/InitializeJVM.h
new file mode 100755
index 000000000..0e3696c25
--- /dev/null
+++ b/modules/jvm/includes/InitializeJVM.h
@@ -0,0 +1,34 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __INITIALIZEJVM_H__
+#define __INITIALIZEJVM_H__
+
+#include "dynlib_jvm.h"
+#include "BOOL.h"
+
+/**
+* Initialize JVM
+* @return TRUE or FALSE
+*/
+JVM_IMPEXP BOOL InitializeJVM(void);
+
+/**
+* Execute initial hooks register in the class Scilab.java
+* @return TRUE or FALSE
+*/
+JVM_IMPEXP BOOL ExecuteInitialHooks(void);
+
+#endif /* __INITIALIZEJVM_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/TerminateJVM.h b/modules/jvm/includes/TerminateJVM.h
new file mode 100755
index 000000000..e750d6d71
--- /dev/null
+++ b/modules/jvm/includes/TerminateJVM.h
@@ -0,0 +1,29 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __TERMINATEJVM_H__
+#define __TERMINATEJVM_H__
+
+#include "dynlib_jvm.h"
+#include "BOOL.h"
+
+/**
+* Terminate JVM
+* @return TRUE or FALSE
+*/
+
+JVM_IMPEXP BOOL TerminateJVM(void);
+
+#endif /* __TERMINATEJVM_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/addToClasspath.h b/modules/jvm/includes/addToClasspath.h
new file mode 100755
index 000000000..28a7a7116
--- /dev/null
+++ b/modules/jvm/includes/addToClasspath.h
@@ -0,0 +1,35 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __ADDTOCLASSPATH_H__
+#define __ADDTOCLASSPATH_H__
+
+#include "BOOL.h" /* BOOL */
+
+typedef enum { STARTUP = 0,
+ BACKGROUND = 1,
+ ONUSE = 2
+
+ } typeOfLoad;
+
+
+/**
+* add a path to CLASSPATH
+* @param a new path to add
+* @return TRUE or FALSE
+*/
+BOOL addToClasspath(char *classpathstring, typeOfLoad load);
+
+#endif /* __ADDTOCLASSPATH_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/addToLibrarypath.h b/modules/jvm/includes/addToLibrarypath.h
new file mode 100755
index 000000000..4e3a98b0a
--- /dev/null
+++ b/modules/jvm/includes/addToLibrarypath.h
@@ -0,0 +1,28 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __ADDTOLIBRARYPATH_H__
+#define __ADDTOLIBRARYPATH_H__
+
+#include "BOOL.h" /* BOOL */
+
+/**
+* add a path to java.library.path
+* @param a new path to add
+* @return TRUE or FALSE
+*/
+BOOL addToLibrarypath(char *librarypathstring);
+
+#endif /* __ADDTOLIBRARYPATH_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/catchIfJavaException.h b/modules/jvm/includes/catchIfJavaException.h
new file mode 100755
index 000000000..c60278704
--- /dev/null
+++ b/modules/jvm/includes/catchIfJavaException.h
@@ -0,0 +1,29 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __CATCHIFJAVAEXCEPTION_H__
+#define __CATCHIFJAVAEXCEPTION_H__
+
+#include "BOOL.h" /* BOOL */
+#include "dynlib_jvm.h"
+
+/**
+ * Check if there is an exception and print if it is the case
+ * @param errorMsg the error message which will be displayed if an exception is catched
+ * @return
+ */
+JVM_IMPEXP BOOL catchIfJavaException(char *errorMsg);
+
+#endif /* __CATCHIFJAVAEXCEPTION_H__*/
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/dynlib_jvm.h b/modules/jvm/includes/dynlib_jvm.h
new file mode 100755
index 000000000..527d05494
--- /dev/null
+++ b/modules/jvm/includes/dynlib_jvm.h
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution. The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __DYNLIB_JVM_H__
+#define __DYNLIB_JVM_H__
+
+#ifdef _MSC_VER
+#ifdef LIBJVM_EXPORTS
+#define JVM_IMPEXP __declspec(dllexport)
+#else
+#define JVM_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define JVM_IMPEXP
+#endif
+
+#endif /* __DYNLIB_JVM_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/getScilabJNIEnv.h b/modules/jvm/includes/getScilabJNIEnv.h
new file mode 100755
index 000000000..fc7c5e080
--- /dev/null
+++ b/modules/jvm/includes/getScilabJNIEnv.h
@@ -0,0 +1,27 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __GETSCILABJNIENV_H__
+#define __GETSCILABJNIENV_H__
+
+#include <jni.h> /* JNIEnv */
+
+/**
+* returns Scilab JNIEnv
+* @return JNIEnv
+*/
+JNIEnv *getScilabJNIEnv(void);
+
+#endif /* __GETSCILABJAVAVM_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/getScilabJavaVM.h b/modules/jvm/includes/getScilabJavaVM.h
new file mode 100755
index 000000000..3be1ab61d
--- /dev/null
+++ b/modules/jvm/includes/getScilabJavaVM.h
@@ -0,0 +1,27 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __GETSCILABJAVAVM_H__
+#define __GETSCILABJAVAVM_H__
+
+#include <jni.h> /* JavaVM */
+
+/**
+* returns Scilab JavaVM
+* @return JavaVM
+*/
+JavaVM *getScilabJavaVM(void);
+
+#endif /* __GETSCILABJAVAVM_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/getScilabObject.h b/modules/jvm/includes/getScilabObject.h
new file mode 100755
index 000000000..4ab913208
--- /dev/null
+++ b/modules/jvm/includes/getScilabObject.h
@@ -0,0 +1,27 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __GETSCILABOJECT_H__
+#define __GETSCILABOJECT_H__
+
+#include <jni.h> /* jobject */
+
+/**
+* returns jobject on Scilab main
+* @return jobject
+*/
+jobject getScilabObject(void);
+
+#endif /* __GETSCILABOJECT_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/gw_jvm.h b/modules/jvm/includes/gw_jvm.h
new file mode 100755
index 000000000..f1a17d864
--- /dev/null
+++ b/modules/jvm/includes/gw_jvm.h
@@ -0,0 +1,31 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __GW_JVM_H__
+#define __GW_JVM_H__
+/*--------------------------------------------------------------------------*/
+#include "dynlib_jvm.h"
+/*--------------------------------------------------------------------------*/
+JVM_IMPEXP int gw_jvm(void);
+/*--------------------------------------------------------------------------*/
+/* Declaration of all the profile function declared and */
+/* used in sci_gateway */
+JVM_IMPEXP int sci_system_setproperty(char *fname, unsigned long fname_len);
+JVM_IMPEXP int sci_system_getproperty(char *fname, unsigned long fname_len);
+JVM_IMPEXP int sci_javaclasspath(char *fname, unsigned long fname_len);
+JVM_IMPEXP int sci_javalibrarypath(char *fname, unsigned long fname_len);
+/*--------------------------------------------------------------------------*/
+#endif /* __GW_JVM_H__ */
+
+
diff --git a/modules/jvm/includes/loadBackGroundClassPath.h b/modules/jvm/includes/loadBackGroundClassPath.h
new file mode 100755
index 000000000..4365816a2
--- /dev/null
+++ b/modules/jvm/includes/loadBackGroundClassPath.h
@@ -0,0 +1,28 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __LOADBACKGROUNDCLASSPATH_H__
+#define __LOADBACKGROUNDCLASSPATH_H__
+
+#include "dynlib_jvm.h"
+#include "BOOL.h"
+
+/**
+* load classpath in background
+* @return TRUE or FALSE
+*/
+JVM_IMPEXP BOOL loadBackGroundClassPath(void);
+
+#endif /* __LOADBACKGROUNDCLASSPATH_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/includes/loadOnUseClassPath.h b/modules/jvm/includes/loadOnUseClassPath.h
new file mode 100755
index 000000000..d2c54c521
--- /dev/null
+++ b/modules/jvm/includes/loadOnUseClassPath.h
@@ -0,0 +1,28 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __LOADONUSECLASSPATH_H__
+#define __LOADONUSECLASSPATH_H__
+
+#include "dynlib_jvm.h"
+#include "BOOL.h" /* BOOL */
+
+/**
+* Load a serie of jar(s) matching to the tag declared in etc/classpath.xml
+* @param a new path to add
+* @return TRUE or FALSE
+*/
+JVM_IMPEXP BOOL loadOnUseClassPath(char const* tag);
+
+#endif /* __LOADONUSECLASSPATH_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/jar/org.scilab.modules.jvm.jar b/modules/jvm/jar/org.scilab.modules.jvm.jar
new file mode 100755
index 000000000..9352851b3
--- /dev/null
+++ b/modules/jvm/jar/org.scilab.modules.jvm.jar
Binary files differ
diff --git a/modules/jvm/jvm.iss b/modules/jvm/jvm.iss
new file mode 100755
index 000000000..b7b33e424
--- /dev/null
+++ b/modules/jvm/jvm.iss
@@ -0,0 +1,60 @@
+;
+; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+; Copyright (C) INRIA - Allan CORNET
+; Copyright (C) DIGITEO - 2010 - Allan CORNET
+;
+; This file must be used under the terms of the CeCILL.
+; This source file is licensed as described in the file COPYING, which
+; you should have received as part of this distribution. The terms
+; are also available at
+; http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+;
+;--------------------------------------------------------------------------------------------------------------
+; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required)
+;
+;--------------------------------------------------------------------------------------------------------------
+; jvm module
+;--------------------------------------------------------------------------------------------------------------
+;
+#DEFINE JVM "jvm"
+;
+Source: bin\lib{#JVM}.lib; DestDir: {app}\bin; Components: {#COMPN_JVM_MODULE}
+Source: bin\nolib{#JVM}.lib; DestDir: {app}\bin; DestName: lib{#JVM}.lib; Components: not ({#COMPN_JVM_MODULE})
+;
+Source: bin\lib{#JVM}.dll; DestDir: {app}\bin; Components: {#COMPN_JVM_MODULE}
+Source: bin\nolib{#JVM}.dll; DestDir: {app}\bin; DestName: lib{#JVM}.dll; Components: not ({#COMPN_JVM_MODULE})
+;
+Source: etc\classpath.xml; DestDir: {app}\etc; Components: {#COMPN_JVM_MODULE}
+Source: etc\librarypath.xml; DestDir: {app}\etc; Components: {#COMPN_JVM_MODULE}
+Source: etc\{#JVM}_options.xml; DestDir: {app}\etc; Components: {#COMPN_JVM_MODULE}
+;
+Source: modules\{#JVM}\xml\*.dtd; DestDir: {app}\modules\{#JVM}\xml; Components: {#COMPN_JVM_MODULE}
+;
+Source: modules\{#JVM}\jar\org.scilab.modules.{#JVM}.jar;DestDir: {app}\modules\{#JVM}\jar; Components: {#COMPN_JVM_MODULE}
+;
+Source: modules\{#JVM}\license.txt; DestDir: {app}\modules\{#JVM}; Components: {#COMPN_JVM_MODULE}
+;
+Source: modules\{#JVM}\sci_gateway\{#JVM}_gateway.xml; DestDir: {app}\modules\{#JVM}\sci_gateway; Components: {#COMPN_JVM_MODULE}
+;
+;Source: modules\{#JVM}\includes\*.h; DestDir: {app}\modules\{#JVM}\includes; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\includes\getScilabJavaVM.h; DestDir: {app}\modules\{#JVM}\includes; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\includes\getScilabJNIEnv.h; DestDir: {app}\modules\{#JVM}\includes; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\includes\addToClasspath.h; DestDir: {app}\modules\{#JVM}\includes; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\includes\addToLibrarypath.h; DestDir: {app}\modules\{#JVM}\includes; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\includes\getScilabObject.h; DestDir: {app}\modules\{#JVM}\includes; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\includes\dynlib_jvm.h; DestDir: {app}\modules\{#JVM}\includes; Components: {#COMPN_JVM_MODULE}
+;
+Source: modules\{#JVM}\etc\{#JVM}.quit; DestDir: {app}\modules\{#JVM}\etc; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\etc\{#JVM}.start; DestDir: {app}\modules\{#JVM}\etc; Components: {#COMPN_JVM_MODULE}
+;
+Source: modules\{#JVM}\macros\buildmacros.sce; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\macros\buildmacros.bat; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\macros\cleanmacros.bat; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\macros\lib; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\macros\names; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\macros\*.bin; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_JVM_MODULE}
+Source: modules\{#JVM}\macros\*.sci; DestDir: {app}\modules\{#JVM}\macros; Components: {#COMPN_JVM_MODULE}
+;
+Source: modules\{#JVM}\tests\*.*; DestDir: {app}\modules\{#JVM}\tests; Flags: recursesubdirs; Components: {#COMPN_JVM_MODULE} and {#COMPN_TESTS}
+;
+;--------------------------------------------------------------------------------------------------------------
diff --git a/modules/jvm/libjvm.vcxproj b/modules/jvm/libjvm.vcxproj
new file mode 100755
index 000000000..92f3c1d0b
--- /dev/null
+++ b/modules/jvm/libjvm.vcxproj
@@ -0,0 +1,323 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{8BA2DDA8-BD04-4D4D-8EE6-6CAA955F7470}</ProjectGuid>
+ <RootNamespace>libjvm</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>includes;src/c;../windows_tools/includes;../string/includes;../core/includes;../fileio/includes;../output_stream/includes;../localization/includes;../call_scilab/includes;../api_scilab/includes;../preferences/includes;../dynamic_link/includes;../../libs/libxml2;../../libs/libxml2/libxml;../../libs/intl;../../libs/GetWindowsVersion;../../java/jdk/include/win32;../../java/jdk/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;LIBJVM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ </ClCompile>
+ <PreLinkEvent>
+ <Message>Make dependencies</Message>
+ <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilab_windows.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)String_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)string.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Call_scilab_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)call_scilab.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)preferences_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)preferences.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+ </PreLinkEvent>
+ <Link>
+ <AdditionalDependencies>preferences.lib;core.lib;scilab_windows.lib;string.lib;call_scilab.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <ModuleDefinitionFile>libjvm_export.def</ModuleDefinitionFile>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX86</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ <PostBuildEvent>
+ </PostBuildEvent>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <Midl>
+ <TargetEnvironment>X64</TargetEnvironment>
+ </Midl>
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>includes;src/c;../windows_tools/includes;../string/includes;../core/includes;../fileio/includes;../output_stream/includes;../localization/includes;../call_scilab/includes;../api_scilab/includes;../preferences/includes;../dynamic_link/includes;../../libs/libxml2;../../libs/libxml2/libxml;../../libs/intl;../../libs/GetWindowsVersion;../../java/jdk/include/win32;../../java/jdk/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;LIBJVM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ </ClCompile>
+ <PreLinkEvent>
+ <Message>Make dependencies</Message>
+ <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilab_windows.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)String_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)string.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Call_scilab_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)call_scilab.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)preferences_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)preferences.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+ </PreLinkEvent>
+ <Link>
+ <AdditionalDependencies>preferences.lib;core.lib;scilab_windows.lib;string.lib;call_scilab.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <ModuleDefinitionFile>libjvm_export.def</ModuleDefinitionFile>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX64</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ <PostBuildEvent>
+ </PostBuildEvent>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <AdditionalIncludeDirectories>includes;src/c;../windows_tools/includes;../string/includes;../core/includes;../fileio/includes;../output_stream/includes;../localization/includes;../call_scilab/includes;../api_scilab/includes;../preferences/includes;../dynamic_link/includes;../../libs/libxml2;../../libs/libxml2/libxml;../../libs/intl;../../libs/GetWindowsVersion;../../java/jdk/include/win32;../../java/jdk/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;LIBJVM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <WarningLevel>Level3</WarningLevel>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ </ClCompile>
+ <PreLinkEvent>
+ <Message>Make dependencies</Message>
+ <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilab_windows.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)String_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)string.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Call_scilab_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)call_scilab.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)preferences_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)preferences.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+ </PreLinkEvent>
+ <Link>
+ <AdditionalDependencies>preferences.lib;core.lib;scilab_windows.lib;string.lib;call_scilab.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <ModuleDefinitionFile>libjvm_export.def</ModuleDefinitionFile>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX86</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ <PostBuildEvent>
+ </PostBuildEvent>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Midl>
+ <TargetEnvironment>X64</TargetEnvironment>
+ </Midl>
+ <ClCompile>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <AdditionalIncludeDirectories>includes;src/c;../windows_tools/includes;../string/includes;../core/includes;../fileio/includes;../output_stream/includes;../localization/includes;../call_scilab/includes;../api_scilab/includes;../preferences/includes;../dynamic_link/includes;../../libs/libxml2;../../libs/libxml2/libxml;../../libs/intl;../../libs/GetWindowsVersion;../../java/jdk/include/win32;../../java/jdk/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;LIBJVM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <WarningLevel>Level3</WarningLevel>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ </ClCompile>
+ <PreLinkEvent>
+ <Message>Make dependencies</Message>
+ <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilab_windows.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)String_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)string.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Call_scilab_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)call_scilab.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)preferences_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)preferences.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+ </PreLinkEvent>
+ <Link>
+ <AdditionalDependencies>preferences.lib;core.lib;scilab_windows.lib;string.lib;call_scilab.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <ModuleDefinitionFile>libjvm_export.def</ModuleDefinitionFile>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX64</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ <PostBuildEvent>
+ </PostBuildEvent>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="src\c\addToClasspath.c" />
+ <ClCompile Include="src\c\addToLibrarypath.c" />
+ <ClCompile Include="src\c\catchIfJavaException.c" />
+ <ClCompile Include="src\c\createMainScilabObject.c" />
+ <ClCompile Include="src\c\DllmainJvm.c" />
+ <ClCompile Include="src\c\getClasspath.c" />
+ <ClCompile Include="src\c\getJvmOptions.c" />
+ <ClCompile Include="src\c\getLibrarypath.c" />
+ <ClCompile Include="sci_gateway\c\gw_jvm.c" />
+ <ClCompile Include="src\c\InitializeJVM.c" />
+ <ClCompile Include="src\c\JVM.c" />
+ <ClCompile Include="src\c\JVM_commons.c" />
+ <ClCompile Include="src\c\JVM_Windows.c" />
+ <ClCompile Include="src\c\loadBackGroundClassPath.c" />
+ <ClCompile Include="src\c\loadClasspath.c" />
+ <ClCompile Include="src\c\loadLibrarypath.c" />
+ <ClCompile Include="src\c\loadOnUseClassPath.c" />
+ <ClCompile Include="sci_gateway\c\sci_javaclasspath.c" />
+ <ClCompile Include="sci_gateway\c\sci_javalibrarypath.c" />
+ <ClCompile Include="sci_gateway\c\sci_system_getproperty.c" />
+ <ClCompile Include="sci_gateway\c\sci_system_setproperty.c" />
+ <ClCompile Include="src\c\system_getproperty.c" />
+ <ClCompile Include="src\c\system_setproperty.c" />
+ <ClCompile Include="src\c\TerminateJVM.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="includes\addToClasspath.h" />
+ <ClInclude Include="includes\addToLibrarypath.h" />
+ <ClInclude Include="includes\catchIfJavaException.h" />
+ <ClInclude Include="includes\loadOnUseClassPath.h" />
+ <ClInclude Include="src\c\createMainScilabObject.h" />
+ <ClInclude Include="includes\dynlib_jvm.h" />
+ <ClInclude Include="src\c\getClasspath.h" />
+ <ClInclude Include="src\c\getJvmOptions.h" />
+ <ClInclude Include="src\c\getLibrarypath.h" />
+ <ClInclude Include="includes\getScilabJavaVM.h" />
+ <ClInclude Include="includes\getScilabJNIEnv.h" />
+ <ClInclude Include="includes\getScilabObject.h" />
+ <ClInclude Include="includes\gw_jvm.h" />
+ <ClInclude Include="includes\InitializeJVM.h" />
+ <ClInclude Include="src\c\JVM.h" />
+ <ClInclude Include="src\c\JVM_commons.h" />
+ <ClInclude Include="src\c\JVM_functions.h" />
+ <ClInclude Include="includes\loadBackGroundClassPath.h" />
+ <ClInclude Include="src\c\loadClasspath.h" />
+ <ClInclude Include="src\c\loadLibrarypath.h" />
+ <ClInclude Include="src\c\system_getproperty.h" />
+ <ClInclude Include="src\c\system_setproperty.h" />
+ <ClInclude Include="includes\TerminateJVM.h" />
+ <ClInclude Include="src\c\with_java.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="src\c\libjvm.rc" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Call_scilab_Import.def" />
+ <None Include="core_import.def" />
+ <None Include="locales\jvm.pot" />
+ <None Include="Scilab_Windows_Import.def" />
+ <None Include="string_Import.def" />
+ <None Include="libjvm_export.def" />
+ <None Include="jvm.iss" />
+ <None Include="sci_gateway\jvm_gateway.xml" />
+ <None Include="Makefile.am" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\libs\GetWindowsVersion\GetWindowsVersion.vcxproj">
+ <Project>{982bf37f-42c4-4d37-8d14-60521b141503}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ <ProjectReference Include="..\..\tools\Dumpexts\Dumpexts.vcxproj">
+ <Project>{3170e4c2-1173-4264-a222-7ee8ccb3ddf7}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ <ProjectReference Include="..\api_scilab\api_scilab.vcxproj">
+ <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\dynamic_link\src\c\dynamic_link.vcxproj">
+ <Project>{eab6c580-22b3-4359-ba1d-dd7499a96163}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\fileio\fileio.vcxproj">
+ <Project>{4fc72d4a-80ee-4b1a-8724-0201c1a35621}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ <ProjectReference Include="..\io\src\c\io.vcxproj">
+ <Project>{80c0f142-184b-4e08-a8ee-5e71437cf904}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ <ProjectReference Include="..\localization\src\localization.vcxproj">
+ <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ <ProjectReference Include="..\output_stream\src\c\output_stream.vcxproj">
+ <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
diff --git a/modules/jvm/libjvm.vcxproj.filters b/modules/jvm/libjvm.vcxproj.filters
new file mode 100755
index 000000000..c4b2932b5
--- /dev/null
+++ b/modules/jvm/libjvm.vcxproj.filters
@@ -0,0 +1,205 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+ </Filter>
+ <Filter Include="localization">
+ <UniqueIdentifier>{59b09166-e0dc-4af8-80d7-c1b94b362d0b}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Libraries Dependencies">
+ <UniqueIdentifier>{d1a46ec7-24d4-4d22-acb2-f75b917cc1bf}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Libraries Dependencies\Imports">
+ <UniqueIdentifier>{c9945103-8a6e-4f93-84e0-d57996b88d87}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Libraries Dependencies\Export">
+ <UniqueIdentifier>{a40c8363-a9b5-4a67-80d3-c1c8514f8cc8}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="src\c\addToClasspath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\addToLibrarypath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\catchIfJavaException.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\createMainScilabObject.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\DllmainJvm.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\getClasspath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\getJvmOptions.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\getLibrarypath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\gw_jvm.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\InitializeJVM.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\JVM.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\JVM_commons.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\JVM_Windows.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\loadBackGroundClassPath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\loadClasspath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\loadLibrarypath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\loadOnUseClassPath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_javaclasspath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_javalibrarypath.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_system_getproperty.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="sci_gateway\c\sci_system_setproperty.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\system_getproperty.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\system_setproperty.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\c\TerminateJVM.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="includes\addToClasspath.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\addToLibrarypath.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\catchIfJavaException.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\createMainScilabObject.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\dynlib_jvm.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\getClasspath.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\getJvmOptions.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\getLibrarypath.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\getScilabJavaVM.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\getScilabJNIEnv.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\getScilabObject.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\gw_jvm.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\InitializeJVM.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\JVM.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\JVM_commons.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\JVM_functions.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\loadBackGroundClassPath.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\loadClasspath.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\loadLibrarypath.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\system_getproperty.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\system_setproperty.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\TerminateJVM.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\c\with_java.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="includes\loadOnUseClassPath.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="src\c\libjvm.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Call_scilab_Import.def">
+ <Filter>Libraries Dependencies\Imports</Filter>
+ </None>
+ <None Include="core_import.def">
+ <Filter>Libraries Dependencies\Imports</Filter>
+ </None>
+ <None Include="string_Import.def">
+ <Filter>Libraries Dependencies\Imports</Filter>
+ </None>
+ <None Include="libjvm_export.def">
+ <Filter>Libraries Dependencies\Export</Filter>
+ </None>
+ <None Include="jvm.iss" />
+ <None Include="sci_gateway\jvm_gateway.xml" />
+ <None Include="Makefile.am" />
+ <None Include="Scilab_Windows_Import.def">
+ <Filter>Libraries Dependencies\Imports</Filter>
+ </None>
+ <None Include="locales\jvm.pot">
+ <Filter>localization</Filter>
+ </None>
+ </ItemGroup>
+</Project>
diff --git a/modules/jvm/libjvm_export.def b/modules/jvm/libjvm_export.def
new file mode 100755
index 000000000..a200fadd4
--- /dev/null
+++ b/modules/jvm/libjvm_export.def
@@ -0,0 +1,15 @@
+LIBRARY libjvm.dll
+
+
+EXPORTS
+; ---------------------------------------
+; jvm module explicit export (SEP 35)
+; ---------------------------------------
+getScilabJavaVM
+getScilabJNIEnv
+addToClasspath
+addToLibrarypath
+getScilabObject
+; ---------------------------------------
+canCloseMainScilabObject
+forceCloseMainScilabObject \ No newline at end of file
diff --git a/modules/jvm/libscijvm-algo.la b/modules/jvm/libscijvm-algo.la
new file mode 100755
index 000000000..7cbf2b0fc
--- /dev/null
+++ b/modules/jvm/libscijvm-algo.la
@@ -0,0 +1,41 @@
+# libscijvm-algo.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname=''
+
+# Names of this library.
+library_names=''
+
+# The name of the static archive.
+old_library='libscijvm-algo.a'
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscijvm-algo.
+current=
+age=
+revision=
+
+# Is this an already installed library?
+installed=no
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir=''
diff --git a/modules/jvm/libscijvm-disable.la b/modules/jvm/libscijvm-disable.la
new file mode 100755
index 000000000..dc4717263
--- /dev/null
+++ b/modules/jvm/libscijvm-disable.la
@@ -0,0 +1,41 @@
+# libscijvm-disable.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libscijvm-disable.so.5'
+
+# Names of this library.
+library_names='libscijvm-disable.so.5.5.2 libscijvm-disable.so.5 libscijvm-disable.so'
+
+# The name of the static archive.
+old_library=''
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscijvm-disable.
+current=10
+age=5
+revision=2
+
+# Is this an already installed library?
+installed=no
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/usr/local/lib/scilab'
diff --git a/modules/jvm/libscijvm.la b/modules/jvm/libscijvm.la
new file mode 100755
index 000000000..7a56d67be
--- /dev/null
+++ b/modules/jvm/libscijvm.la
@@ -0,0 +1,41 @@
+# libscijvm.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libscijvm.so.5'
+
+# Names of this library.
+library_names='libscijvm.so.5.5.2 libscijvm.so.5 libscijvm.so'
+
+# The name of the static archive.
+old_library=''
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=' -pthread'
+
+# Libraries that this one depends upon.
+dependency_libs=' -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscijvm.
+current=10
+age=5
+revision=2
+
+# Is this an already installed library?
+installed=no
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/usr/local/lib/scilab'
diff --git a/modules/jvm/license.txt b/modules/jvm/license.txt
new file mode 100755
index 000000000..933635069
--- /dev/null
+++ b/modules/jvm/license.txt
@@ -0,0 +1,10 @@
+Copyright:
+Copyright (c) 2008 - DIGITEO
+Copyright (c) 1989-2008 - INRIA
+
+License:
+This module must be used under the terms of the CeCILL.
+This module file is licensed as described in the file COPYING, which
+you should have received as part of this distribution. The terms
+are also available at
+http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
diff --git a/modules/jvm/locales/ca_ES.po b/modules/jvm/locales/ca_ES.po
new file mode 100755
index 000000000..1adfb8b25
--- /dev/null
+++ b/modules/jvm/locales/ca_ES.po
@@ -0,0 +1,273 @@
+# Catalan translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:53+0000\n"
+"Last-Translator: Scilab.team <Unknown>\n"
+"Language-Team: Catalan <ca@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ca\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "La interfície JVM no està habilitada en els modes -nogui o -nwni.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: no es pot llegir el paràmetre d'entrada #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: no hi ha més memòria.\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr ""
+"%s: No s'ha pogut afegir l'URL al carregador de classes del sistema: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser un text.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: No s'ha pogut afegir el camí a java.library.path: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d o #%d és d'un tipus incorrecte: Ha de ser una "
+"cadena de text.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"El Scilab no pot obrir la llibreria JVM.\n"
+
+msgid "Error"
+msgstr "Error"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"El Scilab no pot crear la Java Main-Class (no ha pogut trobar la classe "
+"principal del Scilab. Comproveu si hi ha disponibles els paquets de Scilab i "
+"de programari de tercers).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "No s'ha pogut accedir a la classe Main del Scilab:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Error: No s'ha pogut retornar l'entorn Java de Scilab (JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Error: No s'ha pogut retornar l'entorn Java de Scilab (jvm_SCILAB): "
+"Comproveu el Scilab ha carregat la JVM abans de cridar a aquesta funció.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Error estrany. S'ha cridat des de Java, però no s'ha pogut trobar la JVM ja "
+"existent.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"No s'ha pogut carregar la llibreria dinàmica de la JVM (libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Error: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Si utilitzeu una versió binària de l'Scilab, informeu de l'error a "
+"http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Si utilitzeu una versió de l'Scilab compilada per vosaltres mateixos, "
+"actualitzeu el fitxer bin/scilab per passar-li el camí de la JVM.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+"El problema pot estar relacionat amb SELinux. Proveu a desactivar-lo.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"No s'ha pogut llegir el %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"Versió incorrecta del JNI (es necessita com a mínim el JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Error a la creació de la Java VM: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Opcions:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Error de la JVM a AttachCurrentThread: No s'ha pogut afegir el fil actual.\n"
+
+msgid "Unknown JNI error"
+msgstr "Error del JNI desconegut"
+
+msgid "Thread detached from the VM"
+msgstr "Els fils s'han eliminat de la VM"
+
+msgid "JNI version error"
+msgstr "Error de versió al JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: No hi ha prou memòria"
+
+msgid "VM already created"
+msgstr "Ja s'havia creat la VM"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: Arguments invàlids"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Codi d'error desconegut a la JNI. Problema estrany"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Avís: No s'ha pogut trobar el paquet Java '%s'.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "No s'ha pogut accedir al constructor de la classe Main del Scilab:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "No s'ha pogut crear la classe Main del Scilab. Error:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr ""
+
+msgid "Error with Scilab.canClose():\n"
+msgstr ""
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr ""
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Error: No s'ha pogut analitzar el fitxer %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Error: El fitxer de configuració %s no és vàlid (la codificació no és '%s'). "
+"Està codificat en '%s'.\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Error: No s'ha pogut analitzar el fitxer %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "El format de %s és incorrecte.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Error : El fitxer classpath %s no és correcte (la seva codificació no és "
+"'utf-8'). Està codificat en '%s'\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "Avís: No s'ha pogut trobar el fitxer classpath de declaracions %s.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"S'ha produït algun error durant la càrrega de les llibreries Java.\n"
+"Això podria dur a comportaments inconsistents.\n"
+"Comproveu el SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Error : El fitxer de camins %s no és vàlid (la seva codificació no és 'utf-"
+"8'). Està codificat en '%s'\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "El mòdul Java del Scilab no està instal·lat.\n"
diff --git a/modules/jvm/locales/cs_CZ.po b/modules/jvm/locales/cs_CZ.po
new file mode 100755
index 000000000..d3484d2a8
--- /dev/null
+++ b/modules/jvm/locales/cs_CZ.po
@@ -0,0 +1,271 @@
+# Czech translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:49+0000\n"
+"Last-Translator: Scilab.team <Unknown>\n"
+"Language-Team: Czech <cs@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "Rozhraní JVM je vypnuto v režimech -nogui nebo -nwni.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Nelze přečíst vstupní argument #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Není více paměti.\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr "%s: Nelze přidat URL do systémového nahrávače tříd: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr "%s: Špatný typ vstupního argumentu #%d: Očekáván řetězec.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: Nelze přidat cestu do java.library.path: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr "%s: Špatný typ vstupního argumentu #%d nebo #%d: Očekáván řetězec.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab nemůže otevřít knihovnu JVM.\n"
+
+msgid "Error"
+msgstr "Chyba"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab nemůže vytvořit Hlavní Třídu Scilab Java 'nebyli jsme schopni nalézt "
+"hlavní třídu Scilab. Zkontrolujte, zda jsou balíčky Scilab a třetí strany "
+"dostupné).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+"Pokud je Scilab používán z Java, ujistěte se, že Vaše IDE (např.: Netbeans, "
+"atd.) nepřidávají dodatečné závislosti, které by při běhu nemohly být "
+"nalezeny.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Není přístup k Hlavní Třídě Scilab:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr "Nelze spustit počáteční háky. Chyba:\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Chyba: Nelze vrátit prostředí Scilab Java (JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Chyba: Nelze vrátit prostředí Scilab Java (jvm_SCILAB): zkontrolujte, zda "
+"Scilab načetl JVM, před zavoláním této funkce.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Divná chyba. Volám z Javy, ale nejsem schopen nalézt už existující JVM.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"Nelze načíst dynamickou knihovnu JVM (libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Chyba: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Pokud používáte binární verzi Scilab, chybu prosím ohlašte na "
+"http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Pokud používáte vlastní sestavenou verzi Scilab, aktualizujte skript "
+"bin/scilab a poskytněte cestu k JVM.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr "Problém může mít souvislost s SELinux. Zkuste ho vypnout.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+"Také prosím zkontrolujte, zda-li se nepokoušíte spouštět Scilab 64 bit na 32 "
+"bitovém systému (nebo naopak).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Nelze přečíst %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"Nesprávná verze JNI (vyžadováno alespoň JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Chyba při vytváření Java VM: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Možnosti:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Chyba JVM v AttachCurrentThread: Nelze připojit k současnému vláknu.\n"
+
+msgid "Unknown JNI error"
+msgstr "Neznáma chyba JNI"
+
+msgid "Thread detached from the VM"
+msgstr "Vlákno bylo odpojeno od VM"
+
+msgid "JNI version error"
+msgstr "Chyba verze JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: nedostatek paměti"
+
+msgid "VM already created"
+msgstr "VM je už vytvořen"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: neplatné argumenty"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Nestanovená chyba v JNI. Zvlášrní problém"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Varování: Nelze nalézt Java balíček '%s'.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "Není přístup ke staviteli Hlavní Třídy Scilab:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Nelze vytvořit hlavní třídu Scilab. Chyba:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr "Nelze spustit konečné háky. Chyba:\n"
+
+msgid "Error with Scilab.canClose():\n"
+msgstr "Chyba v Scilab.canClose():\n"
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr "Chyba v Scilab.forceClose():\n"
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Chyba : Nelze analyzovat soubor %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Chyba: %s není platný soubor nastavení (kódování není '%s') Nalezeno "
+"kódování '%s'.\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Chyba : Nelze analyzovat soubor %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Špatný formát pro %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Chyba : %s není platný soubor cesty třídy (kódování není 'utf-8') Nalezeno "
+"kódování '%s'.\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "Varování: nelze nalézt deklarační soubor cest tříd %s.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Vyskytly se nějaké problémy při nahrávání knihoven Java.\n"
+"To by mohlo vést k nestabilnímu chování.\n"
+"Zkontrolujte prosím SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Chyba : %s není platný soubor cesty (kódování není 'utf-8') Nalezeno "
+"kódování '%s'.\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Modul Java Scilab není nainstalován.\n"
diff --git a/modules/jvm/locales/de_DE.po b/modules/jvm/locales/de_DE.po
new file mode 100755
index 000000000..a3e09ae22
--- /dev/null
+++ b/modules/jvm/locales/de_DE.po
@@ -0,0 +1,273 @@
+# German translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:58+0000\n"
+"Last-Translator: cmdrhenner <cmdrhenner@gmail.com>\n"
+"Language-Team: German <de@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: de\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "JVM Schnittstelle in -nogui oder -nwni Modus hinzufügen.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr "%s: kann keine URL zum System Klassenlader: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr "%s: falscher Typ für Eingangsargument #%d: Variable erwartet.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: kann keine Pfad zu java.library.path hinzufügen: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+"%s: falscher Typ für Eingangsargument #%d oder #%d: Zeichenkette erwartet.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab kann JVM Bibliothek nicht öffnen.\n"
+
+msgid "Error"
+msgstr "Fehler"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab kann keineScilab Java Haupt Klasse erzeugen (wir konnten die Scilab "
+"Haupt Klasse nicht finden. Überprüfen Sie, ob Scilab und drittpartei Pakete "
+"verfügbar sind.).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Kann nicht auf die Haupt Scliab Klasse zugreifen:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Fehler: kann die Scilab Java Umgebung nicht aufrufen (JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Fehler: kann Scilab Java Laufzeitumgebung (jvm_SCILAB) nicht aufrufen: "
+"überprüfen Sie, ob die JVM durch Scilab geladen wurde, bevor Scilab diese "
+"Funktion aufruft.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Unbekannter Fehler: Aufruf von Java, konnte die bereist existierende JVM "
+"nicht finden.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"Kann die JVM dynamische Bibliothek (libjava) nicht laden.\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Fehler: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Wenn Sie eine Binärversion von Scilab verwenden, geben Sie einen "
+"Fehlerbreicht unter http://bugzilla.scilab.org/ ab.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Wenn Sie eine selbsterzeugte Version von Scilab verwenden, aktualisieren Sie "
+"das Skript Bin/Scilab, um einen Pfad zu JVM zu geben.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+"Das Problem könnte mit SELinux zusammenhängen. Versuchen Sie es zu "
+"deaktivieren.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Unmöglich zu lesen %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"Nicht korrekte Version JNI (benötigt mindestens JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Fehler beim Erzeugen der Java VM: %s.\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Optionen:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"JVM Fehler in AttachCurrentThread: kann nicht an den aktuellen "
+"Programmprozess anhängen.\n"
+
+msgid "Unknown JNI error"
+msgstr "UNbekannter JNI Fehler"
+
+msgid "Thread detached from the VM"
+msgstr "Programmprozess aus der virtuellen Maschine gelöst"
+
+msgid "JNI version error"
+msgstr "JNI Versions Fehler"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: nicht genug Speicher"
+
+msgid "VM already created"
+msgstr "VM bereits erzeugt"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: ungültige Argumente"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "undefinierter Fehlercode in der JNI. Unbekanntes Problem."
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Warnung: kann kein Java Paket finden '%s'.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "Kann nicht auf den Konstruktor der Haupt Scliab Klasse zugreifen:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Kann keine Scilab Haupt Klasse erzeugen: Fehler:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr ""
+
+msgid "Error with Scilab.canClose():\n"
+msgstr ""
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr ""
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Fehler: Kann Datei %s nicht einlesen.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Fehler: keine gültige Konfigurationsdatei %s (Enkodierung nicht '%s') "
+"Enkodierung '%s' nicht gefunden.\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Fehler: kann Datei nicht einlesen %s.\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Falsches Format für %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Fehler: keine gültige Klassenpfad Datei %s (Enkodierung nicht 'utf-8'); "
+"Enkodierung '%s' gefunden.\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "Warnung: kann keine Klassenpfad Deklarationsdatei %s finden.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Einige Probleme sind während des Ladens der Java Bibliotheken aufgetreten.\n"
+"Dies kann zu unvorhergesehenem Verhalten führen.\n"
+"Überprüfen Sie SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Fehler: keine gültige Pfaddatei %s (Enkodierung nicht 'utf-8') Enkodierung "
+"'%s' gefunden\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Scilab Java Modul nicht installiert.\n"
diff --git a/modules/jvm/locales/es_ES.po b/modules/jvm/locales/es_ES.po
new file mode 100755
index 000000000..26461c6c3
--- /dev/null
+++ b/modules/jvm/locales/es_ES.po
@@ -0,0 +1,280 @@
+# Spanish translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-11-05 12:48+0000\n"
+"Last-Translator: Jaime López Sánchez <jaimelopezsanchez@gmail.com>\n"
+"Language-Team: Spanish <es@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: es\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "La interfase JVM está deshabilitada en los modos -nogui o -nwni.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: No se puede leer el argumento de entrada #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: No hay más memoria.\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr "%s: No se puede agregar URL a un sistema de carga de clase : %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un string.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: No se puede agregar una ruta a java.library.path: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d o #%d: Se esperaba un "
+"string.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab no puede abrir biblioteca JVM.\n"
+
+msgid "Error"
+msgstr "Error"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab no puede crear una clase Main de Scilab Java (no fuimos capaces de "
+"encontrar la clase main de Scilab. Revise si los paquetes de terceros de "
+"Scilab están disponibles).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+"Si Scilab es utilizado desde Java, asegúrese que su EID (Netbeans, Eclipse, "
+"etc) no esté agregando dependencias adicionales que no puedan ser "
+"encontradas en tiempo de ejecución.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "No se puede acceder a la clase Main de Scilab:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Error: No se puede devolver un Entorno Java de Scilab (JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Error: No se puede devolver un entorno Java de Scilab (jvm_SCILAB): revise "
+"si la JVM a sido cargada por Scilab antes de llamar a esta función.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Error raro. Llamando desde Java pero no fue posible encontrar la JVM "
+"existente.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"No se puede cargar la biblioteca dinámica de la JVM (libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Error: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Sí está usando una versión binaria de Scilab, por favor informe errores en "
+"http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Sí está usando una versión auto-generada Scilab, actualice el script "
+"bin/scilab para proveer una ruta a la JVM.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+"El problema puede estar relacionado a SELinux. Desactívelo e intente "
+"nuevamente.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+"Por favor revise si está intentando Scilab de 64 bits en un sistema de 32 "
+"bits (o viceversa).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Imposible leer %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"Versión incorrecta de JNI (se necesita al menos JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Error en la creación de la MV de Java: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Opciones:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Error de JVM en AttachCurrentThread: No se puede adjuntar el hilo actual.\n"
+
+msgid "Unknown JNI error"
+msgstr "Error desconocido de JNI"
+
+msgid "Thread detached from the VM"
+msgstr "Hilo des-adjuntado de la MV"
+
+msgid "JNI version error"
+msgstr "Error de versión de JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: memoria insuficiente"
+
+msgid "VM already created"
+msgstr "Ya se creo la MV"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: argumentos inválidos"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Error de código indefinido de la JNI. Problema raro"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Advertencia: No se puede encontrar el paquete '%s' de Java.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "No se puede acceder al constructor de la clase Main de Scilab:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Error: No se puede crear una clase Main de Scilab.\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr ""
+
+msgid "Error with Scilab.canClose():\n"
+msgstr "Error en Scilab.canClose():\n"
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr "Error con Scilab.forceClose()\n"
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Error: No se puede analizar el archivo %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Error: %s no es un archivo de configuración válido (codificación no '%s') Se "
+"encontró codificación '%s'.\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Error: no se pudo analizar el archivo %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Formato incorrecto para %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Error : %s no es un archivo válido de classpath (codificación no 'utf-8') Se "
+"encontró codificación '%s'\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr ""
+"Advertencia: No se pudo encontrar el archivo de declaración de classpath "
+"%s.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Ocurrieron algunos problemas durante la carga de la biblioteca Java.\n"
+"Esto puede acarrear a comportamientos inconsistentes.\n"
+"Por favor revise SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Error : El archivo de ruta %s no es válido (codificación not 'utf-8') Se "
+"encontró codificación '%s'\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "El módulo Java de Scilab no está instalado.\n"
diff --git a/modules/jvm/locales/fr_FR.po b/modules/jvm/locales/fr_FR.po
new file mode 100755
index 000000000..2bac040f2
--- /dev/null
+++ b/modules/jvm/locales/fr_FR.po
@@ -0,0 +1,281 @@
+# French translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:58+0000\n"
+"Last-Translator: Scilab.team <Unknown>\n"
+"Language-Team: French <fr@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: fr\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "L'interface JVM est désactivée en mode -nogui ou -nwni.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s : Impossible de lire l'argument d'entrée n°%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s : Plus de mémoire disponible.\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr ""
+"%s : Impossible d'ajouter l'URL au chargeur de classes du système : %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Une chaîne de caractères "
+"attendue.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s : Impossible d'ajouter un chemin à java.library.path : %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d ou n°%d : Une chaîne de "
+"caractères attendue.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab ne peut pas ouvrir la bibliothèque JVM.\n"
+
+msgid "Error"
+msgstr "Erreur"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab ne peut pas créer la classe principale Java Scilab (Impossible de "
+"trouver la classe Scilab principale. Vérifiez si les paquets Scilab et "
+"thirdparty sont accessibles).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+"Si Scilab est utilisé à partir de Java, assurez-vous que votre IDE (ex: "
+"Netbeans, etc) n'ajoute les dépendances supplémentaires qui n'ont pas pu "
+"être trouvé à l'exécution.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Impossible d'accéder à la classe principale de Scilab :\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr "Impossible d'exécuter la procédure d'initialisation. Erreur :\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Erreur : Impossible de retourner l'environnement Java Scilab "
+"(JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Erreur : Impossible de retourner l'environnement Scilab Java (jvm_SCILAB): "
+"Vérifiez si la JVM a été chargée par Scilab avant d'appeler cette fonction.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Erreur étrange. Appel de Java, mais impossible de trouver une JVM "
+"existante.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"Impossible de charger la bibliothèque dynamique JVM (libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Erreur : %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Si vous utilisez une version binaire de Scilab, merci de reporter ce "
+"problème sur http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Si vous avez compilé votre propre version de Scilab, veuillez mettre à jour "
+"le script bin/scilab pour indiquer le chemin vers la JVM.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr "Le problème doit venir de SELinux. Essayez de le désactiver.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+"Veuillez vérifier que vous ne lancez pas Scilab 64 bits sur un système 32 "
+"bits (ou l'inverse).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Impossible de lire %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"La version JNI est incorrecte (besoin d'au moins JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Erreur lors de la création de la Machine Virtuelle Java : %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Options :\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Erreur JVM dans AttachCurrentThread : Impossible d'attacher le thread "
+"courant.\n"
+
+msgid "Unknown JNI error"
+msgstr "Erreur JNI inconnue"
+
+msgid "Thread detached from the VM"
+msgstr "Thread détaché de la machine virtuelle"
+
+msgid "JNI version error"
+msgstr "Erreur de version JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI : Pas assez de mémoire"
+
+msgid "VM already created"
+msgstr "VM déjà créée"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI : Arguments invalides"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Code d'erreur indéfini dans la JNI. Problème à vérifier."
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Attention : Impossible de trouver le package Java '%s'.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr ""
+"Impossible d'accéder au constructeur de la classe principale de Scilab :\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Impossible de créer une classe principale de Scilab. Erreur :\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr "Impossible d'exécuter la procédure de fermeture. Erreur :\n"
+
+msgid "Error with Scilab.canClose():\n"
+msgstr "Erreur dans Scilab.canClose() :\n"
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr "Erreur avec Scilab.forceClose() :\n"
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Erreur : Impossible d'analyser (parser) le fichier %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Erreur : Fichier de configuration %s invalide (l'encodage n'est pas '%s') "
+"Encodage '%s' trouvé.\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Erreur : Impossible d'analyser (parser) le fichier %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Format erroné de %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Erreur : Fichier classpath %s invalide (encodage pas 'utf-8') Encodage '%s' "
+"trouvé\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr ""
+"Attention : Impossible de trouver le fichier de déclaration classpath %s.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Des problèmes sont survenus pendant le chargement des bibliothèques Java.\n"
+"Pouvant induire des erreurs de Scilab.\n"
+"Veuillez vérifier le fichier SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Erreur : Chemin %s invalide (encodage pas 'utf-8') Encodage '%s' trouvé\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Le module Java de Scilab n'est pas installé.\n"
diff --git a/modules/jvm/locales/it_IT.po b/modules/jvm/locales/it_IT.po
new file mode 100755
index 000000000..f96508d2f
--- /dev/null
+++ b/modules/jvm/locales/it_IT.po
@@ -0,0 +1,286 @@
+# Italian translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-09-28 04:07+0000\n"
+"Last-Translator: Carml <mighty.carml@gmail.com>\n"
+"Language-Team: Italian <it@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: it\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "L'interfaccia della JVM è disabilitata in modalità -nogui o -nwni.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Impossibile leggere l'argomento in ingresso #%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Memoria esaurita.\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr ""
+"%s: Non è possibile aggiungere un URL al classloader di sistema: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una "
+"stringa.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr ""
+"%s: Non è possibile aggiungere un percorso a java.library.path: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d o #%d è di tipo sbagliato: era attesa una "
+"stringa.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab non può aprire la libreria della JVM.\n"
+
+msgid "Error"
+msgstr "Errore"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab non può creare la Java Main-Class per Scilab (non è stata trovata la "
+"classe main di Scilab.Controllare se sono disponibili dei pacchetti di "
+"Scilab o di altri).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+"Se Scilab è usato tramite Java,assicurarsi che lo IDE in uso (es: "
+"Netbeans,ecc) non stia aggiungendo delle dipendenze extra che non possono "
+"essere trovate durante l'esecuzione.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Non è possibile accedere alla classe Main di Scilab\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Errore: non è possibile restituire l'ambiente (JNIEnv_SCILAB) di Java in "
+"Scilab.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Errore: non è possibile restituire l'ambiente (jvm_SCILAB) di Java in "
+"Scilab: controllare se la JVM è stata caricata da Scilab prima di chiamare "
+"questa funzione.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Errore strano. C'è una chiamata dal Java, ma non è stato possibile trovare "
+"la JVM già esistente.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"Non è possibile caricare la libreria dinamica (libjava) della JVM.\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Errore: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Se si sta usando una versione binaria di Scilab,segnalare un bug su "
+"http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Se si sta usando una versione compilata di Scilab, aggiornare lo script "
+"bin/scilab per fornire il percorso alla JVM.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+"Il problema potrebbe essere legato a SELinux. Provare a disattivarlo.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+"Controllare che non si stia provando ad eseguire una versione a 64 bit di "
+"Scilab su un ambiente a 32 bit (o viceversa).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Impossibile leggere %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"Versione di JNI non corretta (necessita almeno JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Errore durante la creazione della JVM: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Opzioni:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Errore di JVM in AttachCurrebtThread: non è possibile agganciarsi al thread "
+"corrente.\n"
+
+msgid "Unknown JNI error"
+msgstr "Errore di JNI sconosciuto"
+
+msgid "Thread detached from the VM"
+msgstr "Thread sganciato dalla VM"
+
+msgid "JNI version error"
+msgstr "Errore della versione di JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: memoria insufficiente"
+
+msgid "VM already created"
+msgstr "VM già creata"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: argomenti non validi"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Codice di errore non definito nel JNI. È uno strano problema"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Attenzione: non è possibile trovare il pacchetto Java '%s'.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr ""
+"Non è possibile accedere al costruttore della classe Main di Scilab:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Non è possibile creare una classe main di Scilab. Errore:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr "Impossibile eseguire gli agganci finali. Errore:\n"
+
+msgid "Error with Scilab.canClose():\n"
+msgstr "Errore con Scilab.canClose():\n"
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr "Errore con Scilab.forceClose():\n"
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Errore: non è possibile analizzare il file %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Errore: il file di configurazione %s non è valido (la codifica non è "
+"'%s'),trovata la codifica '%s'.\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Errore: non è possibile analizzare il file %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Formato sbagliato per %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Errore il file classpath %s non è valido (la codifica non è 'utf-8),trovata "
+"la codifica '%s'\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr ""
+"Attenzione: non è possibile trovare il file %s di dichiarazione della "
+"classpath.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Si sono verificati degli errori durante il caricamento delle librerie Java.\n"
+"Questo potrebbe condurre a dei comportamenti incoerenti.\n"
+"Controllare SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Errore: il file di percorso %s non è valido (la codifica non è 'utf-8'), "
+"trovata la codifica '%s'\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Il modulo Java di Scilab non è installato.\n"
diff --git a/modules/jvm/locales/ja_JP.po b/modules/jvm/locales/ja_JP.po
new file mode 100755
index 000000000..d4109f9b1
--- /dev/null
+++ b/modules/jvm/locales/ja_JP.po
@@ -0,0 +1,322 @@
+# Japanese translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:53+0000\n"
+"Last-Translator: Scilab.team <Unknown>\n"
+"Language-Team: Japanese <z-saito@guitar.ocn.ne.jp>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"X-Poedit-Country: Japan\n"
+"Language: ja\n"
+"X-Poedit-Language: Japanese\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "JVMインターフェイスは -nogui または -nwni モードでは無効です.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: 入力引数 #%d を読み込めません.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: メモリ不足です.\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr "%s: システムのクラスローダにURLを追加できませんでした: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr "%s: 入力引数 #%d の型が間違っています: 文字列を指定してください.\n"
+
+#
+# File: sci_gateway/c/sci_javalibrarypath.c, line: 58
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: java.library.pathにpathを追加できませんでした。: %s\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr "%s: 入力引数 #%d または #%d の型が間違っています: 文字列を指定してください.\n"
+
+#
+# File: src/c/InitializeJVM.c, line: 40
+# File: src/c/InitializeJVM.c, line: 42
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilabは JVMライブラリを開けません。\n"
+
+#
+# File: src/c/InitializeJVM.c, line: 40
+# File: src/c/InitializeJVM.c, line: 53
+# File: src/c/JVM.c, line: 68
+# File: src/c/JVM.c, line: 83
+# File: src/c/JVM.c, line: 146
+# File: src/c/JVM.c, line: 180
+# File: src/c/JVM.c, line: 207
+msgid "Error"
+msgstr "エラー"
+
+#
+# File: src/c/InitializeJVM.c, line: 53
+# File: src/c/InitializeJVM.c, line: 55
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab Java "
+"メイン・クラスを生成できません(私達は、主なScilabクラスを見つけることができません。Scilabとサードパーティパッケージが利用できるかどうか確かめ"
+"て下さい)\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+"javaからScilabを使用する場合, IDE (Netbeansなど)が実行時に解決できない外部への依存性を付加しないようにしてください.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Main Scilabクラスにアクセスできませんでした.\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr "初期フックを実行できません. エラー:\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"エラー: Scilab java環境 (JNIEnv_SCILAB) から戻れません.\n"
+
+#
+# File: src/c/JVM.c, line: 83
+# File: src/c/JVM.c, line: 85
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"エラー: Scilab Java環境(jvm_SCILAB)から戻れません: "
+"JVMがこのファンクションを呼ぶ前にScilabによってロードされたかどうか確かめて下さい。\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"奇妙なエラー. Java からコールされましたが, 実行中のJVMを見つけることができませんでした.\n"
+
+#
+# File: src/c/JVM.c, line: 117
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"JVMダイナミックライブラリ(libjava)をロードできません。\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "エラー: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr "バイナリ版のScilabを使用している場合, http://bugzilla.scilab.org/ にバグを報告してください.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr "独自に構築したScilabを使用している場合, bin/scilab スクリプトを更新し, JVMのパスを指定してください.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr "この問題はSELinuxに関係する可能性があります. SELinuxを無効にしてみてください.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr "Scilab 64ビット版を32ビットシステムで実行しようとしていないかについても確認してください.\n"
+
+#
+# File: src/c/JVM.c, line: 152
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"%s を読めません。\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"JNIのバージョンが正しくありません (JDK 1.4以上が必要です).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Java VM生成時にエラーを発生しました: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "オプション:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"AttachCurrentThread で JVM エラーを発生しました : カレントのスレッドにアタッチできませんでした.\n"
+
+#
+# File: src/c/JVM_commons.c, line: 82
+msgid "Unknown JNI error"
+msgstr "未知の JNI エラー"
+
+#
+# File: src/c/JVM_commons.c, line: 85
+msgid "Thread detached from the VM"
+msgstr "スレッドはVMから離されました"
+
+#
+# File: src/c/JVM_commons.c, line: 88
+msgid "JNI version error"
+msgstr "JNI バージョンエラー"
+
+#
+# File: src/c/JVM_commons.c, line: 93
+msgid "JNI: not enough memory"
+msgstr "JNI: メモリが足りません"
+
+#
+# File: src/c/JVM_commons.c, line: 99
+msgid "VM already created"
+msgstr "VMはすでに生成されています"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: 引数に誤りがあります"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "JNIで未定義のエラーコード. 奇妙な問題"
+
+#
+# File: src/c/addToClasspath.c, line: 59
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "警告: Javaパッケージ '%s' が見つかりません。\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "Main Scilabクラスのコンストラクタにアクセスできませんでした:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Scilab Mainクラスを作成できませんでした. エラー:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr "最終フックを実行できません. エラー:\n"
+
+msgid "Error with Scilab.canClose():\n"
+msgstr "Scilabエラー. canClose(実行中です.\n"
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr "Scilab.forceClose() でエラーが発生しました:\n"
+
+#
+# File: src/c/getJvmOptions.c, line: 51
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "エラー: ファイル %s の解析ができません。\n"
+
+#
+# File: src/c/getJvmOptions.c, line: 118
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"エラー: 構成ファイル %s が適切ではありません(エンコーディングが '%s' ではない) エンコーディング '%s' が見つかりました\n"
+
+#
+# File: src/c/loadClasspath.c, line: 78
+# File: src/c/loadLibrarypath.c, line: 51
+# File: src/c/loadOnUseClassPath.c, line: 63
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "エラー: ファイル %s の解析ができません\n"
+
+#
+# File: src/c/loadClasspath.c, line: 166
+# File: src/c/loadLibrarypath.c, line: 114
+# File: src/c/loadOnUseClassPath.c, line: 112
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "%s でフォーマットが不正です。\n"
+
+#
+# File: src/c/loadClasspath.c, line: 178
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"エラー: classpathファイル %s が適切ではありません(エンコーディングが'utf-8'ではない) エンコーディング '%s' "
+"が見つかりました\n"
+
+#
+# File: src/c/loadClasspath.c, line: 184
+# File: src/c/loadOnUseClassPath.c, line: 123
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "警告: classpath定義ファイル %s が見つかりません。\n"
+
+#
+# File: src/c/loadClasspath.c, line: 188
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Javaライブラリのロードでいくつかの問題が発生しました。\n"
+"これは、一貫性がない挙動をするかもしれません。\n"
+"どうぞ SCI/etc/classpath.xml を確認してください。\n"
+
+#
+# File: src/c/loadLibrarypath.c, line: 127
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"エラー: pathファイル %s が適切ではありません(エンコーディングが'utf-8'ではない) エンコーディング '%s' が見つかりました\n"
+
+#
+# File: src/nojvm/nojvm.c, line: 27
+msgid "Scilab Java module not installed.\n"
+msgstr "Scilab Java モジュールはインストールされていません。\n"
diff --git a/modules/jvm/locales/jvm.pot b/modules/jvm/locales/jvm.pot
new file mode 100755
index 000000000..b9bb2a834
--- /dev/null
+++ b/modules/jvm/locales/jvm.pot
@@ -0,0 +1,358 @@
+# Localization of the module jvm
+# Please see in SCI/tools/localization for localization management
+# Copyright (C) 2007-2008 - INRIA
+# Copyright (C) 2008-2011 - DIGITEO
+# Copyright (C) 2012-2014 - Scilab-Enterprises
+# This file is distributed under the same license as the Scilab package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"Last-Translator: Vincent COUVERT <vincent.couvert@scilab-enterprises.com>\n"
+"Language-Team: Scilab Localization <localization@lists.scilab.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Revision-Date: 2015-03-27 13:54+0100\n"
+
+# File: sci_gateway/c/gw_jvm.c, line: 47
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_javaclasspath.c, line: 53
+# File: sci_gateway/c/sci_javaclasspath.c, line: 61
+# File: sci_gateway/c/sci_javaclasspath.c, line: 77
+# File: sci_gateway/c/sci_javaclasspath.c, line: 98
+# File: sci_gateway/c/sci_javaclasspath.c, line: 129
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_javaclasspath.c, line: 84
+# File: sci_gateway/c/sci_javaclasspath.c, line: 110
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_javaclasspath.c, line: 137
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_javaclasspath.c, line: 148
+# File: sci_gateway/c/sci_javalibrarypath.c, line: 69
+# File: sci_gateway/c/sci_system_getproperty.c, line: 50
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_javalibrarypath.c, line: 58
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_system_setproperty.c, line: 67
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+
+#
+# File: src/c/InitializeJVM.c, line: 50
+# File: src/c/InitializeJVM.c, line: 52
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+
+#
+# File: src/c/InitializeJVM.c, line: 50
+# File: src/c/InitializeJVM.c, line: 77
+# File: src/c/JVM.c, line: 99
+# File: src/c/JVM.c, line: 118
+# File: src/c/JVM.c, line: 190
+# File: src/c/JVM.c, line: 224
+# File: src/c/JVM.c, line: 261
+msgid "Error"
+msgstr ""
+
+#
+# File: src/c/InitializeJVM.c, line: 62
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+
+#
+# File: src/c/InitializeJVM.c, line: 66
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+
+#
+# File: src/c/InitializeJVM.c, line: 141
+# File: src/c/createMainScilabObject.c, line: 34
+# File: src/c/createMainScilabObject.c, line: 80
+# File: src/c/createMainScilabObject.c, line: 118
+# File: src/c/createMainScilabObject.c, line: 152
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr ""
+
+#
+# File: src/c/InitializeJVM.c, line: 150
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 99
+# File: src/c/JVM.c, line: 102
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 117
+# File: src/c/JVM.c, line: 122
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 146
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 155
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 156
+#, c-format
+msgid "Error: %s\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 157
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug http://"
+"bugzilla.scilab.org/.\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 158
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script bin/"
+"scilab to provide the path to the JVM.\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 160
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 161
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 196
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 224
+# File: src/c/JVM.c, line: 226
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 238
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 244
+#, c-format
+msgid "Options:\n"
+msgstr ""
+
+#
+# File: src/c/JVM.c, line: 261
+# File: src/c/JVM.c, line: 264
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+
+#
+# File: src/c/JVM_commons.c, line: 136
+msgid "Unknown JNI error"
+msgstr ""
+
+#
+# File: src/c/JVM_commons.c, line: 139
+msgid "Thread detached from the VM"
+msgstr ""
+
+#
+# File: src/c/JVM_commons.c, line: 142
+msgid "JNI version error"
+msgstr ""
+
+#
+# File: src/c/JVM_commons.c, line: 147
+msgid "JNI: not enough memory"
+msgstr ""
+
+#
+# File: src/c/JVM_commons.c, line: 153
+msgid "VM already created"
+msgstr ""
+
+#
+# File: src/c/JVM_commons.c, line: 159
+msgid "JNI: invalid arguments"
+msgstr ""
+
+#
+# File: src/c/JVM_commons.c, line: 163
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr ""
+
+#
+# File: src/c/addToClasspath.c, line: 54
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr ""
+
+#
+# File: src/c/createMainScilabObject.c, line: 39
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr ""
+
+#
+# File: src/c/createMainScilabObject.c, line: 44
+# File: src/c/createMainScilabObject.c, line: 49
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr ""
+
+#
+# File: src/c/createMainScilabObject.c, line: 89
+msgid "Cannot execute final hooks. Error:\n"
+msgstr ""
+
+#
+# File: src/c/createMainScilabObject.c, line: 127
+msgid "Error with Scilab.canClose():\n"
+msgstr ""
+
+#
+# File: src/c/createMainScilabObject.c, line: 161
+msgid "Error with Scilab.forceClose():\n"
+msgstr ""
+
+#
+# File: src/c/getJvmOptions.c, line: 67
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr ""
+
+#
+# File: src/c/getJvmOptions.c, line: 189
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+
+#
+# File: src/c/loadClasspath.c, line: 89
+# File: src/c/loadLibrarypath.c, line: 61
+# File: src/c/loadOnUseClassPath.c, line: 63
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr ""
+
+#
+# File: src/c/loadClasspath.c, line: 185
+# File: src/c/loadLibrarypath.c, line: 132
+# File: src/c/loadOnUseClassPath.c, line: 116
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr ""
+
+#
+# File: src/c/loadClasspath.c, line: 204
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+
+#
+# File: src/c/loadClasspath.c, line: 214
+# File: src/c/loadOnUseClassPath.c, line: 135
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr ""
+
+#
+# File: src/c/loadClasspath.c, line: 218
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+
+#
+# File: src/c/loadLibrarypath.c, line: 147
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+
+#
+# File: src/nojvm/nojvm.c, line: 36
+msgid "Scilab Java module not installed.\n"
+msgstr ""
diff --git a/modules/jvm/locales/pl_PL.po b/modules/jvm/locales/pl_PL.po
new file mode 100755
index 000000000..78ab677fc
--- /dev/null
+++ b/modules/jvm/locales/pl_PL.po
@@ -0,0 +1,276 @@
+# Polish translation for scilab
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:58+0000\n"
+"Last-Translator: Jarosław Ogrodnik <nobodythere@gmail.com>\n"
+"Language-Team: Polish <pl@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: pl\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "Interfejs JVM wyłączony w trybach in -nogui lub -nwni.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr ""
+"%s: Nie udało się dodać adresu URL do systemowego classloader'a : %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentu wejściowego nr %d: oczekiwano łańcuch.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: Nie udało się dodać ścieżki do java.library.path: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentu wejściowego nr %d lub nr %d : oczekiwano "
+"ciągu znaków.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Program Scilab nie zdołał otworzyć biblioteki JVM.\n"
+
+msgid "Error"
+msgstr "Błąd"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab nie mógł utworzyć Scilab Java Main-Class (nie udało się odnaleźć "
+"głównej klasy programu Scilab. Sprawdź czy Scilab i dodatkowe moduły są "
+"dostępne.).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Nie uzyskano dostępu do Main Scilab Class:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Błąd: Nie udało się przywrócić środowiska Java programu Scilab "
+"(JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Błąd: Nie udało się przywrócić środowiska Java programu Scilab (jvm_SCILAB): "
+"sprawdź czy JVM zostało załadowane przez program Scilab przed wywołaniem tej "
+"funkcji.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Dziwny błąd. Wywołanie z Javy ale nie odnaleziono już istniejącego JVM.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"Nie udało się załadować dynamicznej biblioteki JVM(libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Błąd: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Jeśli używasz binarnej wersji programu Scilab, proszę zgłosić ten błąd na "
+"stronie http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Jeśli używasz własnej wersji programu Scilab, uaktualnij skrypy bin/scilab "
+"by zawierał ścieżkę do JVM.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+"Ten problem może być związany z SELinux. Proszę spróbować go wyłączyć.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Niemożliwe do odczytu %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"Nieprawidłowa wersja JNI (potrzeba co najmniej JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Błąd przy tworzeniu Java VM: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Opcje:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Błąd JVM w AttachCurrentThread: Nie udało się dołączyć bieżącego wątku.\n"
+
+msgid "Unknown JNI error"
+msgstr "Nieznany błąd JNI"
+
+msgid "Thread detached from the VM"
+msgstr "Wątek odłączony od VM"
+
+msgid "JNI version error"
+msgstr "błąd wersji JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: za mało pamięci"
+
+msgid "VM already created"
+msgstr "VM jest już utworzona."
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: nieprawidłowe parametry"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Niezdefiniowany błąd w kodzie JNI. Dziwny problem"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Ostrzeżenie: Nie odnaleziono pakietu Java: '%s'.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "Nie uzyskano dostępu do konstruktora Main Scilab Class:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Nie udało się utworzyć głównej klasy dla programu Scilab. Błąd:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr ""
+
+msgid "Error with Scilab.canClose():\n"
+msgstr ""
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr ""
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr ""
+"Błąd: nie udało się przeprowadzić analizę gramatyczną (parse) pliku %s\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Błąd: Nieprawidłowy plik konfiguracji %s (kodowanie inne niż '%s') "
+"Znaleziono kodowanie '%s' .\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr ""
+"Błąd: nie udało się przeprowadzić analizę gramatyczną (parse) pliku %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Zły format dla %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Błąd : Nieprawidłowy plik classpath %s (kodowanie inne niż 'utf-8') "
+"Znaleziono kodowanie '%s'\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "Ostrzeżenie: nie odnaleziono pliku %s deklaracji classpath .\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Wystąpiły problemy podczas ładowania bibliotek Java.\n"
+"Może to prowadzić do niepożądanych zachowań.\n"
+"Proszę sprawdzić SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Błąd : Nieprawidłowy plik ścieżki %s (kodowanie inne niż 'utf-8') Znaleziono "
+"kodowanie '%s'\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Moduł Java programu Scilab nie jest zainstalowany.\n"
diff --git a/modules/jvm/locales/pt_BR.po b/modules/jvm/locales/pt_BR.po
new file mode 100755
index 000000000..2ed73b286
--- /dev/null
+++ b/modules/jvm/locales/pt_BR.po
@@ -0,0 +1,281 @@
+# Brazilian Portuguese translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:58+0000\n"
+"Last-Translator: Thiago de Melo <tmelo.mat@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: pt_BR\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "Interface JVM desabilitada nos modos -nogui ou -nwni.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr ""
+"%s: Não foi possível adicionar URL ao carregador de classes do sistema : "
+"%s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr ""
+"%s: Tipo errado para o argumento de entrada #%d: Esperava-se um texto.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: Não foi possível adicionar o caminho ao java.library.path: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+"%s: Tipo errado para o argumento de entrada #%d ou #%d: Esperava-se uma "
+"cadeia.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"O Scilab não consegue abrir a biblioteca JVM.\n"
+
+msgid "Error"
+msgstr "Erro"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab não pode criar Scilab Java Main-Class (não conseguimos encontrar a "
+"classe principal do Scilab. Verifique se o Scilab e pacotes de terceiros "
+"estão disponíveis).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+"Se Scilab é usado no Java, certifique-se de que sua IDE (ex: Netbeans, etc) "
+"não está adicionando dependências extras que podem não ser encontradas na "
+"execução.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Não foi possível acessar a classe principal do Scilab:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Erro: Não se consegue retornar o ambiente Java Scilab (JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Erro: Não se consegue retornar o ambiente Java Scilab (jvm_SCILAB): "
+"verifique se o JVM foi carregado pelo Scilab antes de chamar esta função.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Erro estranho. Chamando do Java, mas não foi possível encontrar o JVM já "
+"existente.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"Não foi possível carregar a biblioteca dinâmica JVM (libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Erro: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Se você está usando uma versão binária de Scilab, por favor, reporte um bug "
+"para http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Se você está usando uma versão do Scilab compilada por você então atualize o "
+"script bin/scilab para fornecer o caminho da JVM.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr "O problema pode estar relacionado ao SELinux. Tente desativá-lo.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+"Por favor, verifique se você não está tentando executar Scilab 64 bits em um "
+"sistema de 32 bits (ou vice versa).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Impossível ler %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"JNI de versão incorreta (é necessário JDK 1.4 ou superior).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Erro na criação do Java VM: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Opções:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Erro JVM em AttachCurrentThread: Não é possível anexar à linha corrente.\n"
+
+msgid "Unknown JNI error"
+msgstr "Erro JNI desconhecido"
+
+msgid "Thread detached from the VM"
+msgstr "Linha desanexada da VM"
+
+msgid "JNI version error"
+msgstr "Erro de versão JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: não há memória suficiente"
+
+msgid "VM already created"
+msgstr "VM já criada"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: argumentos inválido"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Código de erro indefinido na JNI. Problema estranho"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Aviso: não foi possível encontrar o pacote Java '%s'.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr ""
+"Não foi possível acessar o construtor da classe principal do Scilab:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Não foi possível criar uma classe principal do Scilab. Erro:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr ""
+
+msgid "Error with Scilab.canClose():\n"
+msgstr "Erro com Scilab.canClose():\n"
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr "Erro com Scilab.forceClose():\n"
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Erro: Não foi possível analisar o arquivo %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Erro: o arquivo %s está codificado como '%s', mas devia estar codificado "
+"como %s.\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Erro: não foi possível analisar o arquivo %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Formato errado para %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Erro : Arquivo de endereço de classe inválido %s (a codificação não é 'utf-"
+"8'). Codificação '%s' encontrada\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr ""
+"Aviso: não foi possível encontrar o arquivo de declaração de endereço de "
+"classe %s.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Ocorreram alguns problemas durante o carregamento das bibliotecas Java.\n"
+"Isto pode levar a comportamentos inconsistentes.\n"
+"Por favor, verifique o arquivo SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Erro : Arquivo de endereço inválido %s (a codificação não é 'utf-8'). "
+"Codificação '%s' encontrada.\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Módulo Scilab Java não instalado.\n"
diff --git a/modules/jvm/locales/ru_RU.po b/modules/jvm/locales/ru_RU.po
new file mode 100755
index 000000000..1ea898f22
--- /dev/null
+++ b/modules/jvm/locales/ru_RU.po
@@ -0,0 +1,276 @@
+# Russian translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:58+0000\n"
+"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n"
+"Language-Team: Russian <ru@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ru\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "Интерфейс JVM недоступен в режимах -nogui и -nwni.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Не могу прочитать входной аргумент №%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: Недостаточно памяти.\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr ""
+"%s: Не удалось добавить URL к системному загрузчику классов (system "
+"classloader) : %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr "%s: Неверный тип входного параметра №%d: ожидалась строка.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: Не удалось добавить путь в java.library.path: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr "%s: Неверный тип входного параметра №%d или №%d: ожидалась строка.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab не может открыть библиотеку JVM.\n"
+
+msgid "Error"
+msgstr "Ошибка"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab не может создать Scilab Java Main-Class (не удалось найти главный "
+"класс Scilab. Проверьте доступны ли Scilab и сторонние пакеты).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+"Если Scilab используется из Java, убедитесь, что ваша IDE (например, "
+"Netbeans и т.д.) не добавляет дополнительных зависимостей, которые могут "
+"быть не найдены во время выполнения.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Не удалось получить доступ к главному классу Scilab:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr "Не могу выполнить начальные скрипты. Ошибка:\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Ошибка: невозможно возвратить окружение Scilab Java (JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Ошибка: не удалось вернуть Java-окружение Scilab (jvm_SCILAB): проверьте что "
+"Scilab загрузил JVM до вызова этой функции.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Странная ошибка. Вызову из Java не удалось найти существующую JVM.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"Не удалось загрузить динамическую библиотеку JVM (libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Ошибка: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Если вы используете бинарную версию Scilab, просьба сообщить об ошибке на "
+"http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Если вы используете самостоятельно собранную версию Scilab, обновите "
+"сценарий bin/scilab для указания пути к JVM.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+"Проблема может быть связана с системой принудительного контроля доступа "
+"SELinux. Попробуйте отключить её.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+"Также проверьте, что вы не пытаетесь запустить 64-битую версию Scilab на 32-"
+"битной ОС (или наоборот).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Невозможно прочитать %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"Неподходящая версия JNI (требуется как минимум JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Ошибка создания Java VM: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Параметры:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Ошибка JVM в AttachCurrentThread: не удалось подключиться к текущему "
+"потоку.\n"
+
+msgid "Unknown JNI error"
+msgstr "Неизвестная ошибка JNI"
+
+msgid "Thread detached from the VM"
+msgstr "Поток отделён от VM"
+
+msgid "JNI version error"
+msgstr "Ошибка версии JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: недостаточно памяти"
+
+msgid "VM already created"
+msgstr "VM уже создана"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: некорректные аргументы"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Неопределённый код ошибки в JNI. Странная проблема"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Внимание: не удалось найти пакет Java «%s».\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "Не удалось получить доступ к конструктору главного класса Scilab:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "Не удалось создать главный класс Scilab. Ошибка:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr "Не могу выполнить конечные скрипты. Ошибка:\n"
+
+msgid "Error with Scilab.canClose():\n"
+msgstr "Ошибка в Scilab.canClose():\n"
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr "Ошибка в Scilab.forceClose():\n"
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Ошибка: не удалось сделать грамматический разбор файла %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Ошибка: неверный конфигурационный файл %s (кодировка должна быть «%s»). "
+"Найдена кодировка «%s».\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Ошибка: не удалось сделать грамматический разбор файла %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Неверный формат для %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Ошибка: некорректный classpath-файл %s (кодировка не «utf-8»). Найдена "
+"кодировка «%s»\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "Внимание: не удалось найти файл объявления classpath %s.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"При загрузке библиотек Java были некоторые проблемы.\n"
+"Это может привести к неожиданному поведению.\n"
+"Проверьте SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Ошибка: неправильный path-файл %s (кодировка не «utf-8»). Найдена кодировка "
+"«%s»\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Модуль Java не установлен.\n"
diff --git a/modules/jvm/locales/uk_UA.po b/modules/jvm/locales/uk_UA.po
new file mode 100755
index 000000000..b765b9a3b
--- /dev/null
+++ b/modules/jvm/locales/uk_UA.po
@@ -0,0 +1,285 @@
+# Ukrainian translation for scilab
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the scilab package.
+#
+# Yuri Chornoivan <yurchor@gmail.com>, 2010.
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:44+0000\n"
+"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
+"Language-Team: Ukrainian <translation@linux.org.ua>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: uk\n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "Інтерфейс JVM у режимі -nogui або -nwni вимкнено.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: не вдалося прочитати вхідний параметр №%d.\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: доступну пам’ять вичерпано.\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr ""
+"%s: не вдалося додати адресу URL до списку системного завантажувача класів: "
+"%s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра №%d: слід використовувати тип "
+"«string».\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: не вдалося додати шлях до java.library.path: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра №%d або №%d: слід використовувати тип "
+"«string».\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab не вдалося відкрити бібліотеку JVM.\n"
+
+msgid "Error"
+msgstr "Помилка"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab не вдалося створити головний клас Java Scilab (не вдається знайти "
+"головний клас Scilab. Перевірте, чи належно встановлено Scilab та сторонні "
+"пакунки).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+"Якщо Scilab використовується з середовища Java, переконайтеся, що ваше "
+"комплексне середовище розробки (наприклад, Netbeans) не додає залежностей, "
+"які не можна завантажити під час виконання.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "Не вдалося отримати доступ до головного класу Scilab:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr "Не вдалося виконати початкові скрипти. Помилка:\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"Помилка: не вдалося повернути значення функції середовища Java Scilab "
+"(JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Помилка: не вдалося повернути значення функції середовища Java Scilab "
+"(jvm_SCILAB): перевірте, чи було Scilab завантажено JVM, перш ніж викликати "
+"цю функцію.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"Дивна помилка. Виклик надійшов з Java, але виявити вже запущену віртуальну "
+"машину Java.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"Не вдалося завантажити динамічну бібліотеку JVM (libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "Помилка: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+"Якщо ви користуєтеся бінарною версією Scilab, будь ласка, повідомте про ваду "
+"за адресою http://bugzilla.scilab.org/.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+"Якщо ви збирали Scilab власноруч, оновіть скрипт bin/scilab так, щоб шлях до "
+"віртуальної машини Java було вказано належним чином.\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+"Проблему може бути пов’язано з використанням SELinux. Спробуйте вимкнути цю "
+"систему.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+"Також вам варто перевірити, чи не намагаєтеся ви запустити 64-бітову версію "
+"Scilab у 32-бітовій системі (і навпаки).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"Не вдалося прочитати %s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"Помилкова версія JNI (слід використовувати принаймні JDK версії 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Помилка під час спроби створення віртуальної машини Java: %s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "Параметри:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"Помилка JVM у AttachCurrentThread: не вдалося долучитися до поточного потоку "
+"виконання.\n"
+
+msgid "Unknown JNI error"
+msgstr "Невідома помилка JNI"
+
+msgid "Thread detached from the VM"
+msgstr "Потік від’єднано від віртуальної машини"
+
+msgid "JNI version error"
+msgstr "Помилка у версії JNI"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: не вистачає пам’яті"
+
+msgid "VM already created"
+msgstr "Віртуальну машину вже створено"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: некоректні параметри"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "Невизначений код помилки у JNI."
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "Попередження: не вдалося знайти пакунка Java з назвою «%s».\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "Не вдалося отримати доступ до конструктора головного класу Scilab:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr ""
+"Не вдалося створити головний клас Scilab. Повідомлення про помилку:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr "Не вдалося виконати завершальні скрипти. Помилка:\n"
+
+msgid "Error with Scilab.canClose():\n"
+msgstr "Помилка у Scilab.canClose():\n"
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr "Помилка у Scilab.forceClose():\n"
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "Помилка: не вдалося розібрати файл %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"Помилка: некоректний файл налаштування %s (кодування відмінне від «%s»). "
+"Виявлено кодування «%s».\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "Помилка: не вдалося розібрати файл %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "Помилка у форматуванні %s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr ""
+"Помилка: некоректний файл шляху до класу %s (кодування відмінне від «utf-"
+"8»). Виявлено кодування «%s».\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "Попередження: не вдалося знайти файл оголошення шляхів класів %s.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"Під час завантаження бібліотек Java виникло декілька проблем.\n"
+"Ці проблеми можуть призвести до помилкової роботи програми.\n"
+"Будь ласка, перевірте, чи немає помилок у SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr ""
+"Помилка: некоректний файл шляху %s (кодування, відмінне від «utf-8»). "
+"Виявлено кодування «%s».\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Модуль Java Scilab не встановлено.\n"
diff --git a/modules/jvm/locales/zh_CN.po b/modules/jvm/locales/zh_CN.po
new file mode 100755
index 000000000..3b8049e0b
--- /dev/null
+++ b/modules/jvm/locales/zh_CN.po
@@ -0,0 +1,256 @@
+# Simplified Chinese translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:52+0000\n"
+"Last-Translator: Scilab.team <Unknown>\n"
+"Language-Team: Simplified Chinese <zh_CN@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: \n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "在-nogui或-nwni模式下JVM接口被禁用。\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s:不能读取第%d个输入参数。\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s:内存不足。\n"
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr "%s:不能添加URL到系统classloader:%s。\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr "%s:输入参数#%d的类型错误:应该为字符串。\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s:不能添加路径到java.library.path:%s。\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr "%s:输入参数#%d或#%d的类型错误:应该为字符串。\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab不能打开JVM库。\n"
+
+msgid "Error"
+msgstr "错误"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab无法创建Scilab Java Main-Class(无法找到main Scilab类。请检查Scilab和第三方软件包是否可用)。\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr ""
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "不能读取Main Scilab类:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"错误:不能返回Scilab的Java环境(JNIEnv_SCILAB)。\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"错误:不能返回Scilab Java环境(jvm_SCILAB):请检查在调用该函数之前JVM是否被Scilab装载。\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"致命错误。从Java调用但是不能找到已经存在的JVM。\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"不能装载JVM动态库(libjava)。\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "错误:%s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr ""
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"不能读%s。\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"不正确的JNI版本(至少需要JDK 1.4)\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "创建Java VM是出错:%s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "选项:\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"AttachCurrentThread中出现JVM错误:不能关联到当前线程。\n"
+
+msgid "Unknown JNI error"
+msgstr "未知的JNI错误"
+
+msgid "Thread detached from the VM"
+msgstr "从VM中分离出线程"
+
+msgid "JNI version error"
+msgstr "JNI版本错误"
+
+msgid "JNI: not enough memory"
+msgstr "JNI:内存不足"
+
+msgid "VM already created"
+msgstr "VM已经被创建"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI:不正确的参数"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "在the JNI. Weird problem中存在未定义的错误代码"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "警告:不能发现Java包'%s'。\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "不能读取Main Scilab类的构造器:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "不能创建Scilab main class。错误:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr ""
+
+msgid "Error with Scilab.canClose():\n"
+msgstr ""
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr ""
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "错误:不能分析文件%s。\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr ""
+"错误:Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found。\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "错误:不能分析文件%s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "%s的格式错误。\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr "错误:不是一个正确的classpath 文件%s(不是以'utf-8'编码),文件使用的是'%s'编码。\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "警告:无法找到classpath声明文件%s。\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"在装载Java库时发生了一些错误。\n"
+"这可能导致不正确的行为。\n"
+"请检查SCI/etc/classpath.xml。\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr "错误:不是一个正确的path文件%s(不是以'utf-8'编码),文件使用的是'%s'编码。\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Scilab Java模块没有安装。\n"
diff --git a/modules/jvm/locales/zh_TW.po b/modules/jvm/locales/zh_TW.po
new file mode 100755
index 000000000..a3279c326
--- /dev/null
+++ b/modules/jvm/locales/zh_TW.po
@@ -0,0 +1,255 @@
+# Traditional Chinese translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-16 15:49+0000\n"
+"Last-Translator: Scilab.team <Unknown>\n"
+"Language-Team: Traditional Chinese <zh_TW@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: \n"
+
+msgid "JVM interface disabled in -nogui or -nwni modes.\n"
+msgstr "JVM 介面在-nogui or -nwni模式下不作用.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Could not add URL to system classloader : %s.\n"
+msgstr "%s: 無法新增超連結(URL) 到系統的類別載入器 : %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String expected.\n"
+msgstr "%s: 第 %d 個輸入參數型態錯誤: 應該是字串型態.\n"
+
+#, c-format
+msgid "%s: Could not add path to java.library.path: %s.\n"
+msgstr "%s: 無法加入 java.library.path 的路徑: %s.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d or #%d: String expected.\n"
+msgstr "%s: 第 %d 或 %d 輸入參數型態錯誤: 應為字串.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Scilab cannot open JVM library.\n"
+msgstr ""
+"\n"
+"Scilab 無法打開JVM 函式庫.\n"
+
+msgid "Error"
+msgstr "錯誤"
+
+msgid ""
+"\n"
+"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 "
+"available).\n"
+msgstr ""
+"\n"
+"Scilab 不能新建Scilab Java Main-Class(我們找不到main Scilab class.請檢查是否Scilab "
+"和第三方套件是存在的).\n"
+
+msgid ""
+"If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is "
+"not adding extra dependencies which could not be found at runtime.\n"
+msgstr "如果 Scilab 是使用 Java, 請確認您的 IDE 是否沒有加入額外相關的執行期函式庫.\n"
+
+msgid "Could not access to the Main Scilab Class:\n"
+msgstr "無法存取Main Scilab 類別:\n"
+
+msgid "Cannot execute initial hooks. Error:\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"
+msgstr ""
+"\n"
+"錯誤:不能返回Scilab Java 環境(JNIEnv_SCILAB).\n"
+
+#, c-format
+msgid ""
+"\n"
+"Error: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM "
+"has been loaded by Scilab before calling this function.\n"
+msgstr ""
+"\n"
+"Error: 不能返回Scilab Java 環境(jvm_SCILAB):請檢查JVM 是否在呼叫這個函數之前,已經被Scilab 載入\n"
+
+#, c-format
+msgid ""
+"\n"
+"Weird error. Calling from Java but haven't been able to find the already "
+"existing JVM.\n"
+msgstr ""
+"\n"
+"從奇怪的錯誤. 從 Java 呼叫中但卻無法找到存在 JVM 虛擬機器.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Could not load JVM dynamic library (libjava).\n"
+msgstr ""
+"\n"
+"無法載入JVM 動態函式庫(libjava).\n"
+
+#, c-format
+msgid "Error: %s\n"
+msgstr "錯誤: %s\n"
+
+#, c-format
+msgid ""
+"If you are using a binary version of Scilab, please report a bug "
+"http://bugzilla.scilab.org/.\n"
+msgstr "假如你正在使用Scilab的二進位版本.請到http://bugzilla.scilab.org/.回報一個臭蟲.\n"
+
+#, c-format
+msgid ""
+"If you are using a self-built version of Scilab, update the script "
+"bin/scilab to provide the path to the JVM.\n"
+msgstr "假如你用的是自己建構的Scilab,請更新腳本的bin/scilab以提供JVM的路徑\n"
+
+#, c-format
+msgid "The problem might be related to SELinux. Try to deactivate it.\n"
+msgstr "這個問題可能和SELinux有關.將它暫停使用再試試.\n"
+
+#, c-format
+msgid ""
+"Please also check that you are not trying to run Scilab 64 bits on a 32 bits "
+"system (or vice versa).\n"
+msgstr "也請確認您正在運行的Scilab版本是32位元或是64位元(是否有運行錯誤平台的情況發生)。\n"
+
+#, c-format
+msgid ""
+"\n"
+"Impossible to read %s.\n"
+msgstr ""
+"\n"
+"無法讀取%s.\n"
+
+#, c-format
+msgid ""
+"\n"
+"Incorrect version JNI (needs at least JDK 1.4).\n"
+msgstr ""
+"\n"
+"不正確的JNI 版本(至少要 JDK 1.4).\n"
+
+#, c-format
+msgid "Error in the creation of the Java VM: %s\n"
+msgstr "Java VM產生時發生錯誤:%s\n"
+
+#, c-format
+msgid "Options:\n"
+msgstr "選項\n"
+
+#, c-format
+msgid ""
+"\n"
+"JVM error in AttachCurrentThread: Could not attach to the current thread.\n"
+msgstr ""
+"\n"
+"JVM 錯誤,連結上目前的執行緒:不能連結到目前的執行緒。\n"
+
+msgid "Unknown JNI error"
+msgstr "未知的JNI 錯誤."
+
+msgid "Thread detached from the VM"
+msgstr "執行緒已從VM移除"
+
+msgid "JNI version error"
+msgstr "JNI版本有誤"
+
+msgid "JNI: not enough memory"
+msgstr "JNI: 資憶體不足"
+
+msgid "VM already created"
+msgstr "VM已經建立"
+
+msgid "JNI: invalid arguments"
+msgstr "JNI: 無效的參數"
+
+msgid "Undefined error code in the JNI. Weird problem"
+msgstr "JNI裏未定義的錯誤碼.奇怪的問題"
+
+#, c-format
+msgid "Warning: Could not find Java package '%s'.\n"
+msgstr "警告:找不到java包'%s'.\n"
+
+msgid "Could not access to the constructor of the Main Scilab Class:\n"
+msgstr "無法存取Main Scilab 類別的建構子:\n"
+
+msgid "Could not create a Scilab main class. Error:\n"
+msgstr "無法新建一個Scilab main class.錯誤:\n"
+
+msgid "Cannot execute final hooks. Error:\n"
+msgstr ""
+
+msgid "Error with Scilab.canClose():\n"
+msgstr ""
+
+msgid "Error with Scilab.forceClose():\n"
+msgstr ""
+
+#, c-format
+msgid "Error: Could not parse file %s.\n"
+msgstr "錯誤: 無法剖析(parse) 檔案 %s.\n"
+
+#, c-format
+msgid ""
+"Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' "
+"found.\n"
+msgstr "錯誤:不是一個有效的設定檔%s (不是用 '%s' 編碼) 目前編碼是 '%s'\n"
+
+#, c-format
+msgid "Error: could not parse file %s\n"
+msgstr "錯誤: 無法剖析 (parse) 檔案 %s\n"
+
+#, c-format
+msgid "Wrong format for %s.\n"
+msgstr "錯誤的格式%s.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' "
+"found\n"
+msgstr "錯誤:不是一個有效的類別檔 %s (不是用 'utf-8' 編碼) 目前編碼是 '%s'\n"
+
+#, c-format
+msgid "Warning: could not find classpath declaration file %s.\n"
+msgstr "警告:找不到類別路徑宣告檔%s.\n"
+
+#, c-format
+msgid ""
+"Some problems during the loading of the Java libraries occurred.\n"
+"This could lead to inconsistent behaviours.\n"
+"Please check SCI/etc/classpath.xml.\n"
+msgstr ""
+"在載入Java函式庫的過程,有些問題.\n"
+"會導致不一致的行為.\n"
+"請檢查SCI/etc/classpath.xml.\n"
+
+#, c-format
+msgid ""
+"Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"
+msgstr "錯誤:不是一個有效的路徑檔%s (不是用 'utf-8' 編碼) 目前編碼是 '%s'\n"
+
+msgid "Scilab Java module not installed.\n"
+msgstr "Scilab java模組未安裝.\n"
diff --git a/modules/jvm/macros/buildmacros.bat b/modules/jvm/macros/buildmacros.bat
new file mode 100755
index 000000000..c4e35ec40
--- /dev/null
+++ b/modules/jvm/macros/buildmacros.bat
@@ -0,0 +1 @@
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit; \ No newline at end of file
diff --git a/modules/jvm/macros/buildmacros.sce b/modules/jvm/macros/buildmacros.sce
new file mode 100755
index 000000000..f6495108d
--- /dev/null
+++ b/modules/jvm/macros/buildmacros.sce
@@ -0,0 +1,9 @@
+//------------------------------------
+// Allan CORNET INRIA 2005
+//------------------------------------
+if (isdef("genlib") == %f) then
+ exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce");
+end
+//------------------------------------
+genlib("jvmlib","SCI/modules/jvm/macros",%f,%t);
+//------------------------------------
diff --git a/modules/jvm/macros/check_classpath.bin b/modules/jvm/macros/check_classpath.bin
new file mode 100755
index 000000000..aea44ed03
--- /dev/null
+++ b/modules/jvm/macros/check_classpath.bin
Binary files differ
diff --git a/modules/jvm/macros/check_classpath.sci b/modules/jvm/macros/check_classpath.sci
new file mode 100755
index 000000000..59241fad6
--- /dev/null
+++ b/modules/jvm/macros/check_classpath.sci
@@ -0,0 +1,25 @@
+//------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Allan CORNET
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+//------------------------------------
+function ret=check_classpath(varargin)
+ [lhs,rhs]=argn(0);
+ ret=%T;
+ file_to_check=SCI+"/etc/classpath.xml";
+ printf("checking : "+file_to_check+"\n");
+ try
+ if getos() == "Windows" then
+ stat = unix_w(SCI+"\modules\helptools\bin\xmllint\xmllint --noout --valid "+file_to_check);
+ else
+ stat = unix_w("xmllint --noout --valid "+file_to_check);
+ end
+ catch
+ ret=%F;
+ end
+endfunction
+//------------------------------------
diff --git a/modules/jvm/macros/check_librarypath.bin b/modules/jvm/macros/check_librarypath.bin
new file mode 100755
index 000000000..5c90e6c66
--- /dev/null
+++ b/modules/jvm/macros/check_librarypath.bin
Binary files differ
diff --git a/modules/jvm/macros/check_librarypath.sci b/modules/jvm/macros/check_librarypath.sci
new file mode 100755
index 000000000..46ece10f5
--- /dev/null
+++ b/modules/jvm/macros/check_librarypath.sci
@@ -0,0 +1,25 @@
+//------------------------------------
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Allan CORNET
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+//------------------------------------
+function ret=check_librarypath(varargin)
+ [lhs,rhs]=argn(0);
+ ret=%T;
+ file_to_check=SCI+"/etc/librarypath.xml";
+ printf("checking : "+file_to_check+"\n");
+ try
+ if getos() == "Windows" then
+ stat = unix_w(SCI+"\modules\helptools\bin\xmllint\xmllint --noout --valid "+file_to_check);
+ else
+ stat = unix_w("xmllint --noout --valid "+file_to_check);
+ end
+ catch
+ ret=%F;
+ end
+endfunction
+//------------------------------------
diff --git a/modules/jvm/macros/cleanmacros.bat b/modules/jvm/macros/cleanmacros.bat
new file mode 100755
index 000000000..5079dfd71
--- /dev/null
+++ b/modules/jvm/macros/cleanmacros.bat
@@ -0,0 +1,3 @@
+@del *.bin 2>NUL
+@del lib 2>NUL
+@del names 2>NUL \ No newline at end of file
diff --git a/modules/jvm/macros/jre_path.bin b/modules/jvm/macros/jre_path.bin
new file mode 100755
index 000000000..b79dbbe57
--- /dev/null
+++ b/modules/jvm/macros/jre_path.bin
Binary files differ
diff --git a/modules/jvm/macros/jre_path.sci b/modules/jvm/macros/jre_path.sci
new file mode 100755
index 000000000..744f35535
--- /dev/null
+++ b/modules/jvm/macros/jre_path.sci
@@ -0,0 +1,15 @@
+//===============================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Allan CORNET
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+//===============================
+// returns JRE path
+//===============================
+function pathofjre=jre_path()
+ pathofjre=system_getproperty("java.home");
+endfunction
+//===============================
diff --git a/modules/jvm/macros/lib b/modules/jvm/macros/lib
new file mode 100755
index 000000000..95354f4bb
--- /dev/null
+++ b/modules/jvm/macros/lib
Binary files differ
diff --git a/modules/jvm/macros/names b/modules/jvm/macros/names
new file mode 100755
index 000000000..357e34856
--- /dev/null
+++ b/modules/jvm/macros/names
@@ -0,0 +1,3 @@
+check_classpath
+check_librarypath
+jre_path
diff --git a/modules/jvm/preferences_Import.def b/modules/jvm/preferences_Import.def
new file mode 100755
index 000000000..c98bb34f7
--- /dev/null
+++ b/modules/jvm/preferences_Import.def
@@ -0,0 +1,5 @@
+LIBRARY preferences.dll
+
+
+EXPORTS
+getScilabPreferences
diff --git a/modules/jvm/sci_gateway/c/.deps/.dirstamp b/modules/jvm/sci_gateway/c/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.deps/.dirstamp
diff --git a/modules/jvm/sci_gateway/c/.deps/libscijvm_la-gw_jvm.Plo b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-gw_jvm.Plo
new file mode 100755
index 000000000..6cb934516
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-gw_jvm.Plo
@@ -0,0 +1,296 @@
+sci_gateway/c/libscijvm_la-gw_jvm.lo: sci_gateway/c/gw_jvm.c \
+ /usr/include/stdc-predef.h /usr/include/string.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h includes/gw_jvm.h \
+ includes/dynlib_jvm.h ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/core/includes/stack-c.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/api_scilab/includes/api_common.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/api_scilab/includes/api_double.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/api_scilab/includes/api_int.h \
+ ../../modules/api_scilab/includes/api_poly.h \
+ ../../modules/api_scilab/includes/api_sparse.h \
+ ../../modules/api_scilab/includes/api_boolean.h \
+ ../../modules/api_scilab/includes/api_boolean_sparse.h \
+ ../../modules/api_scilab/includes/api_pointer.h \
+ ../../modules/api_scilab/includes/api_list.h \
+ ../../modules/api_scilab/includes/api_error.h \
+ ../../modules/api_scilab/includes/api_handle.h \
+ ../../modules/api_scilab/includes/api_optional.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/api_scilab/includes/api_hypermat.h \
+ ../../modules/core/includes/core_math.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/core/includes/scilabmode.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/callFunctionFromGateway.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/gw_jvm.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/core/includes/stack-c.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/api_scilab/includes/api_common.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/api_scilab/includes/api_double.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/api_scilab/includes/api_string.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/api_scilab/includes/api_int.h:
+
+../../modules/api_scilab/includes/api_poly.h:
+
+../../modules/api_scilab/includes/api_sparse.h:
+
+../../modules/api_scilab/includes/api_boolean.h:
+
+../../modules/api_scilab/includes/api_boolean_sparse.h:
+
+../../modules/api_scilab/includes/api_pointer.h:
+
+../../modules/api_scilab/includes/api_list.h:
+
+../../modules/api_scilab/includes/api_error.h:
+
+../../modules/api_scilab/includes/api_handle.h:
+
+../../modules/api_scilab/includes/api_optional.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/api_scilab/includes/api_hypermat.h:
+
+../../modules/core/includes/core_math.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/core/includes/scilabmode.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/callFunctionFromGateway.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_javaclasspath.Plo b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_javaclasspath.Plo
new file mode 100755
index 000000000..d784fb385
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_javaclasspath.Plo
@@ -0,0 +1,306 @@
+sci_gateway/c/libscijvm_la-sci_javaclasspath.lo: \
+ sci_gateway/c/sci_javaclasspath.c /usr/include/stdc-predef.h \
+ includes/gw_jvm.h includes/dynlib_jvm.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h includes/addToClasspath.h \
+ ../../modules/core/includes/BOOL.h src/c/getClasspath.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/xlocale.h \
+ ../../modules/core/includes/freeArrayOfString.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/api_scilab/includes/api_common.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/api_scilab/includes/api_double.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/api_scilab/includes/api_string.h \
+ ../../modules/api_scilab/includes/api_int.h \
+ ../../modules/api_scilab/includes/api_poly.h \
+ ../../modules/api_scilab/includes/api_sparse.h \
+ ../../modules/api_scilab/includes/api_boolean.h \
+ ../../modules/api_scilab/includes/api_boolean_sparse.h \
+ ../../modules/api_scilab/includes/api_pointer.h \
+ ../../modules/api_scilab/includes/api_list.h \
+ ../../modules/api_scilab/includes/api_error.h \
+ ../../modules/api_scilab/includes/api_handle.h \
+ ../../modules/api_scilab/includes/api_optional.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/api_scilab/includes/api_hypermat.h \
+ ../../modules/core/includes/core_math.h \
+ ../../modules/core/includes/sci_types.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_jvm.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+includes/addToClasspath.h:
+
+../../modules/core/includes/BOOL.h:
+
+src/c/getClasspath.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/xlocale.h:
+
+../../modules/core/includes/freeArrayOfString.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/values.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/api_scilab/includes/api_common.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/api_scilab/includes/api_double.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/api_scilab/includes/api_string.h:
+
+../../modules/api_scilab/includes/api_int.h:
+
+../../modules/api_scilab/includes/api_poly.h:
+
+../../modules/api_scilab/includes/api_sparse.h:
+
+../../modules/api_scilab/includes/api_boolean.h:
+
+../../modules/api_scilab/includes/api_boolean_sparse.h:
+
+../../modules/api_scilab/includes/api_pointer.h:
+
+../../modules/api_scilab/includes/api_list.h:
+
+../../modules/api_scilab/includes/api_error.h:
+
+../../modules/api_scilab/includes/api_handle.h:
+
+../../modules/api_scilab/includes/api_optional.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/api_scilab/includes/api_hypermat.h:
+
+../../modules/core/includes/core_math.h:
+
+../../modules/core/includes/sci_types.h:
diff --git a/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_javalibrarypath.Plo b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_javalibrarypath.Plo
new file mode 100755
index 000000000..85f0f66dc
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_javalibrarypath.Plo
@@ -0,0 +1,241 @@
+sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo: \
+ sci_gateway/c/sci_javalibrarypath.c /usr/include/stdc-predef.h \
+ includes/gw_jvm.h includes/dynlib_jvm.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h includes/addToLibrarypath.h \
+ ../../modules/core/includes/BOOL.h src/c/getLibrarypath.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/core/includes/freeArrayOfString.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_jvm.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+includes/addToLibrarypath.h:
+
+../../modules/core/includes/BOOL.h:
+
+src/c/getLibrarypath.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/core/includes/freeArrayOfString.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
diff --git a/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_system_getproperty.Plo b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_system_getproperty.Plo
new file mode 100755
index 000000000..fdfd173f9
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_system_getproperty.Plo
@@ -0,0 +1,223 @@
+sci_gateway/c/libscijvm_la-sci_system_getproperty.lo: \
+ sci_gateway/c/sci_system_getproperty.c /usr/include/stdc-predef.h \
+ /usr/include/string.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h includes/gw_jvm.h \
+ includes/dynlib_jvm.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-c.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h src/c/system_getproperty.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/gw_jvm.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-c.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+src/c/system_getproperty.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_system_setproperty.Plo b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_system_setproperty.Plo
new file mode 100755
index 000000000..a630a7ff3
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.deps/libscijvm_la-sci_system_setproperty.Plo
@@ -0,0 +1,223 @@
+sci_gateway/c/libscijvm_la-sci_system_setproperty.lo: \
+ sci_gateway/c/sci_system_setproperty.c /usr/include/stdc-predef.h \
+ /usr/include/string.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h includes/gw_jvm.h \
+ includes/dynlib_jvm.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-c.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h src/c/system_setproperty.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/gw_jvm.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-c.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+src/c/system_setproperty.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/jvm/sci_gateway/c/.dirstamp b/modules/jvm/sci_gateway/c/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.dirstamp
diff --git a/modules/jvm/sci_gateway/c/.libs/libscijvm_la-gw_jvm.o b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-gw_jvm.o
new file mode 100755
index 000000000..d25b57c65
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-gw_jvm.o
Binary files differ
diff --git a/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_javaclasspath.o b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_javaclasspath.o
new file mode 100755
index 000000000..88d596dbf
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_javaclasspath.o
Binary files differ
diff --git a/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_javalibrarypath.o b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_javalibrarypath.o
new file mode 100755
index 000000000..21efa06dc
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_javalibrarypath.o
Binary files differ
diff --git a/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_system_getproperty.o b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_system_getproperty.o
new file mode 100755
index 000000000..fd3121164
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_system_getproperty.o
Binary files differ
diff --git a/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_system_setproperty.o b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_system_setproperty.o
new file mode 100755
index 000000000..caa8d7d21
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/.libs/libscijvm_la-sci_system_setproperty.o
Binary files differ
diff --git a/modules/jvm/sci_gateway/c/gw_jvm.c b/modules/jvm/sci_gateway/c/gw_jvm.c
new file mode 100755
index 000000000..d7dae088b
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/gw_jvm.c
@@ -0,0 +1,52 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <string.h>
+#include "gw_jvm.h"
+#include "api_scilab.h"
+#include "MALLOC.h"
+#include "scilabmode.h"
+#include "Scierror.h"
+#include "callFunctionFromGateway.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+static gw_generic_table Tab[] =
+{
+ {sci_system_setproperty, "system_setproperty"},
+ {sci_system_getproperty, "system_getproperty"},
+ {sci_javaclasspath, "javaclasspath"},
+ {sci_javalibrarypath, "javalibrarypath"}
+};
+/*--------------------------------------------------------------------------*/
+int gw_jvm(void)
+{
+ Rhs = Max(0, Rhs);
+
+ if (pvApiCtx == NULL)
+ {
+ pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx));
+ }
+
+ pvApiCtx->pstName = (char*)Tab[Fin - 1].name;
+ if ( (getScilabMode() != SCILAB_NWNI) )
+ {
+ callFunctionFromGateway(Tab, SIZE_CURRENT_GENERIC_TABLE(Tab));
+ }
+ else
+ {
+ Scierror(999, _("JVM interface disabled in -nogui or -nwni modes.\n"));
+ }
+
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/sci_gateway/c/libscijvm_la-gw_jvm.lo b/modules/jvm/sci_gateway/c/libscijvm_la-gw_jvm.lo
new file mode 100755
index 000000000..24b0b021c
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/libscijvm_la-gw_jvm.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscijvm_la-gw_jvm.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_la-gw_jvm.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/sci_gateway/c/libscijvm_la-sci_javaclasspath.lo b/modules/jvm/sci_gateway/c/libscijvm_la-sci_javaclasspath.lo
new file mode 100755
index 000000000..4a1f7e14c
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/libscijvm_la-sci_javaclasspath.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscijvm_la-sci_javaclasspath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_la-sci_javaclasspath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo b/modules/jvm/sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo
new file mode 100755
index 000000000..07d8b0de1
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscijvm_la-sci_javalibrarypath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_la-sci_javalibrarypath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/sci_gateway/c/libscijvm_la-sci_system_getproperty.lo b/modules/jvm/sci_gateway/c/libscijvm_la-sci_system_getproperty.lo
new file mode 100755
index 000000000..c31e869e7
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/libscijvm_la-sci_system_getproperty.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscijvm_la-sci_system_getproperty.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_la-sci_system_getproperty.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/sci_gateway/c/libscijvm_la-sci_system_setproperty.lo b/modules/jvm/sci_gateway/c/libscijvm_la-sci_system_setproperty.lo
new file mode 100755
index 000000000..25cc6706b
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/libscijvm_la-sci_system_setproperty.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscijvm_la-sci_system_setproperty.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_la-sci_system_setproperty.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/sci_gateway/c/sci_javaclasspath.c b/modules/jvm/sci_gateway/c/sci_javaclasspath.c
new file mode 100755
index 000000000..1a7ec6599
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/sci_javaclasspath.c
@@ -0,0 +1,154 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ * Copyright (C) DIGITEO - 2011 - Bruno JOFRET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_jvm.h"
+#include "MALLOC.h"
+#include "Scierror.h"
+#include "addToClasspath.h"
+#include "getClasspath.h"
+#include "localization.h"
+#include "freeArrayOfString.h"
+#include "api_scilab.h"
+/*--------------------------------------------------------------------------*/
+int sci_javaclasspath(char *fname, unsigned long fname_len)
+{
+ int *piAddressVarOne = NULL;
+ int iType = 0;
+ SciErr sciErr;
+
+ Rhs = Max(Rhs, 0);
+ CheckRhs(0, 1);
+ CheckLhs(0, 1);
+
+ if (Rhs == 0)
+ {
+ int nbRow = 0;
+ int nbCol = 1;
+ char **Strings = NULL;
+
+ Strings = getClasspath(&nbRow);
+ createMatrixOfString(pvApiCtx, Rhs + 1, nbRow, nbCol, Strings);
+
+ LhsVar(1) = Rhs + 1;
+ PutLhsVar();
+ freeArrayOfString(Strings, nbRow * nbCol);
+ }
+ else
+ {
+ sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddressVarOne);
+ if (sciErr.iErr)
+ {
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+ return 0;
+ }
+
+ sciErr = getVarType(pvApiCtx, piAddressVarOne, &iType);
+ if (sciErr.iErr)
+ {
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+ return 0;
+ }
+
+ if ( iType == sci_strings )
+ {
+ char **pStVarOne = NULL;
+ int *lenStVarOne = NULL;
+ static int n1 = 0, m1 = 0;
+ int i = 0;
+
+ /* get dimensions */
+ sciErr = getMatrixOfString(pvApiCtx, piAddressVarOne, &m1, &n1, lenStVarOne, pStVarOne);
+ if (sciErr.iErr)
+ {
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+ return 0;
+ }
+
+ lenStVarOne = (int*)MALLOC(sizeof(int) * (m1 * n1));
+ if (lenStVarOne == NULL)
+ {
+ Scierror(999, _("%s: No more memory.\n"), fname);
+ return 0;
+ }
+
+ /* get lengths */
+ sciErr = getMatrixOfString(pvApiCtx, piAddressVarOne, &m1, &n1, lenStVarOne, pStVarOne);
+ if (sciErr.iErr)
+ {
+ if (lenStVarOne)
+ {
+ FREE(lenStVarOne);
+ lenStVarOne = NULL;
+ }
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+ return 0;
+ }
+
+ pStVarOne = (char **)MALLOC(sizeof(char*) * (m1 * n1));
+ if (pStVarOne == NULL)
+ {
+ if (lenStVarOne)
+ {
+ FREE(lenStVarOne);
+ lenStVarOne = NULL;
+ }
+ Scierror(999, _("%s: No more memory.\n"), fname);
+ return 0;
+ }
+ for (i = 0; i < m1 * n1; i++)
+ {
+ pStVarOne[i] = (char*)MALLOC(sizeof(char*) * (lenStVarOne[i] + 1));
+ }
+
+ /* get strings */
+ sciErr = getMatrixOfString(pvApiCtx, piAddressVarOne, &m1, &n1, lenStVarOne, pStVarOne);
+ if (sciErr.iErr)
+ {
+ freeArrayOfString(pStVarOne, m1 * n1);
+ if (lenStVarOne)
+ {
+ FREE(lenStVarOne);
+ lenStVarOne = NULL;
+ }
+ printError(&sciErr, 0);
+ Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+ return 0;
+ }
+
+ for (i = 0; i < m1 * n1 ; i++)
+ {
+ if (!addToClasspath(pStVarOne[i], STARTUP))
+ {
+ Scierror(999, _("%s: Could not add URL to system classloader : %s.\n"), fname, pStVarOne[i]);
+ freeArrayOfString(pStVarOne, m1 * n1);
+ return 0;
+ }
+ }
+ LhsVar(1) = 0;
+ PutLhsVar();
+ freeArrayOfString(pStVarOne, m1 * n1);
+ }
+ else
+ {
+ Scierror(999, _("%s: Wrong type for input argument #%d: String expected.\n"), fname, 1);
+ }
+ }
+
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/sci_gateway/c/sci_javalibrarypath.c b/modules/jvm/sci_gateway/c/sci_javalibrarypath.c
new file mode 100755
index 000000000..5429826f2
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/sci_javalibrarypath.c
@@ -0,0 +1,74 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_jvm.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "Scierror.h"
+#include "addToLibrarypath.h"
+#include "getLibrarypath.h"
+#include "localization.h"
+#include "freeArrayOfString.h"
+/*--------------------------------------------------------------------------*/
+int sci_javalibrarypath(char *fname, unsigned long fname_len)
+{
+ Rhs = Max(Rhs, 0);
+ CheckRhs(0, 1);
+ CheckLhs(0, 1);
+
+ if (Rhs == 0)
+ {
+ int nbRow = 0;
+ int nbCol = 1;
+ char **Strings = NULL;
+
+ Strings = getLibrarypath(&nbRow);
+ CreateVarFromPtr( Rhs + 1, MATRIX_OF_STRING_DATATYPE, &nbRow, &nbCol, Strings );
+
+ LhsVar(1) = Rhs + 1;
+ freeArrayOfString(Strings, nbRow * nbCol);
+ PutLhsVar();
+ }
+ else
+ {
+ if ( GetType(1) == sci_strings )
+ {
+ static int n1 = 0, m1 = 0;
+ int i = 0;
+ BOOL bOK = FALSE;
+ char **libraryPaths = NULL;
+
+ GetRhsVar(1, MATRIX_OF_STRING_DATATYPE, &m1, &n1, &libraryPaths);
+
+ for (i = 0; i < m1 * n1 ; i++)
+ {
+ bOK = addToLibrarypath(libraryPaths[i]);
+ if (!bOK)
+ {
+ Scierror(999, _("%s: Could not add path to java.library.path: %s.\n"), fname, libraryPaths[i]);
+ freeArrayOfString(libraryPaths, m1 * n1);
+ return 0;
+ }
+ }
+ LhsVar(1) = 0;
+ freeArrayOfString(libraryPaths, m1 * n1);
+ PutLhsVar();
+ }
+ else
+ {
+ Scierror(999, _("%s: Wrong type for input argument #%d: String expected.\n"), fname, 1);
+ }
+ }
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/sci_gateway/c/sci_system_getproperty.c b/modules/jvm/sci_gateway/c/sci_system_getproperty.c
new file mode 100755
index 000000000..188ca3b68
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/sci_system_getproperty.c
@@ -0,0 +1,57 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <string.h>
+#include "gw_jvm.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "system_getproperty.h"
+#include "Scierror.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+int sci_system_getproperty(char *fname, unsigned long fname_len)
+{
+ Rhs = Max(Rhs, 0);
+ CheckRhs(1, 1);
+ CheckLhs(0, 1);
+
+ if ( GetType(1) == sci_strings )
+ {
+ static int m1, n1 = 0, l1 = 0;
+ char *propertyName = NULL;
+ char *propertyValue = NULL;
+
+ GetRhsVar(1, STRING_DATATYPE, &m1, &n1, &l1);
+ propertyName = cstk(l1);
+ propertyValue = system_getproperty(propertyName, "unknown");
+
+ n1 = 1;
+ CreateVarFromPtr(Rhs + 1, STRING_DATATYPE, (m1 = (int)strlen(propertyValue), &m1), &n1, &propertyValue);
+ LhsVar(1) = Rhs + 1;
+ if (propertyValue)
+ {
+ FREE(propertyValue);
+ propertyValue = NULL;
+ }
+ PutLhsVar();
+ }
+ else
+ {
+ Scierror(999, _("%s: Wrong type for input argument #%d: String expected.\n"), fname, 1);
+ return 0;
+ }
+ return 0;
+}
+
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/jvm/sci_gateway/c/sci_system_setproperty.c b/modules/jvm/sci_gateway/c/sci_system_setproperty.c
new file mode 100755
index 000000000..8a2a7fb2d
--- /dev/null
+++ b/modules/jvm/sci_gateway/c/sci_system_setproperty.c
@@ -0,0 +1,71 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <string.h>
+#include "gw_jvm.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "system_setproperty.h"
+#include "Scierror.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+int sci_system_setproperty(char *fname, unsigned long fname_len)
+{
+ Rhs = Max(Rhs, 0);
+ CheckRhs(2, 2);
+ CheckLhs(1, 1);
+
+ if ( (GetType(1) == sci_strings) && (GetType(2) == sci_strings) )
+ {
+ static int m1, n1 = 0, l1 = 0;
+ static int m2, n2 = 0, l2 = 0;
+ char *propertyName = NULL;
+ char *propertyValue = NULL;
+ char *previousValue = NULL;
+
+ GetRhsVar(1, STRING_DATATYPE, &m1, &n1, &l1);
+ propertyName = cstk(l1);
+
+ GetRhsVar(2, STRING_DATATYPE, &m2, &n2, &l2);
+ propertyValue = cstk(l2);
+
+ previousValue = system_setproperty(propertyName, propertyValue);
+
+ if (previousValue)
+ {
+ n1 = 1;
+ m1 = (int)strlen(propertyValue);
+ CreateVarFromPtr(Rhs + 1, STRING_DATATYPE, &m1, &n1, &previousValue);
+ }
+ else
+ {
+ n1 = 0;
+ m1 = 0;
+ l1 = 0;
+ CreateVar(Rhs + 1, MATRIX_OF_DOUBLE_DATATYPE, &n1, &m1, &l1);
+ }
+ LhsVar(1) = Rhs + 1;
+ if (previousValue)
+ {
+ FREE(previousValue);
+ previousValue = NULL;
+ }
+ PutLhsVar();
+ }
+ else
+ {
+ Scierror(999, _("%s: Wrong type for input argument #%d or #%d: String expected.\n"), fname, 1, 2);
+ }
+ return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/sci_gateway/jvm_gateway.xml b/modules/jvm/sci_gateway/jvm_gateway.xml
new file mode 100755
index 000000000..5639618f2
--- /dev/null
+++ b/modules/jvm/sci_gateway/jvm_gateway.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">
+<GATEWAY name="jvm">
+ <!-- =================== -->
+ <!--
+ Scilab
+ Interface description. In this file, we define the list of the function which
+ will be available into Scilab and the link to the "native" function.
+
+ gatewayId is the position in the hashtable 'Interfaces' defined in the
+ file SCI/modules/core/src/c/callinterf.h
+
+ primitiveId is the position in the hashtable '<module>Table Tab[]' defined
+ in the file modules/<module>/sci_gateway/c/gw_<module>.c
+
+ primitiveName is the name of the Scilab function
+
+
+ ===================
+ Don't touch if you do not know what you are doing
+-->
+
+ <!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+ <!-- =================== -->
+
+ <PRIMITIVE gatewayId="52" primitiveId="1" primitiveName="system_setproperty" />
+
+ <PRIMITIVE gatewayId="52" primitiveId="2" primitiveName="system_getproperty" />
+ <PRIMITIVE gatewayId="52" primitiveId="3" primitiveName="javaclasspath" />
+ <PRIMITIVE gatewayId="52" primitiveId="4" primitiveName="javalibrarypath" />
+</GATEWAY>
diff --git a/modules/jvm/src/c/.deps/.dirstamp b/modules/jvm/src/c/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/jvm/src/c/.deps/.dirstamp
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-InitializeJVM.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-InitializeJVM.Plo
new file mode 100755
index 000000000..846ee69ad
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-InitializeJVM.Plo
@@ -0,0 +1,282 @@
+src/c/libscijvm_algo_la-InitializeJVM.lo: src/c/InitializeJVM.c \
+ /usr/include/stdc-predef.h /usr/include/stdlib.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h includes/InitializeJVM.h \
+ includes/dynlib_jvm.h ../../modules/core/includes/BOOL.h \
+ src/c/loadClasspath.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h \
+ /usr/include/iconv.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h \
+ src/c/loadLibrarypath.h ../../modules/core/includes/setgetSCIpath.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h includes/getScilabJNIEnv.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ includes/getScilabJavaVM.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h src/c/JVM.h \
+ src/c/createMainScilabObject.h \
+ ../../modules/core/includes/scilabDefaults.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/call_scilab/includes/fromjava.h \
+ ../../modules/call_scilab/includes/dynlib_call_scilab.h \
+ includes/catchIfJavaException.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/InitializeJVM.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/core/includes/BOOL.h:
+
+src/c/loadClasspath.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h:
+
+src/c/loadLibrarypath.h:
+
+../../modules/core/includes/setgetSCIpath.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+includes/getScilabJNIEnv.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+includes/getScilabJavaVM.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+src/c/JVM.h:
+
+src/c/createMainScilabObject.h:
+
+../../modules/core/includes/scilabDefaults.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/call_scilab/includes/fromjava.h:
+
+../../modules/call_scilab/includes/dynlib_call_scilab.h:
+
+includes/catchIfJavaException.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM.Plo
new file mode 100755
index 000000000..c0e52f8a3
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM.Plo
@@ -0,0 +1,176 @@
+src/c/libscijvm_algo_la-JVM.lo: src/c/JVM.c /usr/include/stdc-predef.h \
+ /usr/include/string.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ ../../modules/dynamic_link/includes/dynamiclibrary.h \
+ ../../modules/dynamic_link/includes/dynamiclibrary_others.h \
+ /usr/include/dlfcn.h /usr/include/x86_64-linux-gnu/bits/dlfcn.h \
+ ../../modules/core/includes/BOOL.h src/c/JVM.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ src/c/JVM_functions.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h includes/getScilabJavaVM.h \
+ includes/getScilabJNIEnv.h ../../modules/call_scilab/includes/fromjava.h \
+ ../../modules/call_scilab/includes/dynlib_call_scilab.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ src/c/getJvmOptions.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+../../modules/dynamic_link/includes/dynamiclibrary.h:
+
+../../modules/dynamic_link/includes/dynamiclibrary_others.h:
+
+/usr/include/dlfcn.h:
+
+/usr/include/x86_64-linux-gnu/bits/dlfcn.h:
+
+../../modules/core/includes/BOOL.h:
+
+src/c/JVM.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+src/c/JVM_functions.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+includes/getScilabJavaVM.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/call_scilab/includes/fromjava.h:
+
+../../modules/call_scilab/includes/dynlib_call_scilab.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+src/c/getJvmOptions.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM_Unix.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM_Unix.Plo
new file mode 100755
index 000000000..3fab230f6
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM_Unix.Plo
@@ -0,0 +1,139 @@
+src/c/libscijvm_algo_la-JVM_Unix.lo: src/c/JVM_Unix.c \
+ /usr/include/stdc-predef.h /usr/include/string.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/machine.h src/c/JVM_commons.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ src/c/JVM_functions.h ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/sci_mem_alloc.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/machine.h:
+
+src/c/JVM_commons.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+src/c/JVM_functions.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM_commons.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM_commons.Plo
new file mode 100755
index 000000000..2369d0d18
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-JVM_commons.Plo
@@ -0,0 +1,173 @@
+src/c/libscijvm_algo_la-JVM_commons.lo: src/c/JVM_commons.c \
+ /usr/include/stdc-predef.h /usr/include/stdio.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h src/c/JVM_commons.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ src/c/JVM_functions.h ../../modules/core/includes/BOOL.h \
+ ../../modules/dynamic_link/includes/dynamiclibrary.h \
+ ../../modules/dynamic_link/includes/dynamiclibrary_others.h \
+ /usr/include/dlfcn.h /usr/include/x86_64-linux-gnu/bits/dlfcn.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ /usr/include/xlocale.h ../../modules/fileio/includes/getshortpathname.h \
+ ../../modules/fileio/includes/dynlib_fileio.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/localization/includes/charEncoding.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ /usr/include/x86_64-linux-gnu/sys/stat.h \
+ /usr/include/x86_64-linux-gnu/bits/stat.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+src/c/JVM_commons.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+src/c/JVM_functions.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/dynamic_link/includes/dynamiclibrary.h:
+
+../../modules/dynamic_link/includes/dynamiclibrary_others.h:
+
+/usr/include/dlfcn.h:
+
+/usr/include/x86_64-linux-gnu/bits/dlfcn.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/xlocale.h:
+
+../../modules/fileio/includes/getshortpathname.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/localization/includes/charEncoding.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+/usr/include/x86_64-linux-gnu/sys/stat.h:
+
+/usr/include/x86_64-linux-gnu/bits/stat.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-TerminateJVM.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-TerminateJVM.Plo
new file mode 100755
index 000000000..106b4ad00
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-TerminateJVM.Plo
@@ -0,0 +1,222 @@
+src/c/libscijvm_algo_la-TerminateJVM.lo: src/c/TerminateJVM.c \
+ /usr/include/stdc-predef.h includes/TerminateJVM.h includes/dynlib_jvm.h \
+ ../../modules/core/includes/BOOL.h src/c/JVM.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ src/c/createMainScilabObject.h src/c/loadClasspath.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h \
+ /usr/include/iconv.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h
+
+/usr/include/stdc-predef.h:
+
+includes/TerminateJVM.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/core/includes/BOOL.h:
+
+src/c/JVM.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+src/c/createMainScilabObject.h:
+
+src/c/loadClasspath.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-addToClasspath.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-addToClasspath.Plo
new file mode 100755
index 000000000..ba754c919
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-addToClasspath.Plo
@@ -0,0 +1,101 @@
+src/c/libscijvm_algo_la-addToClasspath.lo: src/c/addToClasspath.c \
+ /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ includes/addToClasspath.h ../../modules/core/includes/BOOL.h \
+ includes/getScilabJNIEnv.h \
+ ../../modules/core/includes/../../fileio/includes/isdir.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/core/includes/../../fileio/includes/dynlib_fileio.h \
+ ../../modules/core/includes/../../fileio/includes/FileExist.h \
+ ../../modules/call_scilab/includes/fromjava.h \
+ ../../modules/call_scilab/includes/dynlib_call_scilab.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+includes/addToClasspath.h:
+
+../../modules/core/includes/BOOL.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/core/includes/../../fileio/includes/isdir.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/core/includes/../../fileio/includes/dynlib_fileio.h:
+
+../../modules/core/includes/../../fileio/includes/FileExist.h:
+
+../../modules/call_scilab/includes/fromjava.h:
+
+../../modules/call_scilab/includes/dynlib_call_scilab.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-addToLibrarypath.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-addToLibrarypath.Plo
new file mode 100755
index 000000000..ed0b9b32d
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-addToLibrarypath.Plo
@@ -0,0 +1,84 @@
+src/c/libscijvm_algo_la-addToLibrarypath.lo: src/c/addToLibrarypath.c \
+ /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ includes/addToLibrarypath.h ../../modules/core/includes/BOOL.h \
+ includes/getScilabJNIEnv.h ../../modules/fileio/includes/isdir.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/fileio/includes/dynlib_fileio.h \
+ ../../modules/call_scilab/includes/fromjava.h \
+ ../../modules/call_scilab/includes/dynlib_call_scilab.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+includes/addToLibrarypath.h:
+
+../../modules/core/includes/BOOL.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/fileio/includes/isdir.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+../../modules/call_scilab/includes/fromjava.h:
+
+../../modules/call_scilab/includes/dynlib_call_scilab.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-catchIfJavaException.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-catchIfJavaException.Plo
new file mode 100755
index 000000000..3865bc157
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-catchIfJavaException.Plo
@@ -0,0 +1,94 @@
+src/c/libscijvm_algo_la-catchIfJavaException.lo: \
+ src/c/catchIfJavaException.c /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ /usr/include/string.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ includes/catchIfJavaException.h ../../modules/core/includes/BOOL.h \
+ includes/dynlib_jvm.h includes/getScilabJNIEnv.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/catchIfJavaException.h:
+
+../../modules/core/includes/BOOL.h:
+
+includes/dynlib_jvm.h:
+
+includes/getScilabJNIEnv.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-createMainScilabObject.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-createMainScilabObject.Plo
new file mode 100755
index 000000000..f3fbba3a4
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-createMainScilabObject.Plo
@@ -0,0 +1,99 @@
+src/c/libscijvm_algo_la-createMainScilabObject.lo: \
+ src/c/createMainScilabObject.c /usr/include/stdc-predef.h \
+ src/c/createMainScilabObject.h ../../modules/core/includes/BOOL.h \
+ includes/getScilabObject.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ includes/getScilabJNIEnv.h includes/getScilabJavaVM.h \
+ includes/catchIfJavaException.h includes/dynlib_jvm.h \
+ ../../modules/core/includes/scilabmode.h \
+ ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ /usr/include/xlocale.h
+
+/usr/include/stdc-predef.h:
+
+src/c/createMainScilabObject.h:
+
+../../modules/core/includes/BOOL.h:
+
+includes/getScilabObject.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+includes/getScilabJNIEnv.h:
+
+includes/getScilabJavaVM.h:
+
+includes/catchIfJavaException.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/core/includes/scilabmode.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/xlocale.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-getClasspath.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-getClasspath.Plo
new file mode 100755
index 000000000..3142dcdcb
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-getClasspath.Plo
@@ -0,0 +1,146 @@
+src/c/libscijvm_algo_la-getClasspath.lo: src/c/getClasspath.c \
+ /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ /usr/include/string.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h src/c/getClasspath.h \
+ includes/getScilabJNIEnv.h ../../modules/call_scilab/includes/fromjava.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/call_scilab/includes/dynlib_call_scilab.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+src/c/getClasspath.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/call_scilab/includes/fromjava.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/call_scilab/includes/dynlib_call_scilab.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-getJvmOptions.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-getJvmOptions.Plo
new file mode 100755
index 000000000..d3002cf89
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-getJvmOptions.Plo
@@ -0,0 +1,284 @@
+src/c/libscijvm_algo_la-getJvmOptions.lo: src/c/getJvmOptions.c \
+ /usr/include/stdc-predef.h /usr/include/stdlib.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xpath.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h \
+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
+ /usr/include/wchar.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h \
+ /usr/include/iconv.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h \
+ src/c/getJvmOptions.h /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ ../../modules/core/includes/GetXmlFileEncoding.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/string/includes/stricmp.h \
+ ../../modules/fileio/includes/FileExist.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/fileio/includes/dynlib_fileio.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/string/includes/strsubst.h \
+ ../../modules/string/includes/dynlib_string.h \
+ ../../modules/core/includes/getos.h \
+ ../../modules/fileio/includes/getshortpathname.h \
+ ../../modules/preferences/includes/getScilabPreference.h \
+ ../../modules/preferences/includes/dynlib_preferences_scilab.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xpath.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h:
+
+src/c/getJvmOptions.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+../../modules/core/includes/GetXmlFileEncoding.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/string/includes/stricmp.h:
+
+../../modules/fileio/includes/FileExist.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/string/includes/strsubst.h:
+
+../../modules/string/includes/dynlib_string.h:
+
+../../modules/core/includes/getos.h:
+
+../../modules/fileio/includes/getshortpathname.h:
+
+../../modules/preferences/includes/getScilabPreference.h:
+
+../../modules/preferences/includes/dynlib_preferences_scilab.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-getLibrarypath.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-getLibrarypath.Plo
new file mode 100755
index 000000000..79d061d28
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-getLibrarypath.Plo
@@ -0,0 +1,146 @@
+src/c/libscijvm_algo_la-getLibrarypath.lo: src/c/getLibrarypath.c \
+ /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ /usr/include/string.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h src/c/getLibrarypath.h \
+ includes/getScilabJNIEnv.h ../../modules/call_scilab/includes/fromjava.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/call_scilab/includes/dynlib_call_scilab.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+src/c/getLibrarypath.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/call_scilab/includes/fromjava.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/call_scilab/includes/dynlib_call_scilab.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-loadBackGroundClassPath.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-loadBackGroundClassPath.Plo
new file mode 100755
index 000000000..4e2da65b9
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-loadBackGroundClassPath.Plo
@@ -0,0 +1,91 @@
+src/c/libscijvm_algo_la-loadBackGroundClassPath.lo: \
+ src/c/loadBackGroundClassPath.c /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ includes/loadBackGroundClassPath.h includes/dynlib_jvm.h \
+ ../../modules/core/includes/BOOL.h includes/addToClasspath.h \
+ includes/getScilabJNIEnv.h ../../modules/call_scilab/includes/fromjava.h \
+ ../../modules/call_scilab/includes/dynlib_call_scilab.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ /usr/include/xlocale.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+includes/loadBackGroundClassPath.h:
+
+includes/dynlib_jvm.h:
+
+../../modules/core/includes/BOOL.h:
+
+includes/addToClasspath.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/call_scilab/includes/fromjava.h:
+
+../../modules/call_scilab/includes/dynlib_call_scilab.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/xlocale.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-loadClasspath.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-loadClasspath.Plo
new file mode 100755
index 000000000..55f3b29e1
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-loadClasspath.Plo
@@ -0,0 +1,278 @@
+src/c/libscijvm_algo_la-loadClasspath.lo: src/c/loadClasspath.c \
+ /usr/include/stdc-predef.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xpath.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h \
+ /usr/include/stdio.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h \
+ /usr/include/iconv.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h \
+ /usr/include/string.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h src/c/loadClasspath.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/GetXmlFileEncoding.h \
+ ../../modules/fileio/includes/FileExist.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/fileio/includes/dynlib_fileio.h includes/addToClasspath.h \
+ ../../modules/core/includes/setgetSCIpath.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/core/includes/scilabmode.h \
+ ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h \
+ ../../modules/string/includes/stricmp.h \
+ ../../modules/fileio/includes/getshortpathname.h
+
+/usr/include/stdc-predef.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xpath.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+src/c/loadClasspath.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/GetXmlFileEncoding.h:
+
+../../modules/fileio/includes/FileExist.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+includes/addToClasspath.h:
+
+../../modules/core/includes/setgetSCIpath.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/core/includes/scilabmode.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/string/includes/stricmp.h:
+
+../../modules/fileio/includes/getshortpathname.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-loadLibrarypath.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-loadLibrarypath.Plo
new file mode 100755
index 000000000..6c332d1f8
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-loadLibrarypath.Plo
@@ -0,0 +1,269 @@
+src/c/libscijvm_algo_la-loadLibrarypath.lo: src/c/loadLibrarypath.c \
+ /usr/include/stdc-predef.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xpath.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h \
+ /usr/include/stdio.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h \
+ /usr/include/iconv.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h \
+ src/c/loadLibrarypath.h ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/GetXmlFileEncoding.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/fileio/includes/FileExist.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/fileio/includes/dynlib_fileio.h \
+ includes/addToLibrarypath.h ../../modules/core/includes/setgetSCIpath.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/string/includes/stricmp.h \
+ ../../modules/fileio/includes/getshortpathname.h
+
+/usr/include/stdc-predef.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xpath.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h:
+
+src/c/loadLibrarypath.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/GetXmlFileEncoding.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/fileio/includes/FileExist.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+includes/addToLibrarypath.h:
+
+../../modules/core/includes/setgetSCIpath.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/string/includes/stricmp.h:
+
+../../modules/fileio/includes/getshortpathname.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-loadOnUseClassPath.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-loadOnUseClassPath.Plo
new file mode 100755
index 000000000..8d8a86c64
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-loadOnUseClassPath.Plo
@@ -0,0 +1,281 @@
+src/c/libscijvm_algo_la-loadOnUseClassPath.lo: src/c/loadOnUseClassPath.c \
+ /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xpath.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h \
+ /usr/include/iconv.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h \
+ /home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/core/includes/scilabDefaults.h includes/getScilabJNIEnv.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ /usr/include/xlocale.h ../../modules/core/includes/setgetSCIpath.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/string/includes/stricmp.h /usr/include/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h includes/addToClasspath.h \
+ ../../modules/core/includes/BOOL.h includes/loadOnUseClassPath.h \
+ includes/dynlib_jvm.h src/c/loadClasspath.h \
+ ../../modules/fileio/includes/FileExist.h \
+ ../../modules/fileio/includes/dynlib_fileio.h \
+ ../../modules/core/includes/GetXmlFileEncoding.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xpath.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlversion.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlexports.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlerror.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/parser.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/tree.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlstring.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlregexp.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/dict.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/hash.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/valid.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/list.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlautomata.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/entities.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlIO.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/globals.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xlink.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/SAX2.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlmemory.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/threads.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlreader.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/relaxng.h:
+
+/home/shashank/scilab-master_5.5.2/usr/include/libxml2/libxml/xmlschemas.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/core/includes/scilabDefaults.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/xlocale.h:
+
+../../modules/core/includes/setgetSCIpath.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/string/includes/stricmp.h:
+
+/usr/include/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/addToClasspath.h:
+
+../../modules/core/includes/BOOL.h:
+
+includes/loadOnUseClassPath.h:
+
+includes/dynlib_jvm.h:
+
+src/c/loadClasspath.h:
+
+../../modules/fileio/includes/FileExist.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+../../modules/core/includes/GetXmlFileEncoding.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-system_getproperty.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-system_getproperty.Plo
new file mode 100755
index 000000000..9d8ec4b38
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-system_getproperty.Plo
@@ -0,0 +1,137 @@
+src/c/libscijvm_algo_la-system_getproperty.lo: src/c/system_getproperty.c \
+ /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ /usr/include/string.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h src/c/system_getproperty.h \
+ includes/getScilabJNIEnv.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+src/c/system_getproperty.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
diff --git a/modules/jvm/src/c/.deps/libscijvm_algo_la-system_setproperty.Plo b/modules/jvm/src/c/.deps/libscijvm_algo_la-system_setproperty.Plo
new file mode 100755
index 000000000..c280c6d03
--- /dev/null
+++ b/modules/jvm/src/c/.deps/libscijvm_algo_la-system_setproperty.Plo
@@ -0,0 +1,145 @@
+src/c/libscijvm_algo_la-system_setproperty.lo: src/c/system_setproperty.c \
+ /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ /usr/include/string.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h src/c/system_setproperty.h \
+ includes/getScilabJNIEnv.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ includes/catchIfJavaException.h ../../modules/core/includes/BOOL.h \
+ includes/dynlib_jvm.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+src/c/system_setproperty.h:
+
+includes/getScilabJNIEnv.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+includes/catchIfJavaException.h:
+
+../../modules/core/includes/BOOL.h:
+
+includes/dynlib_jvm.h:
diff --git a/modules/jvm/src/c/.dirstamp b/modules/jvm/src/c/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/jvm/src/c/.dirstamp
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-InitializeJVM.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-InitializeJVM.o
new file mode 100755
index 000000000..d72339765
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-InitializeJVM.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM.o
new file mode 100755
index 000000000..fb67d1184
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM_Unix.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM_Unix.o
new file mode 100755
index 000000000..f7bb7d11b
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM_Unix.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM_commons.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM_commons.o
new file mode 100755
index 000000000..e65f38175
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-JVM_commons.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-TerminateJVM.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-TerminateJVM.o
new file mode 100755
index 000000000..4def2b770
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-TerminateJVM.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-addToClasspath.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-addToClasspath.o
new file mode 100755
index 000000000..c2d658e4a
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-addToClasspath.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-addToLibrarypath.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-addToLibrarypath.o
new file mode 100755
index 000000000..7d6fa0fff
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-addToLibrarypath.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-catchIfJavaException.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-catchIfJavaException.o
new file mode 100755
index 000000000..aa4272b7d
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-catchIfJavaException.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-createMainScilabObject.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-createMainScilabObject.o
new file mode 100755
index 000000000..47c741239
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-createMainScilabObject.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-getClasspath.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-getClasspath.o
new file mode 100755
index 000000000..434c9db97
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-getClasspath.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-getJvmOptions.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-getJvmOptions.o
new file mode 100755
index 000000000..545d53112
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-getJvmOptions.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-getLibrarypath.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-getLibrarypath.o
new file mode 100755
index 000000000..4e5a3cf50
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-getLibrarypath.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-loadBackGroundClassPath.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-loadBackGroundClassPath.o
new file mode 100755
index 000000000..65f588609
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-loadBackGroundClassPath.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-loadClasspath.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-loadClasspath.o
new file mode 100755
index 000000000..465aeaa42
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-loadClasspath.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-loadLibrarypath.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-loadLibrarypath.o
new file mode 100755
index 000000000..a8c96a9e7
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-loadLibrarypath.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-loadOnUseClassPath.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-loadOnUseClassPath.o
new file mode 100755
index 000000000..0812b6d6c
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-loadOnUseClassPath.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-system_getproperty.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-system_getproperty.o
new file mode 100755
index 000000000..03b2fc837
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-system_getproperty.o
Binary files differ
diff --git a/modules/jvm/src/c/.libs/libscijvm_algo_la-system_setproperty.o b/modules/jvm/src/c/.libs/libscijvm_algo_la-system_setproperty.o
new file mode 100755
index 000000000..95b18ba27
--- /dev/null
+++ b/modules/jvm/src/c/.libs/libscijvm_algo_la-system_setproperty.o
Binary files differ
diff --git a/modules/jvm/src/c/DllmainJvm.c b/modules/jvm/src/c/DllmainJvm.c
new file mode 100755
index 000000000..ddbb0580a
--- /dev/null
+++ b/modules/jvm/src/c/DllmainJvm.c
@@ -0,0 +1,35 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <windows.h>
+/*--------------------------------------------------------------------------*/
+#pragma comment(lib,"../../bin/libxml2.lib")
+#pragma comment(lib,"../../bin/libintl.lib")
+/*--------------------------------------------------------------------------*/
+int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved)
+{
+ switch (reason)
+ {
+ case DLL_PROCESS_ATTACH:
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ case DLL_THREAD_ATTACH:
+ break;
+ case DLL_THREAD_DETACH:
+ break;
+ }
+ return 1;
+}
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/jvm/src/c/InitializeJVM.c b/modules/jvm/src/c/InitializeJVM.c
new file mode 100755
index 000000000..a3303d352
--- /dev/null
+++ b/modules/jvm/src/c/InitializeJVM.c
@@ -0,0 +1,159 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#ifdef _MSC_VER
+#include <windows.h>
+#endif
+#include "InitializeJVM.h"
+#include "loadClasspath.h"
+#include "loadLibrarypath.h"
+#include "setgetSCIpath.h"
+#include "getScilabJNIEnv.h"
+#include "getScilabJavaVM.h"
+#include "MALLOC.h"
+#include "JVM.h"
+#include "createMainScilabObject.h"
+#include "scilabDefaults.h"
+#include "localization.h"
+#include "fromjava.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+#include "catchIfJavaException.h"
+/*--------------------------------------------------------------------------*/
+static void DoLoadClasspathInEtc(char *sciPath);
+static void DoLoadLibrarypathInEtc(char *sciPath);
+/*--------------------------------------------------------------------------*/
+BOOL InitializeJVM(void)
+{
+ BOOL bOK = FALSE;
+ char *sciPath = NULL;
+
+ sciPath = getSCIpath();
+
+ if (!startJVM(sciPath))
+ {
+#ifdef _MSC_VER
+ MessageBox(NULL, gettext("\nScilab cannot open JVM library.\n"), gettext("Error"), MB_ICONEXCLAMATION | MB_OK);
+#else
+ fprintf(stderr, _("\nScilab cannot open JVM library.\n"));
+#endif
+ }
+ else
+ {
+ DoLoadLibrarypathInEtc(sciPath);
+ DoLoadClasspathInEtc(sciPath);
+
+ if (!createMainScilabObject())
+ {
+ char *errorMsg = strdup(gettext("\nScilab 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 available).\n"));
+
+ if (IsFromJava())
+ {
+ char *errorMsg2 = gettext("If Scilab is used from Java, make sure that your IDE (ex: Netbeans, etc) is not adding extra dependencies which could not be found at runtime.\n");
+ char *tempMsg = (char*)MALLOC(sizeof(char) * (strlen(errorMsg) + strlen(errorMsg2) + 1));
+ if (tempMsg)
+ {
+ strcpy(tempMsg, errorMsg);
+ strcat(tempMsg, errorMsg2);
+ FREE(errorMsg);
+ errorMsg = tempMsg;
+ }
+ }
+#ifdef _MSC_VER
+ MessageBox(NULL, errorMsg, gettext("Error"), MB_ICONEXCLAMATION | MB_OK);
+#else
+ fprintf(stderr, "%s", errorMsg);
+#endif
+ if (errorMsg)
+ {
+ FREE(errorMsg);
+ errorMsg = NULL;
+ }
+ }
+ else
+ {
+ bOK = TRUE;
+ }
+ }
+
+ if (sciPath)
+ {
+ FREE(sciPath);
+ sciPath = NULL;
+ }
+
+ if (!bOK)
+ {
+ exit(1);
+ }
+
+ return TRUE;
+}
+/*--------------------------------------------------------------------------*/
+static void DoLoadClasspathInEtc(char *sciPath)
+{
+ char *classpathfile = (char*)MALLOC(sizeof(char) * (strlen(sciPath) + strlen(XMLCLASSPATH) + 1));
+ sprintf(classpathfile, XMLCLASSPATH, sciPath);
+ LoadClasspath(classpathfile);
+ if (classpathfile)
+ {
+ FREE(classpathfile);
+ classpathfile = NULL;
+ }
+}
+/*--------------------------------------------------------------------------*/
+static void DoLoadLibrarypathInEtc(char *sciPath)
+{
+ char *librarypathfile = (char*)MALLOC(sizeof(char) * (strlen(sciPath) + strlen(XMLLIBRARYPATH) + 1));
+ sprintf(librarypathfile, XMLLIBRARYPATH, sciPath);
+ LoadLibrarypath(librarypathfile);
+ if (librarypathfile)
+ {
+ FREE(librarypathfile);
+ librarypathfile = NULL;
+ }
+}
+/*--------------------------------------------------------------------------*/
+BOOL ExecuteInitialHooks(void)
+{
+ JNIEnv * currentENV = getScilabJNIEnv();
+ JavaVM * currentJVM = getScilabJavaVM();
+
+ jint result = (*currentJVM)->AttachCurrentThread(currentJVM, (void **) &currentENV, NULL) ;
+ if (result == 0)
+ {
+ jclass cls = NULL;
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/core/Scilab");
+ catchIfJavaException(_("Could not access to the Main Scilab Class:\n"));
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "executeInitialHooks", "()V");
+ if (mid)
+ {
+ (*currentENV)->CallStaticVoidMethod(currentENV, cls, mid);
+ }
+ catchIfJavaException(_("Cannot execute initial hooks. Error:\n"));
+
+ return TRUE;
+ }
+ }
+ return FALSE;
+}
+/*--------------------------------------------------------------------------*/
+
+
diff --git a/modules/jvm/src/c/JVM.c b/modules/jvm/src/c/JVM.c
new file mode 100755
index 000000000..655ebb962
--- /dev/null
+++ b/modules/jvm/src/c/JVM.c
@@ -0,0 +1,301 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <string.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include "dynamiclibrary.h"
+#include "JVM.h"
+#include "JVM_functions.h"
+#include "MALLOC.h"
+#include "getScilabJavaVM.h"
+#include "getScilabJNIEnv.h"
+#include "fromjava.h"
+#include "localization.h"
+#include "getJvmOptions.h"
+/*--------------------------------------------------------------------------*/
+static JavaVM *jvm_SCILAB = NULL;
+/*--------------------------------------------------------------------------*/
+static BOOL HadAlreadyJavaVm = FALSE;
+/*--------------------------------------------------------------------------*/
+static JavaVMOption *jvm_options = NULL;
+static int nOptions = 0;
+/*--------------------------------------------------------------------------*/
+static void freeJavaVMOption(void)
+{
+ if (jvm_options)
+ {
+ int j = 0;
+
+ for (j = 0; j < nOptions; j++)
+ {
+ if (jvm_options[j].optionString)
+ {
+ FREE(jvm_options[j].optionString);
+ jvm_options[j].optionString = NULL;
+ }
+ }
+ nOptions = 0;
+ }
+}
+
+/*--------------------------------------------------------------------------*/
+JavaVM *getScilabJavaVM(void)
+{
+ if (!jvm_SCILAB && IsFromJava())
+ {
+ /* If getScilabJavaVM is called from C called itself from JavaSci
+ * (in nwni mode) the function returns a JVM */
+ JavaVM *vm = 0;
+ JavaVM **vmBuf = MALLOC(sizeof(JavaVM *) * 1);
+ jsize size = 0;
+
+ if (!hasJvmSymbolsLoaded())
+ {
+ /* We load symbols of the current jvm already used */
+ LoadFunctionsJVM(NULL);
+ }
+
+ SciJNI_GetCreatedJavaVMs(vmBuf, 1, &size);
+
+ if (size)
+ {
+ vm = *vmBuf;
+ }
+ FREE(vmBuf);
+
+ return vm;
+ }
+
+ return jvm_SCILAB;
+}
+
+/*--------------------------------------------------------------------------*/
+JNIEnv *getScilabJNIEnv(void)
+{
+ JNIEnv *JNIEnv_SCILAB = NULL;
+ jint res = 0;
+
+ if (jvm_SCILAB)
+ {
+#ifdef JNI_VERSION_1_6
+ res = (*jvm_SCILAB)->GetEnv(jvm_SCILAB, (void **)&JNIEnv_SCILAB, JNI_VERSION_1_6);
+#elif JNI_VERSION_1_4
+ res = (*jvm_SCILAB)->GetEnv(jvm_SCILAB, (void **)&JNIEnv_SCILAB, JNI_VERSION_1_4);
+#endif
+ if (res == JNI_ERR)
+ {
+#ifdef _MSC_VER
+ MessageBox(NULL, gettext("\nError: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"), gettext("Error"),
+ MB_ICONEXCLAMATION | MB_OK);
+#else
+ fprintf(stderr, _("\nError: Cannot return Scilab Java environment (JNIEnv_SCILAB).\n"));
+#endif
+ return NULL;
+ }
+
+ if (res == JNI_EDETACHED)
+ {
+ (*jvm_SCILAB)->AttachCurrentThread(jvm_SCILAB, (void **)&JNIEnv_SCILAB, NULL);
+ }
+ }
+ else
+ {
+#ifdef _MSC_VER
+ MessageBox(NULL,
+ gettext
+ ("\nError: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM has been loaded by Scilab before calling this function.\n"),
+ gettext("Error"), MB_ICONEXCLAMATION | MB_OK);
+#else
+ fprintf(stderr,
+ _
+ ("\nError: Cannot return Scilab Java environment (jvm_SCILAB): check if the JVM has been loaded by Scilab before calling this function.\n"));
+#endif
+ }
+ return JNIEnv_SCILAB;
+}
+
+/*--------------------------------------------------------------------------*/
+BOOL startJVM(char *SCI_PATH)
+{
+ JNIEnv *env = NULL;
+ JavaVM *ptr_jvm = NULL;
+ jint res = 0;
+
+ if (IsFromJava())
+ {
+ ptr_jvm = FindCreatedJavaVM(SCI_PATH);
+ if (ptr_jvm) /* a jvm already exists in scilab process */
+ {
+ HadAlreadyJavaVm = TRUE;
+ jvm_SCILAB = ptr_jvm;
+ env = getScilabJNIEnv();
+ }
+ else
+ {
+ fprintf(stderr, _("\nWeird error. Calling from Java but haven't been able to find the already existing JVM.\n"));
+ FreeDynLibJVM();
+ return FALSE;
+ }
+ }
+ else
+ {
+ if (!LoadDynLibJVM(SCI_PATH))
+ {
+ fprintf(stderr, _("\nCould not load JVM dynamic library (libjava).\n"));
+ fprintf(stderr, _("Error: %s\n"), GetLastDynLibError());
+ fprintf(stderr, _("If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/.\n"));
+ fprintf(stderr, _("If you are using a self-built version of Scilab, update the script bin/scilab to provide the path to the JVM.\n"));
+
+ fprintf(stderr, _("The problem might be related to SELinux. Try to deactivate it.\n"));
+ fprintf(stderr, _("Please also check that you are not trying to run Scilab 64 bits on a 32 bits system (or vice versa).\n"));
+ return FALSE;
+ }
+ else
+ {
+ /**
+ * http://java.sun.com/javase/6/docs/technotes/guides/jni/spec/invocation.html#wp15956
+ */
+#define JVM_OPTIONS_FILENAME_FORMAT "%s/etc/jvm_options.xml"
+ char *jvm_options_filename = NULL;
+
+ long status = 0;
+ JavaVMInitArgs vm_args;
+
+ jvm_options_filename = (char *)MALLOC(sizeof(char) * ((int)strlen(JVM_OPTIONS_FILENAME_FORMAT) + (int)strlen(SCI_PATH) + 1));
+ sprintf(jvm_options_filename, JVM_OPTIONS_FILENAME_FORMAT, SCI_PATH);
+
+ jvm_options = getJvmOptions(SCI_PATH, jvm_options_filename, &nOptions);
+
+ if ((jvm_options == NULL) || (nOptions == 0))
+ {
+#ifdef _MSC_VER
+ {
+#define FORMAT_MSG "\nImpossible to read %s.\n"
+ char *msg = (char *)MALLOC(sizeof(char) * ((int)strlen(_(FORMAT_MSG)) + (int)strlen(jvm_options_filename) + 1));
+
+ if (msg)
+ {
+ sprintf(msg, _(FORMAT_MSG), jvm_options_filename);
+ MessageBox(NULL, msg, gettext("Error"), MB_ICONEXCLAMATION | MB_OK);
+ FREE(msg);
+ msg = NULL;
+ }
+ }
+#else
+ fprintf(stderr, _("\nImpossible to read %s.\n"), jvm_options_filename);
+#endif
+ if (jvm_options_filename)
+ {
+ FREE(jvm_options_filename);
+ jvm_options_filename = NULL;
+ }
+ exit(1);
+ }
+ else
+ {
+ if (jvm_options_filename)
+ {
+ FREE(jvm_options_filename);
+ jvm_options_filename = NULL;
+ }
+
+ HadAlreadyJavaVm = FALSE;
+
+ memset(&vm_args, 0, sizeof(vm_args));
+ SciJNI_GetDefaultJavaVMInitArgs(&vm_args);
+
+#ifdef JNI_VERSION_1_6
+ vm_args.version = JNI_VERSION_1_6;
+#elif JNI_VERSION_1_4
+ vm_args.version = JNI_VERSION_1_4;
+#else
+#ifdef _MSC_VER
+ MessageBox(NULL, gettext("\nIncorrect version JNI (needs at least JDK 1.4).\n"), gettext("Error"), MB_ICONEXCLAMATION | MB_OK);
+#else
+ fprintf(stderr, gettext("\nIncorrect version JNI (needs at least JDK 1.4).\n"));
+#endif
+ exit(1);
+#endif
+
+ vm_args.options = jvm_options;
+ vm_args.nOptions = nOptions;
+ vm_args.ignoreUnrecognized = FALSE;
+ status = SciJNI_CreateJavaVM(&jvm_SCILAB, (JNIEnv **) & env, &vm_args);
+
+ if (status != JNI_OK)
+ {
+ fprintf(stderr, _("Error in the creation of the Java VM: %s\n"), getJniErrorFromStatusCode(status));
+ FreeDynLibJVM();
+ if (vm_args.options)
+ {
+ int j = 0;
+
+ fprintf(stderr, _("Options:\n"));
+ for (j = 0; j < vm_args.nOptions; j++)
+ {
+ fprintf(stderr, "%d: %s\n", j, vm_args.options[j]);
+ }
+ }
+ return FALSE;
+ }
+ }
+ }
+ }
+
+ res = (*jvm_SCILAB)->AttachCurrentThread(jvm_SCILAB, (void **)&env, (void *)NULL);
+
+ if (res != 0)
+ {
+#ifdef _MSC_VER
+ MessageBox(NULL, gettext("\nJVM error in AttachCurrentThread: Could not attach to the current thread.\n"), gettext("Error"),
+ MB_ICONEXCLAMATION | MB_OK);
+#else
+ fprintf(stderr, gettext("\nJVM error in AttachCurrentThread: Could not attach to the current thread.\n"));
+#endif
+ FreeDynLibJVM();
+ freeJavaVMOption();
+ return FALSE;
+ }
+ else
+ {
+ return TRUE;
+ }
+}
+/*--------------------------------------------------------------------------*/
+BOOL finishJVM(void)
+{
+ BOOL bOK = FALSE;
+
+ if (jvm_SCILAB)
+ {
+ // Detach the shared thread, to let the JVM finish itself
+ (*jvm_SCILAB)->DetachCurrentThread(jvm_SCILAB);
+
+ // force destroy the JVM (commented due to the javasci case)
+ // (*jvm_SCILAB)->DestroyJavaVM(jvm_SCILAB);
+ }
+ if (FreeDynLibJVM())
+ {
+ jvm_SCILAB = NULL;
+ bOK = TRUE;
+ }
+ freeJavaVMOption();
+ return bOK;
+}
+/*--------------------------------------------------------------------------*/
+BOOL isItTheDisabledLib(void)
+{
+ return FALSE;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/JVM.h b/modules/jvm/src/c/JVM.h
new file mode 100755
index 000000000..272a5e6f1
--- /dev/null
+++ b/modules/jvm/src/c/JVM.h
@@ -0,0 +1,43 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __JVM_H__
+#define __JVM_H__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "BOOL.h" /* BOOL */
+ /**
+ * start JVM used in InitializeJVM function
+ * @param Scilab path
+ * @return TRUE or FALSE
+ */
+ BOOL startJVM(char *SCI_PATH);
+
+ /**
+ * finish JVM in TerminateJVM function
+ * @return TRUE or FALSE
+ */
+ BOOL finishJVM(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __JVM_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/JVM_Unix.c b/modules/jvm/src/c/JVM_Unix.c
new file mode 100755
index 000000000..6264bf2c2
--- /dev/null
+++ b/modules/jvm/src/c/JVM_Unix.c
@@ -0,0 +1,218 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#include <string.h>
+#include <stdlib.h>
+#include "machine.h"
+#include "JVM_commons.h"
+#include "JVM_functions.h"
+#include "sci_mem_alloc.h"
+/*--------------------------------------------------------------------------*/
+#define JVM_TYPE "client"
+/* #define JVM_TYPE "server" */
+/* Every form of Sun's Java runtime comes with both the "client VM" and the "server VM."
+Unfortunately, Java applications and applets run by default in the client VM.
+The Server VM is much faster than the Client VM,
+but it has the downside of taking around 10% longer to start up, and it uses more memory.
+*/
+/*--------------------------------------------------------------------------*/
+static JavaVM *SearchCreatedJavaVMEmbedded(char *SCILAB_PATH);
+static JavaVM *SearchCreatedJavaVMPath(void);
+
+#ifdef __APPLE__
+/* I guess Apple likes to make my life harder ...
+ * They are renaming the name of the dynamic lib especially for jni lib...
+ * Therefor, I must change the name only for mac os X from dynlib
+ */
+#undef SHARED_LIB_EXT
+#define SHARED_LIB_EXT ".jnilib"
+#define LIBJAVANAME "libjava"
+#else
+#define LIBJAVANAME "libjvm"
+#endif
+
+/*--------------------------------------------------------------------------*/
+static BOOL EMBEDDED_JRE = FALSE;
+
+/*--------------------------------------------------------------------------*/
+BOOL LoadDynLibJVM(char *SCILAB_PATH)
+{
+ /* 1. search in SCI/java/jre
+ * 2. search in LD_LIBRARY_PATH and co (see man dlopen)
+ * else ERROR Java not found */
+
+ BOOL bOK = FALSE;
+ char *JVMLibFullName = NULL;
+
+ /* 1. search in SCI/java/jre */
+ JVMLibFullName =
+ (char *)MALLOC((strlen(SCILAB_PATH) + strlen(JRE_PATH) + strlen("/bin/") + strlen(JVM_TYPE) + strlen("/libjava") + strlen(SHARED_LIB_EXT) + 1)
+ * sizeof(char));
+ sprintf(JVMLibFullName, "%s%s%s%s%s%s", SCILAB_PATH, JRE_PATH, "/bin/", JVM_TYPE, "/libjava", SHARED_LIB_EXT);
+
+ if (LoadFunctionsJVM(JVMLibFullName) == NULL)
+ {
+ /* 2. search in LD_LIBRARY_PATH */
+ if (JVMLibFullName)
+ {
+ FREE(JVMLibFullName);
+ JVMLibFullName = NULL;
+ };
+
+ JVMLibFullName = (char *)MALLOC((strlen(LIBJAVANAME) + strlen(SHARED_LIB_EXT) + 1) * sizeof(char));
+ sprintf(JVMLibFullName, "%s%s", LIBJAVANAME, SHARED_LIB_EXT);
+ if (LoadFunctionsJVM(JVMLibFullName))
+ {
+ bOK = TRUE;
+ }
+ }
+ else
+ {
+ EMBEDDED_JRE = TRUE;
+ bOK = TRUE;
+ }
+
+ if (JVMLibFullName)
+ {
+ FREE(JVMLibFullName);
+ JVMLibFullName = NULL;
+ };
+
+ return bOK;
+
+}
+
+/*--------------------------------------------------------------------------*/
+BOOL withEmbeddedJRE(void)
+{
+ return EMBEDDED_JRE;
+}
+
+/*--------------------------------------------------------------------------*/
+static JavaVM *SearchCreatedJavaVMEmbedded(char *SCILAB_PATH)
+{
+ JavaVM *jvm = NULL;
+ jsize jvm_count = 0;
+ jint res = 0;
+ char *JVMLibFullName = NULL;
+
+ /* search in SCI/java/jre */
+ JVMLibFullName =
+ (char *)MALLOC((strlen(SCILAB_PATH) + strlen(JRE_PATH) + strlen("/bin/") + strlen(JVM_TYPE) + strlen("/libjava") + strlen(SHARED_LIB_EXT) + 1)
+ * sizeof(char));
+ sprintf(JVMLibFullName, "%s%s%s%s%s%s", SCILAB_PATH, JRE_PATH, "/bin/", JVM_TYPE, "/libjava", SHARED_LIB_EXT);
+
+ FreeDynLibJVM();
+
+ if (LoadFunctionsJVM(JVMLibFullName))
+ {
+ res = SciJNI_GetCreatedJavaVMs(&jvm, 1, &jvm_count);
+ if (res != JNI_OK)
+ {
+ fprintf(stderr, "\nJNI_GetCreatedJavaVMs failed to detect any started Java VM.\n");
+ return NULL;
+ }
+
+ if (jvm_count == 1)
+ {
+ if (JVMLibFullName)
+ {
+ FREE(JVMLibFullName);
+ JVMLibFullName = NULL;
+ }
+ return jvm;
+ }
+ else
+ {
+ jvm = NULL;
+ }
+ }
+ if (JVMLibFullName)
+ {
+ FREE(JVMLibFullName);
+ JVMLibFullName = NULL;
+ }
+ return jvm;
+}
+
+/*--------------------------------------------------------------------------*/
+static JavaVM *SearchCreatedJavaVMPath(void)
+{
+ JavaVM *jvm = NULL;
+ jsize jvm_count = 0;
+ jint res = 0;
+ char *JVMLibFullName = NULL;
+
+ FreeDynLibJVM();
+
+ JVMLibFullName = (char *)MALLOC((strlen("libjava") + strlen(SHARED_LIB_EXT) + 1) * sizeof(char));
+ sprintf(JVMLibFullName, "%s%s", "libjava", SHARED_LIB_EXT);
+
+ if (LoadFunctionsJVM(JVMLibFullName))
+ {
+ res = SciJNI_GetCreatedJavaVMs(&jvm, 1, &jvm_count);
+ if (res != JNI_OK)
+ {
+ fprintf(stderr, "\nJNI_GetCreatedJavaVMs failed to detect any started Java VM.\n");
+ return NULL;
+ }
+ if (jvm_count == 1) /* We could update this to behave differently when two (or more) JVMs are already started */
+ {
+ if (JVMLibFullName)
+ {
+ FREE(JVMLibFullName);
+ JVMLibFullName = NULL;
+ };
+ return jvm;
+ }
+ else
+ {
+ jvm = NULL;
+ }
+ }
+ if (JVMLibFullName)
+ {
+ FREE(JVMLibFullName);
+ JVMLibFullName = NULL;
+ };
+ return jvm;
+}
+
+/*--------------------------------------------------------------------------*/
+JavaVM *FindCreatedJavaVM(char *SCILAB_PATH)
+{
+ JavaVM *jvm = NULL;
+
+#ifndef __APPLE__
+ /* Under Mac OS X, we are using the JVM provided by the distribution.
+ * However, this might change with Java 7 since Apple will no longer provide
+ * Java with Mac OS X */
+ jvm = SearchCreatedJavaVMEmbedded(SCILAB_PATH);
+ if (jvm)
+ {
+ return jvm;
+ }
+ else
+ {
+#endif
+ jvm = SearchCreatedJavaVMPath();
+ if (jvm)
+ {
+ return jvm;
+ }
+#ifndef __APPLE__
+ }
+#endif
+ return NULL;
+}
+
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/JVM_Windows.c b/modules/jvm/src/c/JVM_Windows.c
new file mode 100755
index 000000000..7c653b139
--- /dev/null
+++ b/modules/jvm/src/c/JVM_Windows.c
@@ -0,0 +1,311 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "machine.h" /* SHARED_LIB_EXT */
+#include "JVM_commons.h"
+#include "JVM_functions.h"
+#include "MALLOC.h"
+#include "PATH_MAX.h"
+#include "FileExist.h"
+#include "GetWindowsVersion.h"
+/*--------------------------------------------------------------------------*/
+#ifdef _WIN64
+/* Sun doesn't distribute "client" version of jvm with jre for x64 version */
+#define JVM_TYPE "server"
+#else
+#define JVM_TYPE "client"
+#endif
+/* #define JVM_TYPE "server" */
+/* Every form of Sun's Java runtime comes with both the "client VM" and the "server VM."
+Unfortunately, Java applications and applets run by default in the client VM.
+The Server VM is much faster than the Client VM,
+but it has the downside of taking around 10% longer to start up, and it uses more memory.
+*/
+/*--------------------------------------------------------------------------*/
+static char *Search_Java_RuntimeLib_in_Windows_Registry(void);
+static JavaVM *SearchCreatedJavaVMPath(void);
+static JavaVM *SearchCreatedJavaVMEmbedded(char *SCILAB_PATH);
+static JavaVM *SearchCreatedJavaVMRegistry(void);
+/*--------------------------------------------------------------------------*/
+static BOOL EMBEDDED_JRE = FALSE;
+/*--------------------------------------------------------------------------*/
+BOOL LoadDynLibJVM(char *SCILAB_PATH)
+{
+ /* 1] search in SCI/java/jre */
+ /* 2] search in windows registry */
+ /* 3] search in PATH */
+ /* else ERROR Java not found */
+
+ BOOL bOK = FALSE;
+ char *JVMDLLFULLNAME = NULL;
+
+ /* 1] search in scilab SCI/java/jre */
+ JVMDLLFULLNAME = (char*)MALLOC( (strlen(SCILAB_PATH) + strlen(JRE_PATH) + strlen("/bin/") + strlen(JVM_TYPE) + strlen("/jvm") + strlen(SHARED_LIB_EXT) + 1) * sizeof(char));
+ sprintf(JVMDLLFULLNAME, "%s%s%s%s%s%s", SCILAB_PATH, JRE_PATH, "/bin/", JVM_TYPE, "/jvm", SHARED_LIB_EXT);
+
+ if (!LoadFunctionsJVM(JVMDLLFULLNAME))
+ {
+ /* 2] search in windows registry */
+ /* We try to find JRE on Windows registry*/
+ if (JVMDLLFULLNAME)
+ {
+ FREE(JVMDLLFULLNAME);
+ JVMDLLFULLNAME = NULL;
+ };
+ JVMDLLFULLNAME = Search_Java_RuntimeLib_in_Windows_Registry();
+
+ /* 3] search in PATH */
+ if (!LoadFunctionsJVM(JVMDLLFULLNAME))
+ {
+ if (JVMDLLFULLNAME)
+ {
+ FREE(JVMDLLFULLNAME);
+ JVMDLLFULLNAME = NULL;
+ };
+ JVMDLLFULLNAME = (char*)MALLOC( (strlen("jvm") + strlen(SHARED_LIB_EXT) + 1) * sizeof(char));
+ sprintf(JVMDLLFULLNAME, "%s%s%s%s", SCILAB_PATH, JRE_PATH, "jvm", SHARED_LIB_EXT);
+ if ( LoadFunctionsJVM(JVMDLLFULLNAME) )
+ {
+ bOK = TRUE;
+ }
+ }
+ else
+ {
+ bOK = TRUE;
+ }
+ }
+ else
+ {
+ EMBEDDED_JRE = TRUE;
+ bOK = TRUE;
+ }
+
+ if (JVMDLLFULLNAME)
+ {
+ FREE(JVMDLLFULLNAME);
+ JVMDLLFULLNAME = NULL;
+ };
+
+ return bOK;
+}
+/*--------------------------------------------------------------------------*/
+char *Search_Java_RuntimeLib_in_Windows_Registry(void)
+{
+#define JRE_HKEY "Software\\JavaSoft\\Java Runtime Environment"
+ char *RuntimeLib = NULL;
+ char value[PATH_MAX];
+ char newKey[PATH_MAX];
+
+ HKEY regKey;
+ DWORD size = PATH_MAX;
+ int result;
+
+ DWORD OpensKeyOptions = 0;
+
+ /* if Win64 search only 64 bits JRE version */
+#ifdef _WIN64 /* Scilab x64 on x64 windows */
+ OpensKeyOptions = KEY_READ | KEY_WOW64_64KEY;
+#else
+ if (IsWow64()) /* Scilab 32 bits on x64 windows */
+ {
+ OpensKeyOptions = KEY_READ | KEY_WOW64_32KEY;
+ }
+ else /* Scilab 32 bits on windows 32 bits */
+ {
+ OpensKeyOptions = KEY_READ;
+ }
+#endif
+
+ if ((result = RegOpenKeyEx(HKEY_LOCAL_MACHINE, JRE_HKEY, 0, OpensKeyOptions, &regKey)) != ERROR_SUCCESS)
+ {
+ return NULL;
+ }
+
+ if ((result = RegQueryValueEx(regKey, "CurrentVersion", NULL, NULL, (LPBYTE)value, &size)) != ERROR_SUCCESS)
+ {
+ RegCloseKey(regKey);
+ return NULL;
+ }
+
+ RegCloseKey(regKey);
+ value[size] = '\0';
+ size = PATH_MAX;
+
+ strcpy(newKey, JRE_HKEY);
+ strcat(newKey, "\\");
+ strcat(newKey, value);
+
+
+ if ((result = RegOpenKeyEx(HKEY_LOCAL_MACHINE, newKey, 0, OpensKeyOptions, &regKey)) != ERROR_SUCCESS)
+ {
+ return NULL;
+ }
+
+ if ((result = RegQueryValueEx(regKey, "RuntimeLib", NULL, NULL, (LPBYTE)value, &size)) != ERROR_SUCCESS)
+ {
+ RegCloseKey(regKey);
+ return NULL;
+ }
+
+ RegCloseKey(regKey);
+
+ /* check file Exist */
+ if (FileExist(value))
+ {
+ RuntimeLib = (char*)MALLOC(sizeof(char) * (strlen(value) + 1));
+ strcpy(RuntimeLib, value);
+ }
+
+ return RuntimeLib;
+}
+/*--------------------------------------------------------------------------*/
+BOOL withEmbeddedJRE(void)
+{
+ return EMBEDDED_JRE;
+}
+/*--------------------------------------------------------------------------*/
+static JavaVM *SearchCreatedJavaVMEmbedded(char *SCILAB_PATH)
+{
+ JavaVM *jvm = NULL;
+ jsize jvm_count = 0;
+ jint res = 0;
+ char *JVMDLLFULLNAME = NULL;
+
+ /* search in SCI/java/jre */
+ JVMDLLFULLNAME = (char*)MALLOC( (strlen(SCILAB_PATH) + strlen(JRE_PATH) + strlen("/bin/") + strlen(JVM_TYPE) + strlen("/jvm") + strlen(SHARED_LIB_EXT) + 1) * sizeof(char));
+ sprintf(JVMDLLFULLNAME, "%s%s%s%s%s%s", SCILAB_PATH, JRE_PATH, "/bin/", JVM_TYPE, "/jvm", SHARED_LIB_EXT);
+
+ FreeDynLibJVM();
+
+ if (LoadFunctionsJVM(JVMDLLFULLNAME))
+ {
+ res = SciJNI_GetCreatedJavaVMs (&jvm, 1, &jvm_count);
+
+ if ( jvm_count == 1 )
+ {
+ if (JVMDLLFULLNAME)
+ {
+ FREE(JVMDLLFULLNAME);
+ JVMDLLFULLNAME = NULL;
+ }
+ return jvm;
+ }
+ else
+ {
+ jvm = NULL;
+ }
+ }
+ if (JVMDLLFULLNAME)
+ {
+ FREE(JVMDLLFULLNAME);
+ JVMDLLFULLNAME = NULL;
+ }
+ return jvm;
+}
+/*----------------------------------------------------------------------------------*/
+JavaVM *SearchCreatedJavaVMRegistry(void)
+{
+ JavaVM *jvm = NULL;
+ jsize jvm_count = 0;
+ jint res = 0;
+ char *JVMDLLFULLNAME = NULL;
+
+ JVMDLLFULLNAME = Search_Java_RuntimeLib_in_Windows_Registry();
+ FreeDynLibJVM();
+
+ if (LoadFunctionsJVM(JVMDLLFULLNAME))
+ {
+ res = SciJNI_GetCreatedJavaVMs (&jvm, 1, &jvm_count);
+
+ if ( jvm_count == 1 )
+ {
+ if (JVMDLLFULLNAME)
+ {
+ FREE(JVMDLLFULLNAME);
+ JVMDLLFULLNAME = NULL;
+ }
+ return jvm;
+ }
+ else
+ {
+ jvm = NULL;
+ }
+ }
+ if (JVMDLLFULLNAME)
+ {
+ FREE(JVMDLLFULLNAME);
+ JVMDLLFULLNAME = NULL;
+ }
+ return jvm;
+}
+/*----------------------------------------------------------------------------------*/
+static JavaVM *SearchCreatedJavaVMPath(void)
+{
+ JavaVM *jvm = NULL;
+ jsize jvm_count = 0;
+ jint res = 0;
+ char *JVMDLLFULLNAME = NULL;
+
+ FreeDynLibJVM();
+
+ JVMDLLFULLNAME = (char*)MALLOC( (strlen("jvm") + strlen(SHARED_LIB_EXT) + 1) * sizeof(char));
+ sprintf(JVMDLLFULLNAME, "%s%s", "jvm", SHARED_LIB_EXT);
+
+ if (LoadFunctionsJVM(JVMDLLFULLNAME))
+ {
+ res = SciJNI_GetCreatedJavaVMs (&jvm, 1, &jvm_count);
+ if ( jvm_count == 1 )
+ {
+ if (JVMDLLFULLNAME)
+ {
+ FREE(JVMDLLFULLNAME);
+ JVMDLLFULLNAME = NULL;
+ };
+ return jvm;
+ }
+ else
+ {
+ jvm = NULL;
+ }
+ }
+ return jvm;
+}
+/*----------------------------------------------------------------------------------*/
+JavaVM *FindCreatedJavaVM(char *SCILAB_PATH)
+{
+ JavaVM *jvm = NULL;
+
+ jvm = SearchCreatedJavaVMEmbedded(SCILAB_PATH);
+ if (jvm)
+ {
+ return jvm;
+ }
+ else
+ {
+ jvm = SearchCreatedJavaVMRegistry();
+ if (jvm)
+ {
+ return jvm;
+ }
+ else
+ {
+ jvm = SearchCreatedJavaVMPath();
+ if (jvm)
+ {
+ return jvm;
+ }
+ }
+ }
+ return NULL;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/JVM_commons.c b/modules/jvm/src/c/JVM_commons.c
new file mode 100755
index 000000000..1a7b819c9
--- /dev/null
+++ b/modules/jvm/src/c/JVM_commons.c
@@ -0,0 +1,172 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ * Copyright (C) 2007-2008 - INRIA - Sylvestre LEDRU
+ * Copyright (C) 2010 - DIGITEO - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <stdio.h>
+#include "JVM_commons.h"
+#include "dynamiclibrary.h"
+#include "localization.h"
+#include "getshortpathname.h"
+#include "BOOL.h"
+#include "MALLOC.h"
+#include "charEncoding.h"
+/*--------------------------------------------------------------------------*/
+static DynLibHandle hLibJVM = NULL;
+static BOOL bSymbolsLoaded = FALSE;
+/*--------------------------------------------------------------------------*/
+typedef jint (JNICALL *JNI_CreateJavaVMPROC) (JavaVM **jvm, JNIEnv **penv, JavaVMInitArgs *args);
+typedef jint (JNICALL *JNI_GetCreatedJavaVMsPROC)(JavaVM **vmBuf, jsize BufLen, jsize *nVMs);
+typedef jint (JNICALL *JNI_GetDefaultJavaVMInitArgsPROC)(JavaVMInitArgs *args);
+/*--------------------------------------------------------------------------*/
+static JNI_GetDefaultJavaVMInitArgsPROC ptr_JNI_GetDefaultJavaVMInitArgs = NULL;
+static JNI_CreateJavaVMPROC ptr_JNI_CreateJavaVM = NULL;
+static JNI_GetCreatedJavaVMsPROC ptr_JNI_GetCreatedJavaVMs = NULL;
+/*--------------------------------------------------------------------------*/
+jint SciJNI_GetDefaultJavaVMInitArgs(JavaVMInitArgs *args)
+{
+ if (ptr_JNI_GetDefaultJavaVMInitArgs)
+ {
+ return (ptr_JNI_GetDefaultJavaVMInitArgs)(args);
+ }
+ return JNI_ERR;
+}
+/*--------------------------------------------------------------------------*/
+jint SciJNI_CreateJavaVM(JavaVM **jvm, JNIEnv **penv, JavaVMInitArgs *args)
+{
+ if (ptr_JNI_CreateJavaVM)
+ {
+ return (ptr_JNI_CreateJavaVM)(jvm, penv, args);
+ }
+ return JNI_ERR;
+}
+/*--------------------------------------------------------------------------*/
+jint SciJNI_GetCreatedJavaVMs(JavaVM **vmBuf, jsize BufLen, jsize *nVMs)
+{
+ if (ptr_JNI_GetCreatedJavaVMs)
+ {
+ return (ptr_JNI_GetCreatedJavaVMs)(vmBuf, BufLen, nVMs);
+ }
+ return JNI_ERR;
+}
+/*--------------------------------------------------------------------------*/
+BOOL FreeDynLibJVM(void)
+{
+ if (hLibJVM)
+ {
+ if (FreeDynLibrary(hLibJVM))
+ {
+ ptr_JNI_GetDefaultJavaVMInitArgs = NULL;
+ ptr_JNI_CreateJavaVM = NULL;
+ ptr_JNI_GetCreatedJavaVMs = NULL;
+ hLibJVM = NULL;
+ bSymbolsLoaded = FALSE;
+ return TRUE;
+ }
+ }
+ return FALSE;
+}
+/*--------------------------------------------------------------------------*/
+BOOL LoadFunctionsJVM(char *filedynlib)
+{
+#ifdef _MSC_VER
+ if (filedynlib == NULL)
+ {
+ hLibJVM = LoadDynLibraryW(L"jvm.dll");
+ }
+ else
+ {
+ wchar_t * wcfiledynlib = to_wide_string(filedynlib);
+ if (wcfiledynlib)
+ {
+ hLibJVM = LoadDynLibraryW(wcfiledynlib);
+ FREE(wcfiledynlib);
+ wcfiledynlib = NULL;
+ }
+ }
+#else
+#ifdef __APPLE__
+ /*
+ ** After MacOSX 10.6.8 manually load libjava.jnilib make JNI_* functions crash
+ ** Rely on OS by using dlopen(NULL) to find correct symbol with dlsym
+ */
+ hLibJVM = LoadDynLibrary(NULL);
+#else
+ if (filedynlib == NULL)
+ {
+ hLibJVM = LoadDynLibrary(NULL);
+ }
+ else
+ {
+ hLibJVM = LoadDynLibrary(filedynlib);
+ }
+#endif
+#endif
+
+ if (hLibJVM)
+ {
+ ptr_JNI_GetDefaultJavaVMInitArgs = (JNI_GetDefaultJavaVMInitArgsPROC) GetDynLibFuncPtr(hLibJVM, "JNI_GetDefaultJavaVMInitArgs" );
+ ptr_JNI_CreateJavaVM = (JNI_CreateJavaVMPROC) GetDynLibFuncPtr(hLibJVM, "JNI_CreateJavaVM" );
+ ptr_JNI_GetCreatedJavaVMs = (JNI_GetCreatedJavaVMsPROC) GetDynLibFuncPtr(hLibJVM, "JNI_GetCreatedJavaVMs" );
+
+ if (ptr_JNI_GetDefaultJavaVMInitArgs && ptr_JNI_CreateJavaVM && ptr_JNI_GetCreatedJavaVMs)
+ {
+ bSymbolsLoaded = TRUE;
+ return TRUE;
+ }
+ }
+ return FALSE;
+}
+/*--------------------------------------------------------------------------*/
+char *getJniErrorFromStatusCode(long status)
+{
+ switch (status)
+ {
+ case JNI_ERR:
+ return _("Unknown JNI error");
+ break;
+ case JNI_EDETACHED:
+ return _("Thread detached from the VM");
+ break;
+ case JNI_EVERSION:
+ return _("JNI version error");
+ break;
+#ifdef JNI_ENOMEM
+ /* ifdef because not defined with some version of gcj */
+ case JNI_ENOMEM:
+ return _("JNI: not enough memory");
+ break;
+#endif
+#ifdef JNI_EEXIST
+ /* ifdef because not defined with some version of gcj */
+ case JNI_EEXIST:
+ return _("VM already created");
+ break;
+#endif
+#ifdef JNI_EINVAL
+ /* ifdef because not defined with some version of gcj */
+ case JNI_EINVAL:
+ return _("JNI: invalid arguments");
+ break;
+#endif
+ default:
+ return _("Undefined error code in the JNI. Weird problem");
+ break;
+ }
+}
+/*--------------------------------------------------------------------------*/
+BOOL hasJvmSymbolsLoaded(void)
+{
+ return bSymbolsLoaded;
+}
+/*--------------------------------------------------------------------------*/ \ No newline at end of file
diff --git a/modules/jvm/src/c/JVM_commons.h b/modules/jvm/src/c/JVM_commons.h
new file mode 100755
index 000000000..c3556bb4e
--- /dev/null
+++ b/modules/jvm/src/c/JVM_commons.h
@@ -0,0 +1,29 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __JVM_COMMONS_H__
+#define __JVM_COMMONS_H__
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include "JVM_functions.h"
+/*--------------------------------------------------------------------------*/
+#ifdef _MSC_VER
+#define JRE_PATH "/java/jre"
+#else
+/* Always this value when we embedded JRE */
+#define JRE_PATH "/java/jre"
+#endif
+/*--------------------------------------------------------------------------*/
+#endif /* __JVM_COMMONS_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/JVM_functions.h b/modules/jvm/src/c/JVM_functions.h
new file mode 100755
index 000000000..e9892df9b
--- /dev/null
+++ b/modules/jvm/src/c/JVM_functions.h
@@ -0,0 +1,93 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __JVM_FUNCTIONS_H__
+#define __JVM_FUNCTIONS_H__
+
+#include <jni.h> /* JVM functions */
+#include "BOOL.h" /* BOOL */
+
+/**
+* Load JVM dynamic library
+* @return TRUE or FALSE
+*/
+BOOL LoadDynLibJVM(char *SCILAB_PATH);
+
+/**
+* Free JVM dynamic library
+* @return <ReturnValue> TRUE or FALSE
+*/
+BOOL FreeDynLibJVM(void);
+
+/**
+* wrapping JNI_CreateJavaVM
+* @param pvm
+* @param penv
+* @param args
+* @return <ReturnValue>
+*/
+jint SciJNI_CreateJavaVM(JavaVM **pvm, JNIEnv **penv, JavaVMInitArgs *args);
+
+/**
+* wrapping JNI_GetCreatedJavaVMs
+* @param vmBuf
+* @param BufLen
+* @param nVMs
+* @return <ReturnValue>
+*/
+jint SciJNI_GetCreatedJavaVMs(JavaVM **vmBuf, jsize BufLen, jsize *nVMs);
+
+/**
+* wrapping JNI_GetDefaultJavaVMInitArgs
+* @param args
+* @return <ReturnValue>
+*/
+jint SciJNI_GetDefaultJavaVMInitArgs(JavaVMInitArgs *args);
+
+/**
+* Check if Scilab uses embedded JRE
+* @return <ReturnValue> TRUE or FALSE
+*/
+BOOL withEmbeddedJRE(void);
+
+/**
+* search a Created JavaVM
+* @return a JavaVM or NULL (not found)
+*/
+JavaVM *FindCreatedJavaVM(char *SCILAB_PATH);
+
+/**
+* Load Functions for JVM
+* @return TRUE or FALSE
+*/
+BOOL LoadFunctionsJVM(char *filedynlib);
+
+
+/**
+ * Returns the description of the error message from the JNI return status
+ *
+ * @param status the JNI status
+ * @return The message describing the problem
+ */
+char *getJniErrorFromStatusCode(long status);
+
+/**
+* Returns if jvm symbols (JNI_GetCreatedJavaVMs, JNI_CreateJavaVM, ...) are already loaded
+* @return TRUE or FALSE
+*/
+BOOL hasJvmSymbolsLoaded(void);
+
+#endif /* __JVM_FUNCTIONS_H__ */
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/jvm/src/c/TerminateJVM.c b/modules/jvm/src/c/TerminateJVM.c
new file mode 100755
index 000000000..f71999d2a
--- /dev/null
+++ b/modules/jvm/src/c/TerminateJVM.c
@@ -0,0 +1,25 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "TerminateJVM.h"
+#include "JVM.h"
+#include "createMainScilabObject.h"
+#include "loadClasspath.h"
+/*--------------------------------------------------------------------------*/
+BOOL TerminateJVM(void)
+{
+ freeClassPathxmlDocPtr();
+ finishMainScilabObject();
+ return finishJVM();
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/addToClasspath.c b/modules/jvm/src/c/addToClasspath.c
new file mode 100755
index 000000000..20e7ce693
--- /dev/null
+++ b/modules/jvm/src/c/addToClasspath.c
@@ -0,0 +1,59 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ * Copyright (C) 2008-2008 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include <stdio.h>
+#include "addToClasspath.h"
+#include "getScilabJNIEnv.h"
+#include "../../fileio/includes/isdir.h"
+#include "../../fileio/includes/FileExist.h"
+#include "fromjava.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+BOOL addToClasspath(char *classpathstring, typeOfLoad load)
+{
+ if (classpathstring)
+ {
+ if ( isdir(classpathstring) || FileExist(classpathstring) )
+ {
+ JNIEnv * currentENV = getScilabJNIEnv();
+ if (currentENV)
+ {
+ jclass cls = NULL;
+ /* Boot loader for scilab and javasci
+ * We rely on the fact that the javasci jar has an explicit
+ * dependency on the jvm module. Class-Path in the manifest
+ */
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/jvm/ClassPath");
+
+ if (cls)
+ {
+ jmethodID mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "addFile", "(Ljava/lang/String;I)V");
+ if (mid)
+ {
+ jstring jstr = (*currentENV)->NewStringUTF(currentENV, classpathstring);
+ (*currentENV)->CallStaticObjectMethod(currentENV, cls, mid, jstr, (int)load);
+ return TRUE;
+ }
+ }
+ }
+ }
+ else
+ {
+ fprintf(stderr, _("Warning: Could not find Java package '%s'.\n"), classpathstring);
+ }
+ }
+ return FALSE;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/addToLibrarypath.c b/modules/jvm/src/c/addToLibrarypath.c
new file mode 100755
index 000000000..cbcdf0200
--- /dev/null
+++ b/modules/jvm/src/c/addToLibrarypath.c
@@ -0,0 +1,55 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include "addToLibrarypath.h"
+#include "getScilabJNIEnv.h"
+#include "isdir.h"
+#include "fromjava.h"
+#
+/*--------------------------------------------------------------------------*/
+BOOL addToLibrarypath(char *librarypathstring)
+{
+
+ if (librarypathstring)
+ {
+ if ( isdir(librarypathstring) )
+ {
+ JNIEnv * currentENV = getScilabJNIEnv();
+ if (currentENV)
+ {
+ jclass cls = NULL;
+ /* Boot loader for scilab and javasci
+ * We rely on the fact that the javasci jar has an explicit
+ * dependency on the jvm module. Class-Path in the manifest
+ */
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/jvm/LibraryPath");
+
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "addPath", "(Ljava/lang/String;)V");
+ if (mid)
+ {
+ jstring jstr;
+ jstr = (*currentENV)->NewStringUTF(currentENV, librarypathstring);
+ (*currentENV)->CallStaticObjectMethod(currentENV, cls, mid, jstr);
+ return TRUE;
+ }
+ }
+ }
+ }
+ }
+ return FALSE;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/catchIfJavaException.c b/modules/jvm/src/c/catchIfJavaException.c
new file mode 100755
index 000000000..cf977aa74
--- /dev/null
+++ b/modules/jvm/src/c/catchIfJavaException.c
@@ -0,0 +1,33 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include <string.h>
+#include "catchIfJavaException.h"
+#include "getScilabJNIEnv.h"
+/*--------------------------------------------------------------------------*/
+BOOL catchIfJavaException(char *errorMsg)
+{
+ JNIEnv * currentENV = getScilabJNIEnv();
+
+ if ((*currentENV)->ExceptionCheck(currentENV) == JNI_TRUE)
+ {
+ printf("%s", errorMsg);
+ fflush(NULL);
+ (*currentENV)->ExceptionDescribe(currentENV);
+ (*currentENV)->ExceptionClear(currentENV);
+ return FALSE;
+ }
+ return TRUE;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/createMainScilabObject.c b/modules/jvm/src/c/createMainScilabObject.c
new file mode 100755
index 000000000..9466f96bb
--- /dev/null
+++ b/modules/jvm/src/c/createMainScilabObject.c
@@ -0,0 +1,166 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ * Copyright (C) DIGITEO - 2010 - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "createMainScilabObject.h"
+#include "getScilabObject.h"
+#include "getScilabJNIEnv.h"
+#include "getScilabJavaVM.h"
+#include "catchIfJavaException.h"
+#include "scilabmode.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+static jobject ScilabObject = NULL;
+/*--------------------------------------------------------------------------*/
+BOOL createMainScilabObject(void)
+{
+ BOOL bOK = FALSE;
+ JNIEnv * currentENV = getScilabJNIEnv();
+
+ if (currentENV)
+ {
+ jclass cls = NULL;
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/core/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();
+ jobject localScilabObject = (*currentENV)->NewObject(currentENV, cls, mid, ScilabMode);
+ bOK = catchIfJavaException(_("Could not create a Scilab main class. Error:\n"));
+ if (bOK == TRUE)
+ {
+ ScilabObject = (*currentENV)->NewGlobalRef(currentENV, localScilabObject);
+ /* Catch the exception and display an human-reading error message */
+ bOK = catchIfJavaException(_("Could not create a Scilab main class. Error:\n"));
+ }
+ }
+ }
+ }
+
+ return bOK;
+}
+/*--------------------------------------------------------------------------*/
+jobject getScilabObject(void)
+{
+ return ScilabObject;
+}
+/*--------------------------------------------------------------------------*/
+BOOL finishMainScilabObject(void)
+{
+ BOOL retValue = FALSE;
+ jint result = 1;
+ JNIEnv * currentENV = getScilabJNIEnv();
+ JavaVM * currentJVM = getScilabJavaVM();
+
+ JavaVMAttachArgs args;
+ args.version = (*currentENV)->GetVersion(currentENV);
+ args.name = (char *) "Scilab - Finish";
+ args.group = NULL;
+
+ result = (*currentJVM)->AttachCurrentThread(currentJVM, (void **) &currentENV, (void*) &args) ;
+ if (result == 0)
+ {
+ jclass cls = NULL;
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/core/Scilab");
+ catchIfJavaException(_("Could not access to the Main Scilab Class:\n"));
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "executeFinalHooks", "()V");
+ if (mid)
+ {
+ (*currentENV)->CallStaticVoidMethod(currentENV, cls, mid);
+ }
+ catchIfJavaException(_("Cannot execute final hooks. Error:\n"));
+
+ (*currentENV)->DeleteGlobalRef(currentENV, ScilabObject);
+ ScilabObject = NULL;
+ retValue = TRUE;
+ }
+
+ (*currentJVM)->DetachCurrentThread(currentJVM);
+ }
+ return retValue;
+}
+/*--------------------------------------------------------------------------*/
+BOOL canCloseMainScilabObject(void)
+{
+ BOOL retValue = FALSE;
+ JNIEnv * currentENV = getScilabJNIEnv();
+ JavaVM * currentJVM = getScilabJavaVM();
+ jint result = 1;
+
+ JavaVMAttachArgs args;
+ args.version = (*currentENV)->GetVersion(currentENV);
+ args.name = (char *) "Scilab - Try finish";
+ args.group = NULL;
+
+ result = (*currentJVM)->AttachCurrentThread(currentJVM, (void **) &currentENV, (void*) &args) ;
+ if (result == 0)
+ {
+ jclass cls = NULL;
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/core/Scilab");
+ catchIfJavaException(_("Could not access to the Main Scilab Class:\n"));
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "canClose", "()Z");
+ if (mid)
+ {
+ retValue = (*currentENV)->CallStaticBooleanMethod(currentENV, cls, mid);
+ }
+ catchIfJavaException(_("Error with Scilab.canClose():\n"));
+ }
+
+ (*currentJVM)->DetachCurrentThread(currentJVM);
+ }
+
+ return retValue;
+}
+/*--------------------------------------------------------------------------*/
+void forceCloseMainScilabObject(void)
+{
+ JNIEnv * currentENV = getScilabJNIEnv();
+ JavaVM * currentJVM = getScilabJavaVM();
+ jint result = 1;
+
+ JavaVMAttachArgs args;
+ args.version = (*currentENV)->GetVersion(currentENV);
+ args.name = (char *) "Scilab - Force finish";
+ args.group = NULL;
+
+ result = (*currentJVM)->AttachCurrentThread(currentJVM, (void **) &currentENV, (void*) &args) ;
+ if (result == 0)
+ {
+ jclass cls = NULL;
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/core/Scilab");
+ catchIfJavaException(_("Could not access to the Main Scilab Class:\n"));
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "forceClose", "()V");
+ if (mid)
+ {
+ (*currentENV)->CallStaticVoidMethod(currentENV, cls, mid);
+ }
+ catchIfJavaException(_("Error with Scilab.forceClose():\n"));
+ }
+ }
+}
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/jvm/src/c/createMainScilabObject.h b/modules/jvm/src/c/createMainScilabObject.h
new file mode 100755
index 000000000..20a10e7b7
--- /dev/null
+++ b/modules/jvm/src/c/createMainScilabObject.h
@@ -0,0 +1,34 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#ifndef __CREATEMAINSCILABOBJECT_H__
+#define __CREATEMAINSCILABOBJECT_H__
+
+#include "BOOL.h" /* BOOL */
+
+/**
+* Create Scilab object (scilab main java)
+* @return TRUE or FALSE
+*/
+BOOL createMainScilabObject(void);
+
+BOOL finishMainScilabObject(void);
+
+BOOL executeInitialHooks(void);
+
+BOOL canCloseMainScilabObject(void);
+
+void forceCloseMainScilabObject(void);
+
+#endif /* __CREATEMAINSCILABOBJECT_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/getClasspath.c b/modules/jvm/src/c/getClasspath.c
new file mode 100755
index 000000000..89f046a2e
--- /dev/null
+++ b/modules/jvm/src/c/getClasspath.c
@@ -0,0 +1,94 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include <string.h>
+#include "getClasspath.h"
+#include "getScilabJNIEnv.h"
+#include "fromjava.h"
+#include "MALLOC.h"
+/*--------------------------------------------------------------------------*/
+char **getClasspath(int *sizeClasspathArray)
+{
+ char **ClasspathArray = NULL;
+ JNIEnv * currentENV = getScilabJNIEnv();
+ if (currentENV)
+ {
+ jclass cls = NULL;
+ if (IsFromJava())
+ {
+ /* Boot loader for scilab and javasci */
+ /* if scilab is called from java (javasci), we need to update standard classpath */
+ /* doesn't require to add -cp SCI/modules/jvm/jar/org.scilab.modules.jvm.jar when you use javasci */
+ cls = (*currentENV)->FindClass(currentENV, "javasci/ClassPath");
+ }
+ else
+ {
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/jvm/ClassPath");
+ }
+
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "getClassPath", "()[Ljava/lang/String;");
+ if (mid)
+ {
+ jobjectArray jStrings = (*currentENV)->CallStaticObjectMethod(currentENV, cls, mid, NULL);
+ *sizeClasspathArray = (*currentENV)->GetArrayLength(currentENV, jStrings);
+ if (*sizeClasspathArray > 0)
+ {
+ int i = 0;
+
+ ClasspathArray = (char**)MALLOC(sizeof(char*) * (*sizeClasspathArray));
+ for (i = 0; i < *sizeClasspathArray; i++)
+ {
+ jstring jelement;
+ const char *str = NULL;
+ char *string = NULL;
+
+ jelement = (jstring)(*currentENV)->GetObjectArrayElement(currentENV, jStrings, i);
+ str = (*currentENV)->GetStringUTFChars(currentENV, jelement, 0);
+ if (str)
+ {
+ string = (char*)MALLOC(sizeof(char) * (strlen(str) + 1));
+ if (string)
+ {
+#if _MSC_VER
+ if (strlen(str) > 1)
+ {
+ if (str[0] == '/')
+ {
+ strcpy(string, &str[1]);
+ }
+ else
+ {
+ strcpy(string, str);
+ }
+ }
+ else
+#endif
+ {
+ strcpy(string, str);
+ }
+ }
+ }
+ ClasspathArray[i] = string;
+ (*currentENV)->ReleaseStringUTFChars(currentENV, jelement, str);
+ }
+ }
+ }
+ }
+ }
+ return ClasspathArray;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/getClasspath.h b/modules/jvm/src/c/getClasspath.h
new file mode 100755
index 000000000..56a2a29b6
--- /dev/null
+++ b/modules/jvm/src/c/getClasspath.h
@@ -0,0 +1,25 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#ifndef __GETCLASSPATH_H__
+#define __GETCLASSPATH_H__
+
+/**
+* get classpath
+* @param return size of Classpath Array
+* @return char ** Classpath Array
+*/
+char **getClasspath(int *sizeClasspathArray);
+
+#endif /* __GETCLASSPATH_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/getJvmOptions.c b/modules/jvm/src/c/getJvmOptions.c
new file mode 100755
index 000000000..1dc0917a6
--- /dev/null
+++ b/modules/jvm/src/c/getJvmOptions.c
@@ -0,0 +1,217 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <stdlib.h>
+#include <libxml/xpath.h>
+#include <libxml/xmlreader.h>
+#include "getJvmOptions.h"
+#include "GetXmlFileEncoding.h"
+#include "MALLOC.h"
+#include "localization.h"
+#include "machine.h"
+#include "stricmp.h"
+#include "FileExist.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+#include "strsubst.h"
+#include "getos.h"
+#include "getshortpathname.h"
+#include "BOOL.h"
+#include "getScilabPreference.h"
+
+static char * getJavaHeapSize(void);
+/*--------------------------------------------------------------------------*/
+JavaVMOption * getJvmOptions(char *SCI_PATH, char *filename_xml_conf, int *size_JavaVMOption)
+{
+ if ( FileExist(filename_xml_conf) )
+ {
+ JavaVMOption *jvm_options = NULL;
+ char *encoding = GetXmlFileEncoding(filename_xml_conf);
+
+ /* Don't care about line return / empty line */
+ xmlKeepBlanksDefault(0);
+ /* check if the XML file has been encoded with utf8 (unicode) or not */
+ if (stricmp("utf-8", encoding) == 0)
+ {
+ xmlDocPtr doc = NULL;
+ xmlXPathContextPtr xpathCtxt = NULL;
+ xmlXPathObjectPtr xpathObj = NULL;
+ char *jvm_option_string = NULL;
+ char *xpath_query = NULL;
+
+ int indice = 0;
+ {
+ BOOL bConvert = FALSE;
+ char *shortfilename_xml_conf = getshortpathname(filename_xml_conf, &bConvert);
+ if (shortfilename_xml_conf)
+ {
+ doc = xmlParseFile (shortfilename_xml_conf);
+ FREE(shortfilename_xml_conf);
+ shortfilename_xml_conf = NULL;
+ }
+ }
+
+ if (doc == NULL)
+ {
+ fprintf(stderr, _("Error: Could not parse file %s.\n"), filename_xml_conf);
+ if (encoding)
+ {
+ FREE(encoding);
+ encoding = NULL;
+ }
+ *size_JavaVMOption = 0;
+ return NULL;
+ }
+
+ xpathCtxt = xmlXPathNewContext(doc);
+ /* Retrieve all nodes without the os tag + only the one from our operating system */
+#define XPATH_QUERY "//jvm_options/option[not(@os)] | //jvm_options/option[@os='%s']"
+
+ xpath_query = (char *)MALLOC(sizeof(char) * ((int)strlen(XPATH_QUERY) + (int)strlen(OSNAME) + 1));
+ sprintf(xpath_query, XPATH_QUERY, OSNAME);
+
+ xpathObj = xmlXPathEval((const xmlChar*)xpath_query, xpathCtxt);
+ FREE(xpath_query);
+ if (xpathObj && xpathObj->nodesetval->nodeMax)
+ {
+ /* the Xpath has been understood and there are node */
+ int i;
+ char heapSizeUsed = 0;
+ char *heapSize = getJavaHeapSize();
+
+ for (i = 0; i < xpathObj->nodesetval->nodeNr; i++)
+ {
+
+ xmlAttrPtr attrib = xpathObj->nodesetval->nodeTab[i]->properties;
+ /* Get the properties of <option> */
+ while (attrib != NULL)
+ {
+ /* loop until when have read all the attributes */
+ if (xmlStrEqual (attrib->name, (const xmlChar*) "value"))
+ {
+ /* we found the tag name */
+ const char *str = (const char*)attrib->children->content;
+ if (strstr(str, "-Xmx") == str && heapSize)
+ {
+ jvm_option_string = heapSize;
+ heapSizeUsed = 1;
+ }
+ else
+ {
+ jvm_option_string = strdup(str);
+ }
+ }
+ attrib = attrib->next;
+ }
+
+ if ( (jvm_option_string) && (strlen(jvm_option_string) > 0) )
+ {
+ char *option_string_path_separator = NULL;
+ char *option_string_sci_path = NULL;
+
+ option_string_path_separator = strsub(jvm_option_string, "$PATH_SEPARATOR", PATH_SEPARATOR);
+
+ if (jvm_option_string)
+ {
+ FREE(jvm_option_string);
+ }
+
+ option_string_sci_path = strsub(option_string_path_separator, "$SCILAB", SCI_PATH);
+ if (option_string_sci_path)
+ {
+ FREE(option_string_path_separator);
+ }
+
+ jvm_options = (JavaVMOption *)REALLOC(jvm_options, sizeof(JavaVMOption) * (indice + 1));
+ jvm_options[indice].optionString = option_string_sci_path;
+ indice++;
+ }
+
+ }
+
+ if (!heapSizeUsed)
+ {
+ FREE(heapSize);
+ }
+ }
+
+ if (xpathObj)
+ {
+ xmlXPathFreeObject(xpathObj);
+ }
+ if (xpathCtxt)
+ {
+ xmlXPathFreeContext(xpathCtxt);
+ }
+ xmlFreeDoc (doc);
+
+ /* xmlCleanupParser is called in
+ * modules/core/src/c/TerminateCore.c
+ * since it needs to be done only once.
+ */
+
+ if (getenv("SCI_JAVA_ENABLE_HEADLESS") != NULL)
+ {
+ /* When Scilab is built from a virtual machine, it needs
+ * an X11 server / input
+ * This is only called by "make doc" by the SCI/Makefile.am
+ */
+#define HEADLESS "-Djava.awt.headless=true"
+ jvm_options = (JavaVMOption *)REALLOC(jvm_options, sizeof(JavaVMOption) * (indice + 1));
+ jvm_options[indice].optionString = MALLOC((strlen(HEADLESS) + 1) * sizeof(char));
+ strcpy(jvm_options[indice].optionString, HEADLESS);
+ indice++;
+#undef HEADLESS
+ }
+
+ if (encoding)
+ {
+ FREE(encoding);
+ encoding = NULL;
+ }
+
+ *size_JavaVMOption = indice;
+ return jvm_options;
+ }
+ else
+ {
+ fprintf(stderr, _("Error: Not a valid configuration file %s (encoding not '%s') Encoding '%s' found.\n"), filename_xml_conf, "utf-8", encoding);
+ }
+ if (encoding)
+ {
+ FREE(encoding);
+ encoding = NULL;
+ }
+ }
+ return NULL;
+}
+/*--------------------------------------------------------------------------*/
+char * getJavaHeapSize(void)
+{
+ const char * value = getScilabPreferences()->heapSize;
+ char * rvalue = NULL;
+ int ivalue;
+
+ if (value)
+ {
+ ivalue = (int)atof(value);
+ if (ivalue > 0)
+ {
+ rvalue = (char *)MALLOC(24 * sizeof(char));
+ sprintf(rvalue, "-Xmx%dm", ivalue);
+ }
+ }
+
+ return rvalue;
+}
diff --git a/modules/jvm/src/c/getJvmOptions.h b/modules/jvm/src/c/getJvmOptions.h
new file mode 100755
index 000000000..9416f0413
--- /dev/null
+++ b/modules/jvm/src/c/getJvmOptions.h
@@ -0,0 +1,18 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+
+JavaVMOption * getJvmOptions(char *SCI_PATH, char *filename_xml_conf, int *size_JavaVMOption);
+
+/*--------------------------------------------------------------------------*/ \ No newline at end of file
diff --git a/modules/jvm/src/c/getLibrarypath.c b/modules/jvm/src/c/getLibrarypath.c
new file mode 100755
index 000000000..fea9461d8
--- /dev/null
+++ b/modules/jvm/src/c/getLibrarypath.c
@@ -0,0 +1,74 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include <string.h>
+#include "getLibrarypath.h"
+#include "getScilabJNIEnv.h"
+#include "fromjava.h"
+#include "MALLOC.h"
+/*--------------------------------------------------------------------------*/
+char **getLibrarypath(int *sizeLibrarypathArray)
+{
+ char **LibrarypathArray = NULL;
+ JNIEnv * currentENV = getScilabJNIEnv();
+ if (currentENV)
+ {
+ jclass cls = NULL;
+ if (IsFromJava())
+ {
+ /* Boot loader for scilab and javasci */
+ /* if scilab is called from java (javasci), we need to update standard java.library.path */
+ /* doesn't require to add -cp SCI/modules/jvm/jar/org.scilab.modules.jvm.jar when you use javasci */
+ cls = (*currentENV)->FindClass(currentENV, "javasci/LibraryPath");
+ }
+ else
+ {
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/jvm/LibraryPath");
+ }
+
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "getLibraryPath", "()[Ljava/lang/String;");
+ if (mid)
+ {
+ jobjectArray jStrings;
+
+ jStrings = (*currentENV)->CallStaticObjectMethod(currentENV, cls, mid, NULL);
+ *sizeLibrarypathArray = (*currentENV)->GetArrayLength(currentENV, jStrings);
+ if (*sizeLibrarypathArray > 0)
+ {
+ int i = 0;
+
+ LibrarypathArray = (char**)MALLOC(sizeof(char*) * (*sizeLibrarypathArray));
+ for (i = 0; i < *sizeLibrarypathArray; i++)
+ {
+ jstring jelement;
+ const char *str = NULL;
+ char *string = NULL;
+
+ jelement = (jstring)(*currentENV)->GetObjectArrayElement(currentENV, jStrings, i);
+ str = (*currentENV)->GetStringUTFChars(currentENV, jelement, 0);
+ string = (char*)MALLOC(sizeof(char) * (strlen(str) + 1));
+ strcpy(string, str);
+ LibrarypathArray[i] = string;
+ (*currentENV)->ReleaseStringUTFChars(currentENV, jelement, str);
+ }
+ }
+ }
+ }
+ }
+ return LibrarypathArray;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/getLibrarypath.h b/modules/jvm/src/c/getLibrarypath.h
new file mode 100755
index 000000000..a15fc702b
--- /dev/null
+++ b/modules/jvm/src/c/getLibrarypath.h
@@ -0,0 +1,25 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#ifndef __GETLIBRARYPATH_H__
+#define __GETLIBRARYPATH_H__
+
+/**
+* get java.library.path
+* @param return size of Librarypath Array
+* @return char ** Classpath Array
+*/
+char **getLibrarypath(int *sizeLibrarypathArray);
+
+#endif /* __GETLIBRARYPATH_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/libjvm.rc b/modules/jvm/src/c/libjvm.rc
new file mode 100755
index 000000000..c186c2f67
--- /dev/null
+++ b/modules/jvm/src/c/libjvm.rc
@@ -0,0 +1,97 @@
+// Microsoft Visual C++ generated resource script.
+//
+
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+//#include "afxres.h"
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// French (France) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
+#ifdef _WIN32
+LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 5,5,2,0
+ PRODUCTVERSION 5,5,2,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x0L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040c04b0"
+ BEGIN
+ VALUE "CompanyName", "Scilab"
+ VALUE "FileDescription", "jvm module"
+ VALUE "FileVersion", "5, 5, 2, 0"
+ VALUE "InternalName", "jvm"
+ VALUE "LegalCopyright", "Copyright (C) 2017"
+ VALUE "OriginalFilename", "libjvm.dll"
+ VALUE "ProductName", "jvm"
+ VALUE "ProductVersion", "5, 5, 2, 0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x40c, 1200
+ END
+END
+
+#endif // French (France) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-InitializeJVM.lo b/modules/jvm/src/c/libscijvm_algo_la-InitializeJVM.lo
new file mode 100755
index 000000000..d68708e0b
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-InitializeJVM.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-InitializeJVM.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-InitializeJVM.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-JVM.lo b/modules/jvm/src/c/libscijvm_algo_la-JVM.lo
new file mode 100755
index 000000000..736a6f209
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-JVM.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-JVM.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-JVM.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-JVM_Unix.lo b/modules/jvm/src/c/libscijvm_algo_la-JVM_Unix.lo
new file mode 100755
index 000000000..e48a69656
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-JVM_Unix.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-JVM_Unix.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-JVM_Unix.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-JVM_commons.lo b/modules/jvm/src/c/libscijvm_algo_la-JVM_commons.lo
new file mode 100755
index 000000000..440ae59b0
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-JVM_commons.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-JVM_commons.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-JVM_commons.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-TerminateJVM.lo b/modules/jvm/src/c/libscijvm_algo_la-TerminateJVM.lo
new file mode 100755
index 000000000..707dd63a0
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-TerminateJVM.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-TerminateJVM.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-TerminateJVM.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-addToClasspath.lo b/modules/jvm/src/c/libscijvm_algo_la-addToClasspath.lo
new file mode 100755
index 000000000..43ce708d5
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-addToClasspath.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-addToClasspath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-addToClasspath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-addToLibrarypath.lo b/modules/jvm/src/c/libscijvm_algo_la-addToLibrarypath.lo
new file mode 100755
index 000000000..e3e819f95
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-addToLibrarypath.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-addToLibrarypath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-addToLibrarypath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-catchIfJavaException.lo b/modules/jvm/src/c/libscijvm_algo_la-catchIfJavaException.lo
new file mode 100755
index 000000000..58eef2efa
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-catchIfJavaException.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-catchIfJavaException.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-catchIfJavaException.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-createMainScilabObject.lo b/modules/jvm/src/c/libscijvm_algo_la-createMainScilabObject.lo
new file mode 100755
index 000000000..b61f97b80
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-createMainScilabObject.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-createMainScilabObject.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-createMainScilabObject.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-getClasspath.lo b/modules/jvm/src/c/libscijvm_algo_la-getClasspath.lo
new file mode 100755
index 000000000..8314fd3f7
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-getClasspath.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-getClasspath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-getClasspath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-getJvmOptions.lo b/modules/jvm/src/c/libscijvm_algo_la-getJvmOptions.lo
new file mode 100755
index 000000000..9cd92d917
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-getJvmOptions.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-getJvmOptions.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-getJvmOptions.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-getLibrarypath.lo b/modules/jvm/src/c/libscijvm_algo_la-getLibrarypath.lo
new file mode 100755
index 000000000..9b0440f7e
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-getLibrarypath.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-getLibrarypath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-getLibrarypath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-loadBackGroundClassPath.lo b/modules/jvm/src/c/libscijvm_algo_la-loadBackGroundClassPath.lo
new file mode 100755
index 000000000..ba11cbc12
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-loadBackGroundClassPath.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-loadBackGroundClassPath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-loadBackGroundClassPath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-loadClasspath.lo b/modules/jvm/src/c/libscijvm_algo_la-loadClasspath.lo
new file mode 100755
index 000000000..b65482597
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-loadClasspath.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-loadClasspath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-loadClasspath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-loadLibrarypath.lo b/modules/jvm/src/c/libscijvm_algo_la-loadLibrarypath.lo
new file mode 100755
index 000000000..bf7a1acb9
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-loadLibrarypath.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-loadLibrarypath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-loadLibrarypath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-loadOnUseClassPath.lo b/modules/jvm/src/c/libscijvm_algo_la-loadOnUseClassPath.lo
new file mode 100755
index 000000000..5ae1650e6
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-loadOnUseClassPath.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-loadOnUseClassPath.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-loadOnUseClassPath.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-system_getproperty.lo b/modules/jvm/src/c/libscijvm_algo_la-system_getproperty.lo
new file mode 100755
index 000000000..965f7cfd5
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-system_getproperty.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-system_getproperty.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-system_getproperty.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/libscijvm_algo_la-system_setproperty.lo b/modules/jvm/src/c/libscijvm_algo_la-system_setproperty.lo
new file mode 100755
index 000000000..e78802761
--- /dev/null
+++ b/modules/jvm/src/c/libscijvm_algo_la-system_setproperty.lo
@@ -0,0 +1,12 @@
+# src/c/libscijvm_algo_la-system_setproperty.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_algo_la-system_setproperty.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/c/loadBackGroundClassPath.c b/modules/jvm/src/c/loadBackGroundClassPath.c
new file mode 100755
index 000000000..3d53c8ce6
--- /dev/null
+++ b/modules/jvm/src/c/loadBackGroundClassPath.c
@@ -0,0 +1,43 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include <stdio.h>
+#include "loadBackGroundClassPath.h"
+#include "addToClasspath.h"
+#include "getScilabJNIEnv.h"
+#include "fromjava.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+BOOL loadBackGroundClassPath(void)
+{
+ JNIEnv * currentENV = getScilabJNIEnv();
+ if (currentENV)
+ {
+ jclass cls = NULL;
+ cls = (*currentENV)->FindClass(currentENV, "org/scilab/modules/jvm/ClassPath");
+
+ if (cls)
+ {
+ jmethodID mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "loadBackGroundClassPath", "()V");
+ if (mid)
+ {
+ (*currentENV)->CallStaticObjectMethod(currentENV, cls, mid);
+ return TRUE;
+ }
+ }
+ }
+
+ return FALSE;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/loadClasspath.c b/modules/jvm/src/c/loadClasspath.c
new file mode 100755
index 000000000..071545318
--- /dev/null
+++ b/modules/jvm/src/c/loadClasspath.c
@@ -0,0 +1,223 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ * Copyright (C) 2008-2008 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <libxml/xpath.h>
+#include <libxml/xmlreader.h>
+#include <stdio.h>
+#include <string.h>
+#include "loadClasspath.h"
+#include "GetXmlFileEncoding.h"
+#include "FileExist.h"
+#include "addToClasspath.h"
+#include "setgetSCIpath.h"
+#include "MALLOC.h"
+#include "localization.h"
+#include "scilabmode.h"
+#include "stricmp.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+#include "getshortpathname.h"
+#include "BOOL.h"
+/*--------------------------------------------------------------------------*/
+static xmlDocPtr ClassPathxmlDocPtr = NULL;
+/*--------------------------------------------------------------------------*/
+xmlDocPtr getClassPathxmlDocPtr(void)
+{
+ return ClassPathxmlDocPtr;
+}
+/*--------------------------------------------------------------------------*/
+void freeClassPathxmlDocPtr(void)
+{
+ if (ClassPathxmlDocPtr)
+ {
+ xmlFreeDoc (ClassPathxmlDocPtr);
+ ClassPathxmlDocPtr = NULL;
+ }
+}
+/*--------------------------------------------------------------------------*/
+BOOL LoadClasspath(char *xmlfilename)
+{
+ BOOL bOK = FALSE;
+ BOOL errorOnLoad = FALSE;
+ if ( FileExist(xmlfilename) )
+ {
+ char *encoding = GetXmlFileEncoding(xmlfilename);
+
+ /* Don't care about line return / empty line */
+ xmlKeepBlanksDefault(0);
+ /* check if the XML file has been encoded with utf8 (unicode) or not */
+ if ( stricmp("utf-8", encoding) == 0 )
+ {
+ xmlXPathContextPtr xpathCtxt = NULL;
+ xmlXPathObjectPtr xpathObj = NULL;
+ char *classpath = NULL;
+ char *load = "";
+ typeOfLoad eLoad = STARTUP;
+ char *currentMode = getScilabModeString();
+ /* Xpath Query :
+ * Retrieve all the path which are not disabled in our mode
+ */
+#define XPATH "//classpaths/path[not(@disableUnderMode='%s')]"
+ char * XPath = (char*)MALLOC(sizeof(char) * (strlen(XPATH) + strlen(currentMode) - 2 + 1)); /* -2 = strlen(%s) */
+ sprintf(XPath, XPATH, currentMode);
+
+ {
+ BOOL bConvert = FALSE;
+ char *shortxmlfilename = getshortpathname(xmlfilename, &bConvert);
+ if (shortxmlfilename)
+ {
+ ClassPathxmlDocPtr = xmlParseFile (shortxmlfilename);
+ FREE(shortxmlfilename);
+ shortxmlfilename = NULL;
+ }
+ }
+
+ if (ClassPathxmlDocPtr == NULL)
+ {
+ fprintf(stderr, _("Error: could not parse file %s\n"), xmlfilename);
+ if (encoding)
+ {
+ FREE(encoding);
+ encoding = NULL;
+ }
+ return bOK;
+ }
+
+ xpathCtxt = xmlXPathNewContext(ClassPathxmlDocPtr);
+ xpathObj = xmlXPathEval((const xmlChar*)XPath, xpathCtxt);
+
+ if (xpathObj && xpathObj->nodesetval->nodeMax)
+ {
+ /* the Xpath has been understood and there are node */
+ int i;
+ for (i = 0; i < xpathObj->nodesetval->nodeNr; i++)
+ {
+
+ xmlAttrPtr attrib = xpathObj->nodesetval->nodeTab[i]->properties;
+ /* Get the properties of <path> */
+ while (attrib != NULL)
+ {
+ /* loop until when have read all the attributes */
+ if (xmlStrEqual (attrib->name, (const xmlChar*) "value"))
+ {
+ /* we found the tag value */
+ classpath = (char*)attrib->children->content;
+ }
+ if (xmlStrEqual (attrib->name, (const xmlChar*) "load"))
+ {
+ /* we found the tag load */
+ load = (char*)attrib->children->content;
+
+ /* By default, it is startup */
+ if (stricmp(load, "background") == 0)
+ {
+ eLoad = BACKGROUND;
+ }
+ else
+ {
+ if (stricmp(load, "onuse") == 0)
+ {
+ eLoad = ONUSE;
+ }
+ }
+ }
+ else
+ {
+ eLoad = STARTUP;
+ }
+ attrib = attrib->next;
+ }
+
+ if ( (classpath) && (strlen(classpath) > 0) && (strncmp(classpath, "@", 1) != 0) ) /* If it starts by a @ that means it hasn't been able to find it... which is normal... for example with the documentation */
+ {
+#define KEYWORDSCILAB "$SCILAB"
+ char *sciPath = getSCIpath();
+ char *FullClasspath = NULL;
+
+ if (strncmp(classpath, KEYWORDSCILAB, strlen(KEYWORDSCILAB)) == 0)
+ {
+ FullClasspath = (char*)MALLOC(sizeof(char) * (strlen(sciPath) + strlen(classpath) + 1));
+ if (FullClasspath)
+ {
+ strcpy(FullClasspath, sciPath);
+ strcat(FullClasspath, &classpath[strlen(KEYWORDSCILAB)]);
+ }
+ }
+ else
+ {
+ FullClasspath = strdup(classpath);
+ }
+
+ if (FullClasspath)
+ {
+ if (!addToClasspath(FullClasspath, eLoad))
+ {
+ errorOnLoad = TRUE;
+ }
+ FREE(FullClasspath);
+ FullClasspath = NULL;
+ }
+
+ if (sciPath)
+ {
+ FREE(sciPath);
+ sciPath = NULL;
+ }
+ classpath = NULL;
+ }
+ }
+ bOK = TRUE;
+ }
+ else
+ {
+ fprintf(stderr, _("Wrong format for %s.\n"), xmlfilename);
+ }
+
+ if (xpathObj)
+ {
+ xmlXPathFreeObject(xpathObj);
+ }
+ if (xpathCtxt)
+ {
+ xmlXPathFreeContext(xpathCtxt);
+ }
+ if (XPath)
+ {
+ FREE(XPath);
+ XPath = NULL;
+ }
+ }
+ else
+ {
+ fprintf(stderr, _("Error : Not a valid classpath file %s (encoding not 'utf-8') Encoding '%s' found\n"), xmlfilename, encoding);
+ }
+ if (encoding)
+ {
+ FREE(encoding);
+ encoding = NULL;
+ }
+ }
+ else
+ {
+ fprintf(stderr, _("Warning: could not find classpath declaration file %s.\n"), xmlfilename);
+ }
+ if (errorOnLoad)
+ {
+ fprintf(stderr, _("Some problems during the loading of the Java libraries occurred.\nThis could lead to inconsistent behaviours.\nPlease check SCI/etc/classpath.xml.\n"));
+ }
+
+ return bOK;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/loadClasspath.h b/modules/jvm/src/c/loadClasspath.h
new file mode 100755
index 000000000..e1b4c0beb
--- /dev/null
+++ b/modules/jvm/src/c/loadClasspath.h
@@ -0,0 +1,42 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __LOADCLASSPATH_H__
+#define __LOADCLASSPATH_H__
+
+#include <libxml/xmlreader.h>
+
+#include "BOOL.h" /* BOOL */
+
+/**
+* add paths to CLASSPATH
+* @param a filename SCI/etc/classpath.xml
+* @return TRUE or FALSE
+*/
+BOOL LoadClasspath(char *xmlfilename);
+
+
+/**
+* returns xmlDocPtr of classpath.xml
+* @return xmlDocPtr
+*/
+xmlDocPtr getClassPathxmlDocPtr(void);
+
+/**
+* free xmlDocPtr of classpath.xml
+*/
+void freeClassPathxmlDocPtr(void);
+
+#endif /* __LOADCLASSPATH_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/loadLibrarypath.c b/modules/jvm/src/c/loadLibrarypath.c
new file mode 100755
index 000000000..84fc96b51
--- /dev/null
+++ b/modules/jvm/src/c/loadLibrarypath.c
@@ -0,0 +1,157 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <libxml/xpath.h>
+#include <libxml/xmlreader.h>
+#include <stdio.h>
+#include "loadLibrarypath.h"
+#include "GetXmlFileEncoding.h"
+#include "FileExist.h"
+#include "addToLibrarypath.h"
+#include "setgetSCIpath.h"
+#include "MALLOC.h"
+#include "localization.h"
+#include "stricmp.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+#include "BOOL.h"
+#include "getshortpathname.h"
+/*--------------------------------------------------------------------------*/
+BOOL LoadLibrarypath(char *xmlfilename)
+{
+ BOOL bOK = FALSE;
+ if ( FileExist(xmlfilename) )
+ {
+ char *encoding = GetXmlFileEncoding(xmlfilename);
+
+ /* Don't care about line return / empty line */
+ xmlKeepBlanksDefault(0);
+ /* check if the XML file has been encoded with utf8 (unicode) or not */
+ if ( stricmp("utf-8", encoding) == 0 )
+ {
+ xmlDocPtr doc = NULL;
+ xmlXPathContextPtr xpathCtxt = NULL;
+ xmlXPathObjectPtr xpathObj = NULL;
+ char *libraryPath = NULL;
+
+ {
+ BOOL bConvert = FALSE;
+ char *shortxmlfilename = getshortpathname(xmlfilename, &bConvert);
+ if (shortxmlfilename)
+ {
+ doc = xmlParseFile (shortxmlfilename);
+ FREE(shortxmlfilename);
+ shortxmlfilename = NULL;
+ }
+ }
+
+ if (doc == NULL)
+ {
+ fprintf(stderr, _("Error: could not parse file %s\n"), xmlfilename);
+ if (encoding)
+ {
+ FREE(encoding);
+ encoding = NULL;
+ }
+ return bOK;
+ }
+
+ xpathCtxt = xmlXPathNewContext(doc);
+ xpathObj = xmlXPathEval((const xmlChar*)"//librarypaths/path", xpathCtxt);
+
+ if (xpathObj && xpathObj->nodesetval->nodeMax)
+ {
+ /* the Xpath has been understood and there are node */
+ int i;
+ for (i = 0; i < xpathObj->nodesetval->nodeNr; i++)
+ {
+ xmlAttrPtr attrib = xpathObj->nodesetval->nodeTab[i]->properties;
+ /* Get the properties of <path> */
+ while (attrib != NULL)
+ {
+ /* loop until when have read all the attributes */
+ if (xmlStrEqual (attrib->name, (const xmlChar*) "value"))
+ {
+ /* we found the tag value */
+ libraryPath = (char*)attrib->children->content;
+ }
+ attrib = attrib->next;
+ }
+
+ if ( (libraryPath) && (strlen(libraryPath) > 0) )
+ {
+#define KEYWORDSCILAB "$SCILAB"
+ char *FullLibrarypath = NULL;
+ char *sciPath = getSCIpath();
+
+ if (strncmp(libraryPath, KEYWORDSCILAB, strlen(KEYWORDSCILAB)) == 0)
+ {
+ FullLibrarypath = (char*)MALLOC(sizeof(char) * (strlen(sciPath) + strlen(libraryPath) + 1));
+ if (FullLibrarypath)
+ {
+ strcpy(FullLibrarypath, sciPath);
+ strcat(FullLibrarypath, &libraryPath[strlen(KEYWORDSCILAB)]);
+ }
+ }
+ else
+ {
+ FullLibrarypath = strdup(libraryPath);
+ }
+
+
+ if (FullLibrarypath)
+ {
+ addToLibrarypath(FullLibrarypath);
+ FREE(FullLibrarypath);
+ FullLibrarypath = NULL;
+ }
+
+ if (sciPath)
+ {
+ FREE(sciPath);
+ sciPath = NULL;
+ }
+ libraryPath = NULL;
+ }
+ }
+ bOK = TRUE;
+ }
+ else
+ {
+ fprintf(stderr, _("Wrong format for %s.\n"), xmlfilename);
+ }
+
+ if (xpathObj)
+ {
+ xmlXPathFreeObject(xpathObj);
+ }
+ if (xpathCtxt)
+ {
+ xmlXPathFreeContext(xpathCtxt);
+ }
+ xmlFreeDoc (doc);
+ }
+ else
+ {
+ fprintf(stderr, _("Error : Not a valid path file %s (encoding not 'utf-8') Encoding '%s' found\n"), xmlfilename, encoding);
+ }
+ if (encoding)
+ {
+ FREE(encoding);
+ encoding = NULL;
+ }
+ }
+ return bOK;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/loadLibrarypath.h b/modules/jvm/src/c/loadLibrarypath.h
new file mode 100755
index 000000000..f529a311d
--- /dev/null
+++ b/modules/jvm/src/c/loadLibrarypath.h
@@ -0,0 +1,28 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __LOADLIBRARYPATH_H__
+#define __LOADLIBRARYPATH_H__
+
+#include "BOOL.h" /* BOOL */
+
+/**
+* add paths to java.library.path
+* @param a filename SCI/etc/librarypath.xml
+* @return TRUE or FALSE
+*/
+BOOL LoadLibrarypath(char *xmlfilename);
+
+#endif /* __LOADLIBRARYPATH_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/loadOnUseClassPath.c b/modules/jvm/src/c/loadOnUseClassPath.c
new file mode 100755
index 000000000..75c28d6b5
--- /dev/null
+++ b/modules/jvm/src/c/loadOnUseClassPath.c
@@ -0,0 +1,151 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include <stdio.h>
+#include <libxml/xpath.h>
+#include <libxml/xmlreader.h>
+#include "MALLOC.h"
+#include "scilabDefaults.h"
+#include "getScilabJNIEnv.h"
+#include "localization.h"
+#include "setgetSCIpath.h"
+#include "stricmp.h"
+#include "addToClasspath.h"
+#include "loadOnUseClassPath.h"
+#include "loadClasspath.h"
+#include "FileExist.h"
+#include "GetXmlFileEncoding.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+/*--------------------------------------------------------------------------*/
+BOOL loadOnUseClassPath(char const* tag)
+{
+ BOOL bOK = FALSE;
+ char *sciPath = getSCIpath();
+
+ char *classpathfile = (char*)MALLOC(sizeof(char) * (strlen(sciPath) + strlen(XMLCLASSPATH) + 1));
+
+ sprintf(classpathfile, XMLCLASSPATH, sciPath);
+
+ // Load the XML
+ if ( FileExist(classpathfile) )
+ {
+ xmlXPathContextPtr xpathCtxt = NULL;
+ xmlXPathObjectPtr xpathObj = NULL;
+ xmlDocPtr doc = NULL;
+
+ char * XPath = NULL;
+
+ /*
+ * Xpath query: Retrieve all nodes what have the property
+ * load="onUse" and the tag we are looking for
+ */
+#define XPATH "//classpaths/path[@load='onUse']/load[@on='%s']"
+ XPath = (char*)MALLOC(sizeof(char) * (strlen(XPATH) + strlen(tag) - 2 + 1)); /* -2 = strlen(%s) */
+ sprintf(XPath, XPATH, tag);
+
+ doc = getClassPathxmlDocPtr();
+
+ if (doc == NULL)
+ {
+ fprintf(stderr, _("Error: could not parse file %s\n"), classpathfile);
+ if (XPath)
+ {
+ FREE(XPath);
+ XPath = NULL;
+ }
+ return bOK;
+ }
+
+ xpathCtxt = xmlXPathNewContext(doc);
+ // Look for all the tag which matches
+ xpathObj = xmlXPathEval((const xmlChar*)XPath, xpathCtxt);
+ if (xpathObj && xpathObj->nodesetval->nodeMax)
+ {
+ /* the Xpath has been understood and there are node */
+ int i;
+ for (i = 0; i < xpathObj->nodesetval->nodeNr; i++)
+ {
+ xmlAttrPtr attrib = xpathObj->nodesetval->nodeTab[i]->parent->properties;
+ while (attrib != NULL)
+ {
+ /* loop until when have read all the attributes */
+ if (xmlStrEqual (attrib->name, (const xmlChar*) "value"))
+ {
+ // @TODO Check if it has been loaded before
+ /* we found the tag value & load the jar */
+ /* replaces $SCILAB by current path of SCI */
+#define KEYWORDSCILAB "$SCILAB"
+ char *FullClasspath = NULL;
+ char *classpath = (char*)attrib->children->content;
+
+ if (strncmp(classpath, KEYWORDSCILAB, strlen(KEYWORDSCILAB)) == 0)
+ {
+ FullClasspath = (char*)MALLOC(sizeof(char) * (strlen(sciPath) + strlen(classpath) + 1));
+ if (FullClasspath)
+ {
+ strcpy(FullClasspath, sciPath);
+ strcat(FullClasspath, &classpath[strlen(KEYWORDSCILAB)]);
+ }
+ }
+ else
+ {
+ FullClasspath = strdup(classpath);
+ }
+ addToClasspath(FullClasspath, STARTUP);
+ FREE(FullClasspath);
+ }
+ attrib = attrib->next;
+ }
+ }
+ }
+ else
+ {
+ fprintf(stderr, _("Wrong format for %s.\n"), classpathfile);
+ }
+ if (xpathObj)
+ {
+ xmlXPathFreeObject(xpathObj);
+ }
+ if (xpathCtxt)
+ {
+ xmlXPathFreeContext(xpathCtxt);
+ }
+ if (XPath)
+ {
+ FREE(XPath);
+ XPath = NULL;
+ }
+
+ }
+ else
+ {
+ fprintf(stderr, _("Warning: could not find classpath declaration file %s.\n"), classpathfile);
+ }
+
+ if (classpathfile)
+ {
+ FREE(classpathfile);
+ classpathfile = NULL;
+ }
+ if (sciPath)
+ {
+ FREE(sciPath);
+ sciPath = NULL;
+ }
+
+ return FALSE;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/system_getproperty.c b/modules/jvm/src/c/system_getproperty.c
new file mode 100755
index 000000000..9a223b145
--- /dev/null
+++ b/modules/jvm/src/c/system_getproperty.c
@@ -0,0 +1,58 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include <string.h>
+#include "system_getproperty.h"
+#include "getScilabJNIEnv.h"
+#include "MALLOC.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+/*--------------------------------------------------------------------------*/
+char * system_getproperty(char *property, char *defaultproperty)
+{
+ char *retValue = NULL;
+ JNIEnv * currentENV = getScilabJNIEnv();
+
+ if (currentENV)
+ {
+ jclass cls = NULL;
+ cls = (*currentENV)->FindClass(currentENV, "java/lang/System");
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "getProperty", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;");
+ if (mid)
+ {
+ const char *strValue = NULL;
+ jstring jstrProperty;
+ jstring jstrDefaultValue;
+ jstring jstrValue;
+ jstrProperty = (*currentENV)->NewStringUTF(currentENV, property);
+ jstrDefaultValue = (*currentENV)->NewStringUTF(currentENV, defaultproperty);
+
+ jstrValue = (*currentENV)->CallStaticObjectMethod(currentENV, cls, mid, jstrProperty, jstrDefaultValue);
+
+ strValue = (*currentENV)->GetStringUTFChars(currentENV, jstrValue, 0);
+ if (strValue)
+ {
+ retValue = strdup(strValue);
+ }
+ (*currentENV)->ReleaseStringUTFChars(currentENV, jstrValue , strValue);
+ }
+ }
+ }
+ return retValue;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/system_getproperty.h b/modules/jvm/src/c/system_getproperty.h
new file mode 100755
index 000000000..70a4c44ea
--- /dev/null
+++ b/modules/jvm/src/c/system_getproperty.h
@@ -0,0 +1,26 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __SYSTEM_GETPROPERTY_H__
+#define __SYSTEM_GETPROPERTY_H__
+
+/**
+* get system property
+* @param property name
+* @return property value
+*/
+char * system_getproperty(char *property, char *defaultproperty);
+
+#endif /* __SYSTEM_GETPROPERTY_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/system_setproperty.c b/modules/jvm/src/c/system_setproperty.c
new file mode 100755
index 000000000..1d741ec3d
--- /dev/null
+++ b/modules/jvm/src/c/system_setproperty.c
@@ -0,0 +1,69 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <jni.h>
+#include <string.h>
+#include "system_setproperty.h"
+#include "getScilabJNIEnv.h"
+#include "MALLOC.h"
+#include "catchIfJavaException.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+/*--------------------------------------------------------------------------*/
+char * system_setproperty(char *property, char *value)
+{
+ char *retValue = NULL;
+
+ JNIEnv * currentENV = getScilabJNIEnv();
+
+ if (currentENV)
+ {
+ jclass cls = NULL;
+ cls = (*currentENV)->FindClass(currentENV, "java/lang/System");
+ if (cls)
+ {
+ jmethodID mid = NULL;
+ mid = (*currentENV)->GetStaticMethodID(currentENV, cls, "setProperty", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;");
+ if (mid)
+ {
+ BOOL bOK = FALSE;
+ const char *strPreviousValue = NULL;
+ jstring jstrProperty;
+ jstring jstrValue;
+ jstring jstrPreviousValue;
+
+ jstrProperty = (*currentENV)->NewStringUTF(currentENV, property);
+ jstrValue = (*currentENV)->NewStringUTF(currentENV, value);
+
+ jstrPreviousValue = (*currentENV)->CallStaticObjectMethod(currentENV, cls, mid, jstrProperty, jstrValue);
+ bOK = catchIfJavaException("");
+
+ if (bOK)
+ {
+ if (jstrPreviousValue)
+ {
+ strPreviousValue = (*currentENV)->GetStringUTFChars(currentENV, jstrPreviousValue, 0);
+ if (strPreviousValue)
+ {
+ retValue = strdup(strPreviousValue);
+ }
+ (*currentENV)->ReleaseStringUTFChars(currentENV, jstrPreviousValue , strPreviousValue);
+ }
+ }
+ }
+ }
+ }
+ return retValue;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/system_setproperty.h b/modules/jvm/src/c/system_setproperty.h
new file mode 100755
index 000000000..92c42ab13
--- /dev/null
+++ b/modules/jvm/src/c/system_setproperty.h
@@ -0,0 +1,27 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __SYSTEM_SETPROPERTY_H__
+#define __SYSTEM_SETPROPERTY_H__
+
+/**
+* set a system property
+* @param property name
+* @param value
+* @return previous value or NULL
+*/
+char * system_setproperty(char *property, char *value);
+
+#endif /* __SYSTEM_SETPROPERTY_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/c/with_java.c b/modules/jvm/src/c/with_java.c
new file mode 100755
index 000000000..f7501b688
--- /dev/null
+++ b/modules/jvm/src/c/with_java.c
@@ -0,0 +1,19 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#include "with_java.h"
+/*--------------------------------------------------------------------------*/
+BOOL with_java(void)
+{
+ return TRUE;
+}
+/*-----------------------------------------------------------------------
diff --git a/modules/jvm/src/c/with_java.h b/modules/jvm/src/c/with_java.h
new file mode 100755
index 000000000..b0f675dae
--- /dev/null
+++ b/modules/jvm/src/c/with_java.h
@@ -0,0 +1,17 @@
+/*--------------------------------------------------------------------------*/
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+/*--------------------------------------------------------------------------*/
+#include "BOOL.h"
+/*--------------------------------------------------------------------------*/
+BOOL with_java(void);
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/java/org/scilab/modules/jvm/ClassPath.java b/modules/jvm/src/java/org/scilab/modules/jvm/ClassPath.java
new file mode 100755
index 000000000..f12122b0d
--- /dev/null
+++ b/modules/jvm/src/java/org/scilab/modules/jvm/ClassPath.java
@@ -0,0 +1,127 @@
+/*--------------------------------------------------------------------------*/
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ * Copyright (C) 2008 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+package org.scilab.modules.jvm;
+/*--------------------------------------------------------------------------*/
+import java.io.File;
+import java.io.IOException;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.Iterator;
+import java.util.Vector;
+/*--------------------------------------------------------------------------*/
+/**
+ * ClassPath to overload java classpath.
+ */
+public class ClassPath {
+
+ private static final Class[] parameters = new Class[] {URL.class};
+
+ private static Vector<URL> queued = new Vector<URL>();
+
+ /**
+ * add a filename to java classpath.
+ * @param s a filename
+ * @throws IOException if an error occurs
+ */
+ public static void addFile(final String s, int i) throws IOException {
+ addFile(new File(s), i);
+ }
+ /*-----------------------------------------------------------------------*/
+ /**
+ * add a file to java classpath.
+ * @param f a file
+ * @throws IOException if an error occurs
+ */
+ public static void addFile(final File f, int i) throws IOException {
+ addURL(f.toURI().toURL(), i);
+ }
+
+ /*-----------------------------------------------------------------------*/
+ /**
+ * Add a URL to classpath.
+ * @param u URL of the classes (jar or path)
+ * @param i the type of load: i=0 startup / i=1 background / i=2 onUse
+ */
+ public static void addURL(final URL u, int i) {
+
+ final URLClassLoader sysloader = (URLClassLoader) ClassLoader.getSystemClassLoader();
+ Class sysclass = URLClassLoader.class;
+
+ try {
+
+ final Method method = sysclass.getDeclaredMethod("addURL", parameters);
+ method.setAccessible(true);
+ switch (i) {
+ case 0: /* Load now */
+ method.invoke(sysloader , new Object[] { u });
+ break;
+ case 1: /* Load later (background) */
+ queued.add(u);
+ break;
+ }
+
+ } catch (NoSuchMethodException e) {
+ System.err.println("Error: Cannot find the declared method: " + e.getLocalizedMessage());
+ } catch (IllegalAccessException e) {
+ System.err.println("Error: Illegal access: " + e.getLocalizedMessage());
+ } catch (InvocationTargetException e) {
+ System.err.println("Error: Could not invocate target: " + e.getLocalizedMessage());
+ }
+
+ }
+ /*-----------------------------------------------------------------------*/
+ /**
+ * Get the classpath loaded
+ * @return classpath The list of the classpath
+ */
+ public static String[] getClassPath() {
+
+ URLClassLoader sysloader = (URLClassLoader) ClassLoader.getSystemClassLoader();
+ URL[] path = sysloader.getURLs();
+ String[] paths = new String[path.length];
+ for (int i = 0; i < path.length; i++) {
+ paths[i] = path[i].getFile();
+ }
+ return paths;
+ }
+
+
+ /**
+ * Load all the classpath in dedicated threads in background
+ */
+ public static void loadBackGroundClassPath() {
+ Thread backgroundLoader = new Thread() {
+ public void run() {
+ try {
+
+ Iterator<URL> urlIt = queued.iterator();
+
+ while (urlIt.hasNext()) {
+ ClassPath.addURL(urlIt.next(), 0);
+ }
+
+ } catch (Exception e) {
+ System.err.println("Error : " + e.getLocalizedMessage());
+ }
+ }
+ };
+ backgroundLoader.start();
+ }
+}
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/jvm/src/java/org/scilab/modules/jvm/LibraryPath.java b/modules/jvm/src/java/org/scilab/modules/jvm/LibraryPath.java
new file mode 100755
index 000000000..33530c761
--- /dev/null
+++ b/modules/jvm/src/java/org/scilab/modules/jvm/LibraryPath.java
@@ -0,0 +1,89 @@
+/*--------------------------------------------------------------------------*/
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+package org.scilab.modules.jvm;
+/*--------------------------------------------------------------------------*/
+import java.io.IOException;
+import java.io.File;
+import java.lang.reflect.Field;
+/*--------------------------------------------------------------------------*/
+/*http://forum.java.sun.com/thread.jspa?threadID=135560&start=15&tstart=0 */
+/*--------------------------------------------------------------------------*/
+
+/**
+ * LibraryPath to overload java.library.path.
+ */
+public class LibraryPath {
+
+ private static final String JAVALIBRARYPATH = "java.library.path";
+ /**
+ * Constructor
+ */
+ protected LibraryPath() {
+ /* indicate that the requested operation is not supported */
+ throw new UnsupportedOperationException();
+ }
+ /*--------------------------------------------------------------------------*/
+ /**
+ * checks if pathToAdd already exists
+ * @param currentpaths list of current paths
+ * @param pathToAdd path to add
+ * @return a boolean true if path already exists
+ */
+ private static boolean pathAlreadyExists(String currentpaths, String pathToAdd) {
+ String[] paths = currentpaths.split("" + File.pathSeparatorChar);
+ for (String libraryPath : paths) {
+ if (libraryPath.equalsIgnoreCase(pathToAdd)) {
+ return true;
+ }
+ }
+ return false;
+ }
+ /*--------------------------------------------------------------------------*/
+ /**
+ * add a path to java.library.path
+ * @param p path to add
+ * @throws IOException return a exception
+ */
+ public static void addPath(final String p) throws IOException {
+ if (!pathAlreadyExists(System.getProperty(JAVALIBRARYPATH), p)) {
+ /* The order matter here... see bug #4022 */
+ String newLibPath = System.getProperty(JAVALIBRARYPATH) + File.pathSeparator + p;
+ System.setProperty(JAVALIBRARYPATH, newLibPath);
+ try {
+ Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
+ fieldSysPath.setAccessible(true);
+ if (fieldSysPath != null) {
+ fieldSysPath.set(System.class.getClassLoader(), null);
+ }
+ } catch (NoSuchFieldException e) {
+ throw new IOException("Error NoSuchFieldException, could not add path to " + JAVALIBRARYPATH);
+ } catch (IllegalAccessException e) {
+ throw new IOException("Error IllegalAccessException, could not add path to " + JAVALIBRARYPATH);
+ }
+ }
+ }
+
+ /*--------------------------------------------------------------------------*/
+ /**
+ * get the scilab java.library.path.
+ * @return librarypath
+ */
+ public static String[] getLibraryPath() {
+ String librarypath = System.getProperty(JAVALIBRARYPATH);
+ String[] paths = librarypath.split("" + File.pathSeparatorChar);
+ return paths;
+ }
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/java/org/scilab/modules/jvm/LoadClassPath.java b/modules/jvm/src/java/org/scilab/modules/jvm/LoadClassPath.java
new file mode 100755
index 000000000..5649ef683
--- /dev/null
+++ b/modules/jvm/src/java/org/scilab/modules/jvm/LoadClassPath.java
@@ -0,0 +1,119 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2010 - DIGITEO - Clement DAVID
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+package org.scilab.modules.jvm;
+
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.File;
+import java.util.HashSet;
+import java.util.Set;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathConstants;
+import javax.xml.xpath.XPathExpressionException;
+import javax.xml.xpath.XPathFactory;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xml.sax.SAXException;
+
+import org.scilab.modules.commons.xml.ScilabDocumentBuilderFactory;
+
+/**
+ * Utility class to ease the jar loading management.
+ */
+public final class LoadClassPath {
+ /** Scilab environment variable */
+ private static final String SCI = System.getenv("SCI");
+ /** The classpath.xml file path */
+ private static final String CLASSPATH_PATH = SCI + "/etc/classpath.xml";
+ /** The expression to get the jars */
+ private static final String XPATH_EXPRS = "//classpaths/path[@load='onUse']/load";
+
+ /** Cache the already loaded libraries */
+ private static Set<String> loadedModules = new HashSet<String>();
+
+ /**
+ * Load the module on the classpath
+ *
+ * The module have to be declared in the $SCI/etc/classpath.xml file.
+ *
+ * @param module the module to be loaded
+ */
+ public static void loadOnUse(String module) {
+ if (loadedModules.contains(module)) {
+ return;
+ }
+
+ // define XPath expression
+ String xpathExpression = XPATH_EXPRS + "[@on='" + module + "']";
+
+ // Initialize xpath
+ XPathFactory factory = XPathFactory.newInstance();
+ XPath xpath = factory.newXPath();
+
+ // initialize document factory
+ DocumentBuilderFactory domFactory = ScilabDocumentBuilderFactory.newInstance();
+ domFactory.setValidating(false);
+ domFactory.setNamespaceAware(true);
+
+ // Parse Classpath file
+ Document doc = null;
+ try {
+ DocumentBuilder builder = domFactory.newDocumentBuilder();
+ doc = builder.parse(new File(CLASSPATH_PATH));
+ } catch (ParserConfigurationException e) {
+ System.err.println("Error: " + e.getLocalizedMessage());
+ e.printStackTrace();
+ return;
+ } catch (SAXException e) {
+ System.err.println("Error: " + e.getLocalizedMessage());
+ e.printStackTrace();
+ return;
+ } catch (IOException e) {
+ System.err.println("Error: " + e.getLocalizedMessage());
+ e.printStackTrace();
+ return;
+ }
+
+ // Load JARs
+ try {
+ NodeList result = (NodeList) xpath.evaluate(xpathExpression, doc,
+ XPathConstants.NODESET);
+
+ for (int i = 0; i < result.getLength(); i++) {
+ Node n = result.item(i).getParentNode();
+
+ String jar = n.getAttributes().getNamedItem("value").getNodeValue();
+ ClassPath.addFile(jar.replace("$SCILAB", SCI), 0);
+ loadedModules.add(module);
+ }
+
+ } catch (XPathExpressionException e) {
+ e.printStackTrace();
+ } catch (FileNotFoundException e) {
+ e.printStackTrace();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * This class is a static singleton
+ */
+ private LoadClassPath() { }
+}
diff --git a/modules/jvm/src/jni/scilab_typemaps.i b/modules/jvm/src/jni/scilab_typemaps.i
new file mode 100755
index 000000000..93739e393
--- /dev/null
+++ b/modules/jvm/src/jni/scilab_typemaps.i
@@ -0,0 +1,133 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET , Vincent COUVERT
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+/* Utilities for writing JNIs which use datatypes not handled by SWIG */
+
+/**
+ * To regenerate:
+ * Windows: @TODO
+ * Other: Use the option --enable-build-swig to the configure
+*/
+
+/* ------------------------------------------------------------------------- */
+
+/* String[] <--> char ** support */
+
+%typemap(in) char ** (jint size) {
+ int i = 0;
+ size = (*jenv)->GetArrayLength(jenv, $input);
+ $1 = (char **) MALLOC((size+1)*sizeof(char *));
+ /* make a copy of each string */
+ for (i = 0; i<size; i++) {
+ jstring j_string = (jstring)(*jenv)->GetObjectArrayElement(jenv, $input, i);
+ const char * c_string = (*jenv)->GetStringUTFChars(jenv, j_string, 0);
+ $1[i] = MALLOC((strlen(c_string)+1)*sizeof(const char *));
+ strcpy($1[i], c_string);
+ (*jenv)->ReleaseStringUTFChars(jenv, j_string, c_string);
+ (*jenv)->DeleteLocalRef(jenv, j_string);
+ }
+ $1[i] = 0;
+}
+
+/* This cleans up the memory we malloc'd before the function call */
+%typemap(freearg) char ** {
+ int i;
+ for (i=0; i<size$argnum-1; i++) {
+ FREE($1[i]);
+ $1[i] = NULL;
+ }
+ FREE($1);
+ $1 = NULL;
+}
+
+/* This allows a C function to return a char ** as a Java String array */
+%typemap(out) char ** {
+ if ($1 != NULL)
+ {
+ int i;
+ int len=0;
+ jstring temp_string;
+ const jclass clazz = (*jenv)->FindClass(jenv, "java/lang/String");
+
+ while ($1[len]) len++;
+ jresult = (*jenv)->NewObjectArray(jenv, len, clazz, NULL);
+ /* exception checking omitted */
+
+ for (i=0; i<len; i++) {
+ temp_string = (*jenv)->NewStringUTF(jenv, $1[i]);
+ (*jenv)->SetObjectArrayElement(jenv, jresult, i, temp_string);
+ (*jenv)->DeleteLocalRef(jenv, temp_string);
+ FREE($1[i]);
+ $1[i] = NULL;
+ }
+ FREE($1);
+ $1 = NULL;
+ }
+}
+
+/* These 3 typemaps tell SWIG what JNI and Java types to use */
+%typemap(jni) char ** "jobjectArray"
+%typemap(jtype) char ** "String[]"
+%typemap(jstype) char ** "String[]"
+
+/* ------------------------------------------------------------------------- */
+
+/* These 2 typemaps handle the conversion of the jtype to jstype typemap type
+ and visa versa */
+%typemap(javain) char ** "$javainput"
+%typemap(javaout) char ** {
+ return $jnicall;
+ }
+
+/* String[] <--> char ** support */
+
+/* ------------------------------------------------------------------------- */
+
+/* boolean <--> BOOL support */
+
+%typemap(in) BOOL {
+ if ($input == JNI_TRUE) $1 = TRUE;
+ else $1 = FALSE;
+}
+
+%typemap(out) BOOL {
+ if ($1) $result = JNI_TRUE ;
+ else $result = JNI_FALSE ;
+}
+
+/* This typemap tell SWIG what JNI and Java types to use */
+%typemap(jtype) BOOL "boolean"
+%typemap(jstype) BOOL "boolean"
+%typemap(jni) BOOL "jboolean"
+
+/* These 2 typemaps handle the conversion of the jtype to jstype typemap type
+ and visa versa */
+%typemap(javaout) BOOL {
+ return $jnicall;
+ }
+%typemap(javain) BOOL "$javainput";
+
+/* boolean <--> BOOL support */
+
+/* ------------------------------------------------------------------------- */
+
+/* This allows a C function to return a char * as a Java String */
+/* free pointer used */
+%typemap(out) char * {
+ if ($1 != NULL)
+ {
+ jresult = (*jenv)->NewStringUTF(jenv, (const char *)$1);
+ FREE($1);
+ $1 = NULL;
+ }
+}
+
+/* ------------------------------------------------------------------------- */
diff --git a/modules/jvm/src/nojvm/.deps/.dirstamp b/modules/jvm/src/nojvm/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/jvm/src/nojvm/.deps/.dirstamp
diff --git a/modules/jvm/src/nojvm/.deps/libscijvm_disable_la-nojvm.Plo b/modules/jvm/src/nojvm/.deps/libscijvm_disable_la-nojvm.Plo
new file mode 100755
index 000000000..909b7c1ad
--- /dev/null
+++ b/modules/jvm/src/nojvm/.deps/libscijvm_disable_la-nojvm.Plo
@@ -0,0 +1,65 @@
+src/nojvm/libscijvm_disable_la-nojvm.lo: src/nojvm/nojvm.c \
+ /usr/include/stdc-predef.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h includes/gw_jvm.h \
+ includes/dynlib_jvm.h includes/dynlib_jvm.h includes/InitializeJVM.h \
+ ../../modules/core/includes/BOOL.h includes/TerminateJVM.h \
+ includes/loadBackGroundClassPath.h includes/loadOnUseClassPath.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/xlocale.h
+
+/usr/include/stdc-predef.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+includes/gw_jvm.h:
+
+includes/dynlib_jvm.h:
+
+includes/dynlib_jvm.h:
+
+includes/InitializeJVM.h:
+
+../../modules/core/includes/BOOL.h:
+
+includes/TerminateJVM.h:
+
+includes/loadBackGroundClassPath.h:
+
+includes/loadOnUseClassPath.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/xlocale.h:
diff --git a/modules/jvm/src/nojvm/.dirstamp b/modules/jvm/src/nojvm/.dirstamp
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/modules/jvm/src/nojvm/.dirstamp
diff --git a/modules/jvm/src/nojvm/.libs/libscijvm_disable_la-nojvm.o b/modules/jvm/src/nojvm/.libs/libscijvm_disable_la-nojvm.o
new file mode 100755
index 000000000..be6d1dbbb
--- /dev/null
+++ b/modules/jvm/src/nojvm/.libs/libscijvm_disable_la-nojvm.o
Binary files differ
diff --git a/modules/jvm/src/nojvm/libscijvm_disable_la-nojvm.lo b/modules/jvm/src/nojvm/libscijvm_disable_la-nojvm.lo
new file mode 100755
index 000000000..777cc0d26
--- /dev/null
+++ b/modules/jvm/src/nojvm/libscijvm_disable_la-nojvm.lo
@@ -0,0 +1,12 @@
+# src/nojvm/libscijvm_disable_la-nojvm.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscijvm_disable_la-nojvm.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/jvm/src/nojvm/nojvm.c b/modules/jvm/src/nojvm/nojvm.c
new file mode 100755
index 000000000..955810750
--- /dev/null
+++ b/modules/jvm/src/nojvm/nojvm.c
@@ -0,0 +1,120 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA - Allan CORNET
+ * Copyright (C) DIGITEO - 2010 - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "Scierror.h"
+#include "gw_jvm.h"
+#include "dynlib_jvm.h"
+#include "InitializeJVM.h"
+#include "TerminateJVM.h"
+#include "loadBackGroundClassPath.h"
+#include "loadOnUseClassPath.h"
+#include "localization.h"
+
+#ifdef _MSC_VER
+#include "getScilabJNIEnv.h"
+#include "getScilabJavaVM.h"
+#include "getScilabObject.h"
+#include "addToClasspath.h"
+#include "addToLibrarypath.h"
+#include "catchIfJavaException.h"
+#endif
+
+/*--------------------------------------------------------------------------*/
+JVM_IMPEXP int gw_jvm(void)
+{
+ Scierror(999, _("Scilab Java module not installed.\n"));
+ return 0;
+}
+
+#ifdef _MSC_VER
+JNIEnv *getScilabJNIEnv(void)
+{
+ return NULL;
+}
+
+JavaVM *getScilabJavaVM(void)
+{
+ return NULL;
+}
+
+jobject getScilabObject(void)
+{
+ return NULL;
+}
+
+BOOL addToClasspath(char *classpathstring, typeOfLoad load)
+{
+ return FALSE;
+}
+
+BOOL addToLibrarypath(char *librarypathstring)
+{
+ return FALSE;
+}
+
+BOOL catchIfJavaException(char *errorMsg)
+{
+ return FALSE;
+}
+#endif
+/*--------------------------------------------------------------------------*/
+JVM_IMPEXP BOOL InitializeJVM(void)
+{
+ return FALSE;
+}
+
+/*--------------------------------------------------------------------------*/
+JVM_IMPEXP BOOL TerminateJVM(void)
+{
+ return FALSE;
+}
+
+/*--------------------------------------------------------------------------*/
+JVM_IMPEXP BOOL loadBackGroundClassPath(void)
+{
+ return FALSE;
+}
+
+/*--------------------------------------------------------------------------*/
+JVM_IMPEXP BOOL loadOnUseClassPath(char const* tag)
+{
+ return FALSE;
+}
+
+/*--------------------------------------------------------------------------*/
+/* BUG 10325: FORCE EXPORT canCloseMainScilabObject on Windows */
+BOOL canCloseMainScilabObject(void)
+{
+ return TRUE;
+}
+
+/*--------------------------------------------------------------------------*/
+/* BUG 10325: FORCE EXPORT forceCloseMainScilabObject on Windows */
+void forceCloseMainScilabObject(void)
+{
+}
+
+/*--------------------------------------------------------------------------*/
+JVM_IMPEXP BOOL ExecuteInitialHooks(void)
+{
+ return TRUE;
+}
+
+/*--------------------------------------------------------------------------*/
+JVM_IMPEXP BOOL isItTheDisabledLib(void)
+{
+ return TRUE;
+}
+
+/*--------------------------------------------------------------------------*/
diff --git a/modules/jvm/src/nojvm/nojvm.rc b/modules/jvm/src/nojvm/nojvm.rc
new file mode 100755
index 000000000..d067f620b
--- /dev/null
+++ b/modules/jvm/src/nojvm/nojvm.rc
@@ -0,0 +1,97 @@
+// Microsoft Visual C++ generated resource script.
+//
+
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+//#include "afxres.h"
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// French (France) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
+#ifdef _WIN32
+LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 5,5,2,0
+ PRODUCTVERSION 5,5,2,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x0L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040c04b0"
+ BEGIN
+ VALUE "FileDescription", "nojvm module"
+ VALUE "FileVersion", "5, 5, 2, 0"
+ VALUE "InternalName", "nojvm module"
+ VALUE "LegalCopyright", "Copyright (C) 2017"
+ VALUE "OriginalFilename", "nolibjvm.dll"
+ VALUE "ProductName", " nojvm"
+ VALUE "ProductVersion", "5, 5, 2, 0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x40c, 1200
+ END
+END
+
+#endif // French (France) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/modules/jvm/src/nojvm/nojvm.vcxproj b/modules/jvm/src/nojvm/nojvm.vcxproj
new file mode 100755
index 000000000..e2ea3b0b7
--- /dev/null
+++ b/modules/jvm/src/nojvm/nojvm.vcxproj
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectName>nolibjvm</ProjectName>
+ <ProjectGuid>{889AD61B-12E9-4F85-8525-B83C16C88C3F}</ProjectGuid>
+ <RootNamespace>nolibjvm</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>../../includes;../../../localization/includes;../../../core/includes;../../../api_scilab/includes;../../../output_stream/includes;../../../../libs/intl;../../../../java/jdk/include;../../../../java/jdk/include/win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;LIBJVM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>../../../../bin/libintl.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX86</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ModuleDefinitionFile>nolibjvm_export.def</ModuleDefinitionFile>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <Midl>
+ <TargetEnvironment>X64</TargetEnvironment>
+ </Midl>
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>../../includes;../../../localization/includes;../../../core/includes;../../../api_scilab/includes;../../../output_stream/includes;../../../../libs/intl;../../../../java/jdk/include;../../../../java/jdk/include/win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;LIBJVM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>../../../../bin/libintl.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX64</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ModuleDefinitionFile>nolibjvm_export.def</ModuleDefinitionFile>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <AdditionalIncludeDirectories>../../includes;../../../localization/includes;../../../core/includes;../../../api_scilab/includes;../../../output_stream/includes;../../../../libs/intl;../../../../java/jdk/include;../../../../java/jdk/include/win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;LIBJVM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>../../../../bin/libintl.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX86</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ModuleDefinitionFile>nolibjvm_export.def</ModuleDefinitionFile>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Midl>
+ <TargetEnvironment>X64</TargetEnvironment>
+ </Midl>
+ <ClCompile>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
+ <AdditionalIncludeDirectories>../../includes;../../../localization/includes;../../../core/includes;../../../api_scilab/includes;../../../output_stream/includes;../../../../libs/intl;../../../../java/jdk/include;../../../../java/jdk/include/win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;LIBJVM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>../../../../bin/libintl.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
+ <TargetMachine>MachineX64</TargetMachine>
+ <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ModuleDefinitionFile>nolibjvm_export.def</ModuleDefinitionFile>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="nojvm.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="nojvm.rc" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\Visual-Studio-settings\rename-vc-files\rename-vc-files.vcxproj">
+ <Project>{dd8a0506-8d31-4cf8-856a-c10ece9c13a4}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\output_stream\src\c\output_stream.vcxproj">
+ <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="nolibjvm_export.def" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project> \ No newline at end of file
diff --git a/modules/jvm/src/nojvm/nojvm.vcxproj.filters b/modules/jvm/src/nojvm/nojvm.vcxproj.filters
new file mode 100755
index 000000000..2b3698cb5
--- /dev/null
+++ b/modules/jvm/src/nojvm/nojvm.vcxproj.filters
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+ </Filter>
+ <Filter Include="Libraries Dependencies">
+ <UniqueIdentifier>{9c8bab13-f3d2-452b-9c1c-1694fefd0ef9}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Libraries Dependencies\Exports">
+ <UniqueIdentifier>{a507bbeb-a681-469c-b873-32951fed3162}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="nojvm.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="nojvm.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="nolibjvm_export.def">
+ <Filter>Libraries Dependencies\Exports</Filter>
+ </None>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/modules/jvm/src/nojvm/nolibjvm_export.def b/modules/jvm/src/nojvm/nolibjvm_export.def
new file mode 100755
index 000000000..e76d553ec
--- /dev/null
+++ b/modules/jvm/src/nojvm/nolibjvm_export.def
@@ -0,0 +1,15 @@
+LIBRARY nolibjvm.dll
+
+
+EXPORTS
+; ---------------------------------------
+; jvm module explicit export (SEP 35)
+; ---------------------------------------
+getScilabJavaVM
+getScilabJNIEnv
+addToClasspath
+addToLibrarypath
+getScilabObject
+; ---------------------------------------
+canCloseMainScilabObject
+forceCloseMainScilabObject \ No newline at end of file
diff --git a/modules/jvm/string_Import.def b/modules/jvm/string_Import.def
new file mode 100755
index 000000000..e38ee9180
--- /dev/null
+++ b/modules/jvm/string_Import.def
@@ -0,0 +1,7 @@
+LIBRARY string.dll
+
+
+EXPORTS
+; from string
+strsub
+;
diff --git a/modules/jvm/tests/nonreg_tests/bug_3607.dia.ref b/modules/jvm/tests/nonreg_tests/bug_3607.dia.ref
new file mode 100755
index 000000000..3b8e5ac0b
--- /dev/null
+++ b/modules/jvm/tests/nonreg_tests/bug_3607.dia.ref
@@ -0,0 +1,19 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- Non-regression test for bug 3607 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=3607
+//
+// <-- Short Description -->
+// wrong value <option value="-Xmx1024m"/>
+res = mgetl(SCI+'/etc/jvm_options.xml');
+line = grep(res,'<option value=""-Xmx');
+assert_checkequal(stripblanks(res(line)) ,'<option value=""-Xmx256m""/>');
+stacksize('max');
+memstack = stacksize();
+if memstack < 1e8 then bugmes();quit;end
diff --git a/modules/jvm/tests/nonreg_tests/bug_3607.tst b/modules/jvm/tests/nonreg_tests/bug_3607.tst
new file mode 100755
index 000000000..cb7f36255
--- /dev/null
+++ b/modules/jvm/tests/nonreg_tests/bug_3607.tst
@@ -0,0 +1,23 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- Non-regression test for bug 3607 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=3607
+//
+// <-- Short Description -->
+// wrong value <option value="-Xmx1024m"/>
+
+
+res = mgetl(SCI+'/etc/jvm_options.xml');
+line = grep(res,'<option value=""-Xmx');
+assert_checkequal(stripblanks(res(line)) ,'<option value=""-Xmx256m""/>');
+
+stacksize('max');
+memstack = stacksize();
+if memstack < 1e8 then pause,end
diff --git a/modules/jvm/tests/unit_tests/javaclasspath.dia.ref b/modules/jvm/tests/unit_tests/javaclasspath.dia.ref
new file mode 100755
index 000000000..927c4a300
--- /dev/null
+++ b/modules/jvm/tests/unit_tests/javaclasspath.dia.ref
@@ -0,0 +1,13 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Sylvestre LEDRU
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+ierr = execstr('a = javaclasspath(2);','errcatch');
+if ierr <> 999 then bugmes();quit;end
+result = javaclasspath();
+if size(result,"*") < 1 then bugmes();quit;end
+// Does not return anything
+ierr = execstr('javaclasspath(TMPDIR);;','errcatch');
+if ierr <> 0 then bugmes();quit;end
diff --git a/modules/jvm/tests/unit_tests/javaclasspath.tst b/modules/jvm/tests/unit_tests/javaclasspath.tst
new file mode 100755
index 000000000..ab7ddb25b
--- /dev/null
+++ b/modules/jvm/tests/unit_tests/javaclasspath.tst
@@ -0,0 +1,16 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Sylvestre LEDRU
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+ierr = execstr('a = javaclasspath(2);','errcatch');
+if ierr <> 999 then pause,end
+
+result = javaclasspath();
+if size(result,"*") < 1 then pause, end
+
+// Does not return anything
+ierr = execstr('javaclasspath(TMPDIR);;','errcatch');
+if ierr <> 0 then pause,end
diff --git a/modules/jvm/tests/unit_tests/javalibrarypath.dia.ref b/modules/jvm/tests/unit_tests/javalibrarypath.dia.ref
new file mode 100755
index 000000000..e5cb6c244
--- /dev/null
+++ b/modules/jvm/tests/unit_tests/javalibrarypath.dia.ref
@@ -0,0 +1,13 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Sylvestre LEDRU
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+ierr = execstr('a = javalibrarypath(2);','errcatch');
+if ierr <> 999 then bugmes();quit;end
+result = javalibrarypath();
+if size(result,"*") < 1 then bugmes();quit;end
+// Does not return anything
+ierr = execstr('javalibrarypath(TMPDIR);;','errcatch');
+if ierr <> 0 then bugmes();quit;end
diff --git a/modules/jvm/tests/unit_tests/javalibrarypath.tst b/modules/jvm/tests/unit_tests/javalibrarypath.tst
new file mode 100755
index 000000000..b2ad5c1bc
--- /dev/null
+++ b/modules/jvm/tests/unit_tests/javalibrarypath.tst
@@ -0,0 +1,16 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Sylvestre LEDRU
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+ierr = execstr('a = javalibrarypath(2);','errcatch');
+if ierr <> 999 then pause,end
+
+result = javalibrarypath();
+if size(result,"*") < 1 then pause, end
+
+// Does not return anything
+ierr = execstr('javalibrarypath(TMPDIR);;','errcatch');
+if ierr <> 0 then pause,end
diff --git a/modules/jvm/tests/unit_tests/system_setproperty.dia.ref b/modules/jvm/tests/unit_tests/system_setproperty.dia.ref
new file mode 100755
index 000000000..34ff31925
--- /dev/null
+++ b/modules/jvm/tests/unit_tests/system_setproperty.dia.ref
@@ -0,0 +1,24 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - DIGITEO
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+ierr = execstr('system_setproperty();','errcatch');
+if ierr <> 77 then bugmes();quit;end
+ierr = execstr('system_getproperty();','errcatch');
+if ierr <> 77 then bugmes();quit;end
+ierr = execstr('a = system_setproperty(''TOTO'',2);','errcatch');
+if ierr <> 999 then bugmes();quit;end
+r = system_getproperty('TOTO');
+if r <> 'unknown' then bugmes();quit;end
+ierr = execstr('a = system_setproperty(''TOTO'',''TATA'');','errcatch');
+if ierr <> 0 then bugmes();quit;end
+if a <> [] then bugmes();quit;end
+r = system_getproperty('TOTO');
+if r <> 'TATA' then bugmes();quit;end
+ierr = execstr('a = system_setproperty(''TOTO'',''TITI'');','errcatch');
+if ierr <> 0 then bugmes();quit;end
+if a <> 'TATA' then bugmes();quit;end
+r = system_getproperty('TOTO');
+if r <> 'TITI' then bugmes();quit;end
diff --git a/modules/jvm/tests/unit_tests/system_setproperty.tst b/modules/jvm/tests/unit_tests/system_setproperty.tst
new file mode 100755
index 000000000..5efc15ee6
--- /dev/null
+++ b/modules/jvm/tests/unit_tests/system_setproperty.tst
@@ -0,0 +1,31 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - DIGITEO
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+ierr = execstr('system_setproperty();','errcatch');
+if ierr <> 77 then pause,end
+
+ierr = execstr('system_getproperty();','errcatch');
+if ierr <> 77 then pause,end
+
+ierr = execstr('a = system_setproperty(''TOTO'',2);','errcatch');
+if ierr <> 999 then pause,end
+
+r = system_getproperty('TOTO');
+if r <> 'unknown' then pause,end
+
+ierr = execstr('a = system_setproperty(''TOTO'',''TATA'');','errcatch');
+if ierr <> 0 then pause,end
+if a <> [] then pause,end
+r = system_getproperty('TOTO');
+if r <> 'TATA' then pause,end
+
+
+ierr = execstr('a = system_setproperty(''TOTO'',''TITI'');','errcatch');
+if ierr <> 0 then pause,end
+if a <> 'TATA' then pause,end
+r = system_getproperty('TOTO');
+if r <> 'TITI' then pause,end
diff --git a/modules/jvm/xml/classpath.dtd b/modules/jvm/xml/classpath.dtd
new file mode 100755
index 000000000..04b811016
--- /dev/null
+++ b/modules/jvm/xml/classpath.dtd
@@ -0,0 +1,18 @@
+<!ELEMENT classpaths ( path+ ) >
+
+<!ELEMENT load EMPTY >
+<!ATTLIST load on NMTOKEN #REQUIRED >
+
+
+<!ATTLIST META
+CATEGORY CDATA "Scilab classpath"
+VERSION_SCI CDATA "5.3"
+VERSION_DOC CDATA "1.2"
+AUTHOR CDATA "Allan CORNET DIGITEO 2010"
+>
+
+<!ELEMENT path ( load* ) >
+<!ATTLIST path disableUnderMode NMTOKEN #IMPLIED >
+<!ATTLIST path load ( onUse | startup ) #IMPLIED >
+<!ATTLIST path value CDATA #REQUIRED >
+
diff --git a/modules/jvm/xml/jvm-options.dtd b/modules/jvm/xml/jvm-options.dtd
new file mode 100755
index 000000000..eee010129
--- /dev/null
+++ b/modules/jvm/xml/jvm-options.dtd
@@ -0,0 +1,13 @@
+<!ELEMENT jvm_options ( option+ ) >
+
+<!ATTLIST META
+CATEGORY CDATA "Scilab jvm_options"
+VERSION_SCI CDATA "5.5"
+VERSION_DOC CDATA "1.1"
+AUTHOR CDATA "Allan CORNET - DIGITEO - 2010"
+AUTHOR CDATA "Vincent COUVERT - Scilab Enterprises - 2014">
+
+<!ELEMENT option EMPTY >
+<!ATTLIST option value CDATA #REQUIRED >
+<!ATTLIST option os CDATA #IMPLIED >
+
diff --git a/modules/jvm/xml/librarypath.dtd b/modules/jvm/xml/librarypath.dtd
new file mode 100755
index 000000000..7140cbe4b
--- /dev/null
+++ b/modules/jvm/xml/librarypath.dtd
@@ -0,0 +1,14 @@
+<!ELEMENT librarypaths ( path+ ) >
+
+<!ELEMENT META (#PCDATA)>
+
+<!ATTLIST META
+CATEGORY CDATA "Scilab librarypath"
+VERSION_SCI CDATA "5.3"
+VERSION_DOC CDATA "1.1"
+AUTHOR CDATA "Allan CORNET DIGITEO 2010"
+ >
+
+<!ELEMENT path EMPTY >
+<!ATTLIST path value CDATA #REQUIRED >
+