Search code examples
javalinuxeclipseeclipse-plugintycho

Eclipse plugin compiled in linux work on windows?


I have developed an eclipse plugin, which is compiled linux using maven Tycho plugin. But for some reason, I am not able to see the plugin in the eclipse running on windows. I am not finding anything in the log file.

As I am new to plugin development, Is there any difference does a cross platform compiled plugin would cause?

One dilemma I have in my mind is that, Does it really matter if I use windows based eclipse installation on linux, (as it is just a zip, extract it and use it) machine for compiling and building my plugin? Well, to me it appears that it does matters. I should use linux based eclipse for compiling a plugin in linux operating system.

But isn't this what is against java principle? Compile and Run anywhere?


Solution

  • as far as I know, if you are using UI stuff inside that plugin then you have to export it for multiple OSes ... and you need some libraries from eclipse website to export your application in linux...

    If you are exporting only the plugin then you need nothing... OSGI takes care of everything