Eclipse on FreeBSD: can’t start, Java exit code 1

The most useful discussion i’ve found is in the newsgroups.

Jonathan Chen:
Eclipse will only work with the native-jdk. Use your installed
diablo-jdk to build the native-jdk, and then remove the diablo-jdk.

So if you get the Exit code 1 error (which can be given because of many reasons, not only the one discussed here), make sure you have the jdk port installed (jdk16 in my case), then pkg_deinstall or pkg_delete diablo-jdk.

I had to actually deinstall eclipse-devel before I could do that, since eclipse-devel already got a dependency on diablo-jdk.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: