gitlab-integration-plugin icon indicating copy to clipboard operation
gitlab-integration-plugin copied to clipboard

Unsupported major.minor version 51.0

Open lucacri opened this issue 10 years ago • 9 comments

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 )

lucacri avatar Jul 12 '14 04:07 lucacri

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

dneves avatar Jul 12 '14 10:07 dneves

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.

schmunk42 avatar Jul 21 '14 16:07 schmunk42

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

ghost avatar Sep 03 '14 12:09 ghost

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

renestalder avatar Oct 13 '14 11:10 renestalder

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 avatar Oct 14 '14 11:10 dneves

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.

dneves avatar Oct 15 '14 09:10 dneves

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

  • I'd add also an info to the settings page, where to obtain your API key
  • I have my private certificates installed correctly on my system, but it looks like PHPstorm or the plugin does not find them (OS X Keychain)

schmunk42 avatar Oct 15 '14 09:10 schmunk42

  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

dneves avatar Oct 15 '14 11:10 dneves

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.

schmunk42 avatar Oct 15 '14 12:10 schmunk42