Eclipse (Luna) shows blank widgets throughout - java

I'm running the latest Eclipse (Luna, CDT edition) and am having a strange problem where many widgets throughout various menus are blank. I have tried updating from an earlier version of eclipse, downloading a fresh version, and using new user accounts with empty workspaces, but nothing seems to populate these windows. See below for an example of one such blank window.
Could there be a missing library that is needed to update these widgets? No errors appear on the command line when starting eclipse.
OS: Fedora 19, KDE 4.11.5
Java: 1.8.0_25
Eclipse Version: Luna Service Release 1 (4.4.1)
Eclipse Build id: 20140925-1800
Example blank window:

I had the same problem. The fix for the tab height issue helps since its a GTK2 vs GTK3 issue.
If you have an eclipse.desktop file you could start eclipse as:
Exec=env SWT_GTK3=0 /path_to_eclipse/eclipse
or use:
#!/bin/bash
export SWT_GTK3=0
/path_to_eclipse/eclipse

Related

Netbeans IDE Project Window not visible

The project window within Netbeans IDE is not being displayed. I tried bunch of different things, but the Project window does not open at all.
Things I already tried:
Tried with multiple version of Netbeans and JDE, currently using Netbeans IDE 8.2 on MAC.
Tried to reset windows using Reset Windows, cmd 1, open existing project,
create new project. But still the project window does not open within
Netbeans IDE.
I made a clean install on MAC with different version of Netbeans, but the issue remains in all. Any suggestion would be helpful.
Have you tried running it with java 8? If you're using java 9 or 10, you don't get a Projects window because NB 8.2 isn't compatible with them.
There's more info at How can I install Netbeans with JDK 10.
This is a known issue in Netbeans 8.2. It happened to me when I upgraded my Ubuntu from 16.04 to 18.04. The root cause is that the java version was upgraded to 11 along with the OS.
You can fix this by doing one of the following:
Change the default jdk/jre version in the OS to java 8.
Change the jdk version to 8 in Netbeans by changing its configuration (etc/netbeans.conf). The configuration name is netbeans_jdkhome
like #rocko say, (I don't have 'add comment' right yet, so answer this frame )
I encounter same problem in NB 12.0 .
DEAL) ...my action
I changed JDK1.8 → JDK 11 setting in netbeans/etc/netbeans.conf
After launch NB, then open new project.
Project tree appeared and usable again.
#netbeans_jdkhome="C:\xxx\jdk1.8.0_242"
netbeans_jdkhome="C:\xxx\jdk11.0.3_7"
Environment
win10
corretto
To see projects or files when they disappear on NetBeans, just follow the steps in the image below.

IntelliJ - java: Cannot find JDK '1.8'

Update: Not sure why this is marked as a duplicate. I had already linked to the other post stating that none of the suggestions / answers work for me. In addition, their question seems to be related to an issue using Windows VMs via Mac, which is irrelevant for me.
I am using IntelliJ IDEA 14.0.3. I have selected the 'Java Hello World' sample. When I try and run the program I receive the error: "Error: java: Cannot find JDK '1.8' for module 'Deliverable4'. I have tried every single suggestion from this post intellij - java: Cannot find JDK '1.7' for module but still can't this to work. Any help would be greatly appreciated.
Go to:
File => Project structure
And check: Project, Modules and SDKs tabs:
If at SDKs Java 1.8 Sdk isn't selected just add it.
And press OK.
I suddenly started seeing this issue when upgrading my Java SDK from 1.8 to 10.
I went to File > Project Structure > SDKs, JDK home path was in red so I clicked the folder icon to the right of the path.
Even though the Finder window that popped up already had me in the correct directory /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home (maybe it dropped me wherever my newly updated classpath said Java was?), the path that was displayed in red wasn't the same as that path. Instead, it was using the old one, something like /Library/Java/JavaVirtualMachines/jdk-1.8_(???)/Contents/Home. Clicked OK and the JDK home path was updated to the correct directory, clicked Apply/OK and everything was fine after that.
For reference,
IntelliJ IDEA 2018.2.1 (Community Edition)
Build #IC-182.3911.36, built on August 6, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.12.6
Updating from IntelliJ version 14.0.3 to 14.1 seemed to fix the problem.
If the update solution given above doesn't work for somebody, consider not using the bin directory like the one used in the PATH environment but rather the java root directory. In short instead of:
path_to_java_folder\java\bin\
use:
path_to_java_folder\java\
and everything will work just fine.

