kstenschke / shifter-plugin

Intelligent string/code manipulation plugin for Jetbrains IDEs: Detects shiftable type of word/line/selection and manipulates it on keyboard shortcut
http://plugins.jetbrains.com/plugin/6149
Apache License 2.0
105 stars 13 forks source link

Won't load on Java 1.7, OS X 10.9 #5

Closed cdlm closed 10 years ago

cdlm commented 10 years ago

I get this message when launching IntelliJ, which suggests you compiled the plugin with a too optimistic JRE compatibility setting : com/kstenschke/shifter/ShifterSettingsComponent : Unsupported major.minor version 51.0 [Plugin: Shifter]

I just updated my JDK, but that had no impact :

$ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
kstenschke commented 10 years ago

Hi Damien, thanks for your report and the details. Strange thing is- i am running exactly the same Java version as you are (on Ubuntu). I will try to have a look into this, or compile newly with a lower JRE compatibility setting. For the time being you could also download the plugin code from github and try which settings work for you, if you do- i'd appreciate to read your findings.

Greetings, Kay

cdlm commented 10 years ago

Unfortunately I have little experience with building IntelliJ plugins… I tried loading the code but it seems I need some sort of additional SDK to be able to compile it ?

kstenschke commented 10 years ago

i now compiled a version of Shifter using JDK 1.6 (think i used 1.7 before). you can temporarily find it at: https://github.com/kstenschke/tmp-shifter-JRE1-6 as i cannot reproduce the problem you describe, please let me know if this version runs at your place. i'd than update the release.

cdlm commented 10 years ago

That version seems to load and work fine. I don't get any warning at startup and the feature is back. Thanks !

kstenschke commented 10 years ago

Thank you Damien. P.s. If you like the plugin, please leave a rating at the repository: http://plugins.jetbrains.com/plugin/6149