dneves / gitlab-integration-plugin

Intellij Plugin for GitLab Integration
MIT License
37 stars 14 forks source link

Unsupported major.minor version 51.0 #5

Open lucacri opened 10 years ago

lucacri commented 10 years ago

Hi, on the latest PHPStorm EAP and Mac OSX i get this error when i start with the plugin activated.

I think it's a problem with the java version ( check here http://stackoverflow.com/questions/10382929/unsupported-major-minor-version-51-0 )

dneves commented 10 years ago

Hi. Its stated in the plugin description and readme that it requires IDEA to be run with Java7. Thanks.

schmunk42 commented 9 years ago

Couldn't you compile a version with Java6 support or is this technically not possible?

Switching the JRE involves CodeSigning, etc... on OSX and even in PHPStorm 8 Java6 will be the default JRE, AFAIK.

ghost commented 9 years ago

Same issue here. A Java6 compatible version would be great!

renestalder commented 9 years ago

+1 on that since there are too many problems with JDK1.7 and PhpStorm on OSX.

dneves commented 9 years ago

Thank you for your feedbacks.

I'll make it java6 compatible in a couple days... i made it java7 dependent because of the server i was using to test it. The problem is that java6 does not support SNI, so its not guaranteed that it will work for you... it depends on your gitlab machine and certificate configuration ... Thanks.

dneves commented 9 years ago

There is a new version now in jetbrains repositories ( v 1.0.6 ) fixing this issue. I'm dropping the java 7 version, so it should now work with java 6.

Give me some feedback if possible so i can close this issue. Thanks.

schmunk42 commented 9 years ago

Works fine for me with PHPstorm 7.1 Two things to mention:

dneves commented 9 years ago
  1. Will put it in the next release; for now it is stated in the readme: gitlab -> edit profile settings -> account.
  2. you don't need any certificates on your machine (unless you have gitlab installed on it). the previous problem was with gitlab instalations and it's server certificates (to access gitlab over https). ie: host: http://demo.gitlab.com/ api key: CPcomi7q3qyREs8wkpQz
schmunk42 commented 9 years ago

about 2. We have our local gitlab installation, which uses self-signed certificates to communicate via https. I have the all certs installed on my machine, but the plugin is still complaining about insecure connections.