For some reason, in JDeveloper, trying to add a new .jsf page, it stalls at showing "Waiting for Designer to initialize Rendering page" and never completes the designer view.
Windows 7,
Oracle JDeveloper 12c,
Studio Edition Version 12.2.1.3.0,
java version "9.0.1",
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
Is there a version conflict or update needed?
thx
It's hapening normally in each and everyone's machine.
Sollution : Click on the source tab and wait in it for a while then click the design tab. Then you'll see the page.
It occurs to me too and I'm using that way.
JDeveloper is not certified to work with JDK 9.
Try running it with JDK 8.
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/122-cert-2708091.html
Related
I am trying to migrate a tomcat server.
Both are using tomcat7 version and all is supossed to be ready to take my java/jsp files from one server to another.
I did and I got UnsupportedClassVersionError error.
It was normal as in the old one I had JRE 1.8 version and in the new installation I had JRE 1.7 version (both from Oracle).
I proceeded to upgrade the second to 1.8. And everything was fine as in the new the output for java -version is:
java version "1.8.0_191" Java(TM) SE Runtime Environment (build
1.8.0_191-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
While in the old one:
java version "1.8.0_131" Java(TM) SE Runtime Environment (build
1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
In both echo $JAVA_HOME outputs:
/usr/lib/jvm/java-8-oracle
I restarted tomcat and server itself... but the UnsupportedClassVersionError persists.
I don't know if:
Somewhere I still point to the JRE 1.7 installation
Or 1.8.0_191 is considered another version than 1.8.0_131
Note: the compiler is the same as they have not been recompiled. Just take the compiled ones from old server (where there is no problem version) to the new one.
Has anyone a hint for me?
Thank you very much
As pointed in comments, sometimes JAVA_HOME is not checked and the decision on what jvm should be used is taken with another criteria (can't say which ones). So removing the old version of java forced the process to choose the desired one as it was unique.
I am new to this community and have this problem:
I downloaded the IntelliJ IDEA IDE for Windows (x64) and i can not run a single line of code, there always comes the error message:
Cannot start compiler: the SDK is not specified for module "XY".
Specify the SDK at Project Structure dialog.
I followed the instructions on their Website and downloaded the SDK for Windows x64 here.
Now I used to set up everything, but it doesn't work as planned. In fact it is the same error as before.
I am glad for any help, thanks! :)
First make sure you have installed JDK on your system. Open the command line and type: java -version.
You should get something like:
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
Then open your project in IntelliJ IDEA and go to Project Structure → Project tab (Ctrl+Alt+Shift+S on Windows OS) and add new JDK by providing its local path like C:\Program Files\Java\jdk1.8.0_60:
When I am debugging JavaFX project and debugging process stops on a breakpoint i can't use a mouse. I can move the cursor on the screen, but left, right buttons and wheel don't work. More than, the mouse doesn't work system-wild: if I switch an active window the mouse won't work in this window too. Keyboard works well.
I use:
IntelliJ IDEA 2016.2.3
Build #IU-162.1812.17, built on August 30, 2016
JRE: 1.8.0_112-release-b287 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
KDE Plasma 5.5.1
QT 5.5.1
Kernel 4.4.0.36-generic
→ java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Also, this issue appeared on other DEs (xfce) and different hardware (on my laptop).
A solution is listed here: https://netbeans.org/bugzilla/show_bug.cgi?id=253594
To use this in IntelliJ - Go to Run -> Edit Configurations, and add:
-Dglass.disableGrab=true
to VM Options.
Edit: Heads up - this messes with Drag/Drop events, possibly causing them to not work or work unexpectedly. If you are implementing drag/drop this solution is problematic.
I was using openjdk 7, then all of a sudden I wasn't able to stream a video with JWplayer. I tried setting $PATH in Ubuntu 14.04 among lots of other things until I just gave up and purged openjdk completely. I installed Oracle 8, and I still get the same issue.
$ java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
The videos just say that Java is not installed, to install it and restart my browser, etc.
This is extremely frustrating. Any ideas?
JW Player does not make any use of Java at all. It is a script written in Javascript, which is simply part of your browser.
As you can see on this screenshot:
Some buttons on this window are missing
The "Please wait..." text does not change change and nothing is loaded
I can close the window but I can never create a project
I tried to re-install and delete all Netbeans related stuff but the problem remains
It seems related to a Java VM problem but Eclipse and PhpStorm are working without problem.
My Java version:
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.10.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
My system is Ubuntu 10.04 LTS.
As explained in the installation instructions you need the JDK7 if you want to use any of the Java features.