GitLab connector on Ubuntu Linux
Closed this issue · 8 comments
I previously reported my testing with Windows. I'm now on Linux with the following environment.
Environment
KUbuntu 12.04.4 LTS
java version "1.6.0_30"
OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1ubuntu2~0.12.04.1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
Kernel: Linux 3.8.0-37-generic x86_64
Eclipse Standard 4.3.2 tar.gz
Mylyn latest repository.
Mylyn GitLab connector repository from github pages.
Issue
In the Teams perspective when I try to add a Task Repository
GitLab connector does not show up at all. When I tried this out on Windows it was there after installing the plugin. Not sure how to debug this issue. If you instruct me I can give you any details you need.
My first guess is the java environment. The plugin specifies Java SE 1.7 as required execution environment. Personally I don't like warnings in Eclipse, so I try to eliminate them.
I admit, I handled it very poorly and didn't think about LTS distributions, which still use an ancient Java Version ;-).
I will switch to Java SE 1.6 and lets see, if this fixes the problem.
I'll try the Oracle distributed Java later to see if I can get it working using that. People claim they're the same but I beg to differ. I find randomly OpenJDK doesn't work when Sun/Oracle Java "Just Works" TM.
When I am home I will install Ubuntu 12.04 LTS in a virtual machine and test it myself.
I finished the switch to Java SE 1.6, but the update site is not up to date right now. Will update, when I am at home.
Okay, FYI I tried again with the same setup but instead switched Oracle Java.
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
Same result. Installed everything but when I go to add a remote repository the GitLab connector does not show up.
Just tried Oracle Java.
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
Same result. GitLab connector does not show up when adding remote repositories.
I did not mean "OpenJDK <-> Sun JDK", I mean the java version. The plugin specifies that the minimum java version that is needed to execute the plugin, is Java SE 1.7. All three java versions you posted are Java SE 1.6. I already updated the code for Java SE 1.6, but I will test it later today, as soon as I get home.
Ahhh sorry for my misunderstanding. I swapped out for Java 7 and it works similarly to my prior Windows tests.
Fixed in 29e2421