Google plugin for Eclipse Luna not showing the icon

I have been around 4 hours trying to install the Google Plugin for Eclipse Luna. I followed every step of the installing guide but when i finished the Google Logo for starting a new project didnt appear as it should:
As you can see even though i have the plugins installed i cant see the icon or start a new web project.
My operating sysyem is OSx Yosemite. I tried updating to Java 8 and JDK 8 (and 7) and deleting all the files as this question recommends. Also deleted and "reinstalled" eclipse and the plugin a lot of times but didn't workout.
Anybody with the same problem? Thanks a lot.
I had the exact same problem on my new MacBook. I had to install JDK 7. I downloaded and installed the Mac OS X x64 version of 7u75 from here:
JDK 7 Downloads
After it installs make sure it's the system default by executing the following from the Terminal:
/usr/libexec/java_home
If it looks good to go then just restart eclipse and you should be good to go.
I suggest you even to delete your Eclipse_Luna:
Re-install your Eclipse and then install the GAE-plugin again.
Remember to re-start your Eclipse after you've successfully install the GAE-plugin for Eclipse_Luna.
I faced the same issue.
I installed JDK 1.7 and used 1.7 jre for eclipse as mapped and downloaded the eclpise plugin AND restarted and it worked fine.

GWT installation issue with eclipse...?

I am using os x 10.9.1
I need to install google plugin for eclipse for using google web toolkit. I have eclipse juno, so I just follow link for install it. But it not work for me, not go ahead because below issue
So, I move to install latest version of eclipse kepler and follow link for install plugins. After all installation finished with some different issues and restart eclipse kepler it shows me java version error.
And same thing show me when I check through terminal
but when I check in my java preference, it show me latest version installed on my mac.
*********************Edited from here*********************
After downloading java 7 and installing it(as per one of comment in link),again check in terminal give me new version
I restart my eclipse and starting error is not there. Just go ahead and create GWT project, and now
Stuck again...!?!
Open eclipse.ini form your eclipse folder and set the following parameter as shown in image
-vm
//your java7-dir/bin/javaw.exe (use mac javaw in your case)

Cannot create JavaFX project in Eclipse Kepler

I've installed JDK 1.7.0_45.
I've got my JAVA_HOME system variable pointing to installation folder.
Typing java -version in comman line results in "java version "1.7.0_45" output.
I've got Eclipse Kepler with e(fx)clipse plugin.
In Eclipse, in "Installed JRE-s" tag I've added the new JDK and set is as default.
I clicked New -> JavaFX Project and filled Project name.
The only buttons available are "Back" and "Cancel". I don't see any errors.
The only other element available is "Configure" button in "JavaFX Runtime Configuration" section.
The section contains message saying: "currently there are no configured runtimes".
I'm confused. I don't have a separate JavaFX runtime, and when I go here: http://www.oracle.com/technetwork/java/javafx/downloads/index.html it points me to JDK 7 I've already downloaded with explanation that "JavaFX is co-bundled with JDK 7 for Windows, Mac and Linux, it contains all the latest features and security fixes."
What am I missing? How can I create a JavaFX project in Eclipse?
I've found the solution.
I've uninstalled all plugins related to JavaFX (it turned out there were two of them) and then reinstalled e(fx)clipse from update site: http://download.eclipse.org/efxclipse/updates-nightly/site.
Everything works as expected now.
You only have to add the 'jfxrt.jar' file to the path of your project. And it works! Is not necessary another plugins, just that.
P.D: It works for me on Mac OS with eclipse Kepler. In case it didn't work, install e(fx)clipse and try again.

Categories