mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
RUBY-9224 Rubymine reports "Java version not supported. . " When using JDK 1.7.0 on Fedora 15
This commit is contained in:
@@ -33,7 +33,7 @@ import java.awt.*;
|
||||
public class OpenJdkNotifier {
|
||||
public static void checkJdk(MessageBus bus) {
|
||||
final String vendor = System.getProperty("java.vendor").toLowerCase();
|
||||
if (!vendor.contains("sun") && !vendor.contains("apple") && vendor.contains("oracle")) {
|
||||
if (!vendor.contains("sun") && !vendor.contains("apple") && !vendor.contains("oracle")) {
|
||||
bus.connect().subscribe(AppLifecycleListener.TOPIC, new AppLifecycleListener.Adapter() {
|
||||
@Override
|
||||
public void appFrameCreated(String[] commandLineArgs, @NotNull Ref<Boolean> willOpenProject) {
|
||||
|
||||
Reference in New Issue
Block a user