We have a Servoy application with a customized client plugin. In our login module we call it as “plugins.our_plugin.methodReturningLongData();”. When I execute the application in Windows, the plugin is instantiated and can be used in our Servoy app. However, when I tested it in Linux Ubuntu environment, the plugin is not instantiated and returns undefined. This causes the application to display “TypeError: Cannot call method ‘methodReturningLongData’ of undefined (file#111)”
Both Windows and Ubuntu client systems are accessing the same app server. Prior the execution of the application in Ubuntu environment, Java cache has been cleared which means it gets the full copy of the application.
Does Servoy have additional configuration details on how to run Servoy apps in an Ubuntu environment?
under windows what is the the java version?
is that also 1.5?
It seems that your plugin didn’t load, maybe this is because your plugin is compiled with java 6 and therefor will not run on java 5.
jcompagner:
under windows what is the the java version?
is that also 1.5?
It seems that your plugin didn’t load, maybe this is because your plugin is compiled with java 6 and therefor will not run on java 5.
Thanks for the reply. I already considered this that’s why I recompiled my plugin to java 5. But nothing works still. The plugin still returns null.
You should always choose a target of Java 5 for your plugins, since this is what Servoy is currently targeting.
In Eclipse, it’s easy, just set the compile target of your project (or your overall preferences) to Java 5.