Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After installing plugin, PHPStorm loads with error #18

Open
ghost opened this issue Apr 2, 2015 · 4 comments
Open

After installing plugin, PHPStorm loads with error #18

ghost opened this issue Apr 2, 2015 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 2, 2015

This is a very similar behavior explained here https://youtrack.jetbrains.com/issue/WI-21507

I tried deleting the directory ./Web... under my home directory, as suggested in the thread and nothing changed. Rebooting phpstorm gave me the same error after, and the plugin doesn't show up in the tools menu.

Here's some breadcrumbs from the log file

11:03:33 AM PluginException: cannot create class "org.wavescale.sourcesync.action.ActionSourceSyncMenu" [Plugin: org.wavescale.sourcesync]
11:03:42 AM PluginException: cannot create class "org.wavescale.sourcesync.action.ActionProjectConnectionConfig" [Plugin: org.wavescale.sourcesync]

PHPStorm version 8.0.3 build ps-139.1348

@asebak
Copy link

asebak commented Apr 2, 2015

Yes because the library is using java 7/8 so if java 7/8 is not the default java on your o/s it loads with error. I noticed the issue to, I recommend the plugin creator to downgrade to java 6 since most intellij plugins use that for compatibility purposes. Not sure if the creator was using java 8, because when I changed my IDE to use java 8 as the default his plugin loads fine.

@ghost
Copy link
Author

ghost commented Apr 2, 2015

I just installed Java 8, restarted PHPStorm, and the same error.

12:07:47 PM PluginException: cannot create class "org.wavescale.sourcesync.action.ActionLocalFileToRemote" [Plugin: org.wavescale.sourcesync]
12:07:56 PM PluginException: cannot create class "org.wavescale.sourcesync.action.ActionProjectConnectionConfig" [Plugin: org.wavescale.sourcesync]

Is there a easier, gui interfaced configuration for telling PHPStorm what Java version to use?

This one here isn't as friendly.
https://intellij-support.jetbrains.com/entries/23395793-Configuring-JVM-options-and-platform-properties

@fioan89
Copy link
Owner

fioan89 commented Apr 2, 2015

Hmmm... it might be one of two issues:

  1. You dont have jdk 1.7 or 1.8 as default. I ' ve compiled the plugin targeting 1.7. As @asebak sugested there were some requests for supporting 1.6 but the thing is this version is out of support.
  2. There are some prerequisites in the plugin manifest that filters out some jetbrains products. I'll have to check the manifest to see if php storm is supported by the manifest. Probably it is if you installed the plugin through jetbrains repository.

But for now I support the first statement.

@fioan89
Copy link
Owner

fioan89 commented Apr 3, 2015

Ok so I've ruled out number two from may list. PHPStorm is not filtered out. Back on your question I think eve though you installed java 8, the previous version is still the default one. So if you don't want to mess with jetbrains config files you can try this if are a windows guy https://confluence.atlassian.com/display/DOC/Setting+the+JAVA_HOME+Variable+in+Windows. If you are using linux search on google per your particular distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants