Installing OpenGL on netbeans 8.2 - java

I am trying to create an java app using openGL on netbeans 8.2. However the only place I have found a way to use openGL on netbeans is through the netbeans openGL Pack:
http://plugins.netbeans.org/plugin/3260/netbeans-opengl-pack
However this was originally desinged for netbeans 6. I found several reports saying that it worked for netbeans 7, so I attempted to install it. I was able to install all parts of it except the GLSL Editor. When I do try install this, I get this pop-up:
Some plugins require plugin Editor Library to be installed.
The plugin Editor Library is requested in version >= 1.29.2.8.2 (release version 1) but only 3.49.2.22.43 (of release version different from 1) was found. The following plugin is affected:       GLSL editor
I cannot find any way to downgrade to editor library release 1(which I probably wouldn't want to do) or install editor library 3 and 1 at the same time. Can anyone tell me a way to successfully intall GLSL Editor and Netbeans OpenGL Pack?

Related

How do I properly setup JavaFX for Eclipse Mars?

My Java specifications: JRE: 1.8_u60, JDK: 1.8_u60
JAVA_HOME is set-up correctly.
I´ve downloaded and installed the latest Eclipse Mars Java SDK (Eclipse Mars.1 / 4.5.1) from the official Eclipse download page and used the installer.
I used the Eclipse update site from e(fx)clipse to install the JavaFX IDE.
As described in the site´s tutorial I should now be able to create FX projects with File > New > Other > JavaFX ...
But unfortunatelly I don´t have any option to create an FX project. There is no sub-section called JavaFX.
How do I set up JFX for Eclipse Mars properly (if my setup does not work at all)? here is one more similar Question asked.
Remove the installed plugin and try installing it through Marketplace.
Edit after the answer was accepted:
Just for clarification, it should also work in the way OP has tried it. Before one tries to troubleshoot why it's not working, it is very convenient to verify that the installation is not working from marketplace either.
Since JavaFX is now on default classpath, you do not need any extra plugin to create a JavaFX application. You can just create a simple Java Project in Eclispe and get started.
But, e(fx)clipse is recommended to install on Eclipse because of the extra features it adds to the IDE.
I just finished installing the e(fx)clipse plugin on my Eclipse Mars to check if your scenario can be reproduced, but unfortunately after installing the plugin & restarting Eclipse, I can create JavaFX projects.
You can either try restarting Eclipse or re-install the plugin again.
As mentioned in previous Question by tomsontom, you can check your status of e(fx)clips bundles. Or you can use All-In-One Download.

Java Me platform issues in NetBeans

I have installed Netbeans 8.0 that comes with pre installed Java ME plugin.
Now when I tried to create a new Java ME project it said No Java ME Platform found. Please add at least one
Also, the field "Java ME platform" was blank. So I clicked on Manage platforms and added Java ME CDLC Emulator Platform and gave the path to JAVA ME SDK.
It discovered the platform and added the devices.
After doing this, the field "Java ME platform" is still blank and I'm not able to select the Java Me platform.
Please help!
Had the same problem during installation on a new PC.
I'm developing for J2ME, CLDC 1.1, MIDP 2.1,
but I just couldn't manage to add a platform that would allow me to compile and run my app on an emulator.
The PC is a 64-bit PC, and I'm using the SDK 3.4, which is 32 bit
so finally I installed Virtual Box, Windows 7 32-bit as guest, and finally it worked
- installed first java jdk-8u25-windows-i586
- then netbeans 8 netbeans-8.0.1-windows
- once netbeans installed, activated java me plug in, there was no need to install it, it's pre-installed
- then java me sdk 3.4 oracle-jmesdk-3-4-rr-win32-bin
- then in netbeans, tools - java platforms, add the platform java me 3.4 just installed
Now I can emulate my app again
There are two kinds of projects available Java ME embedded and Java ME. The Java ME CDLC Emulator Platform is used for Java ME projects.
One thing you should check is the activation step as described here: https://netbeans.org/kb/73/javame/cdc-quickstart.html
For my case I had the EE version of Netbeans 8.0 so I wen to the start page then to plugins and downloaded everything that had to do with JME. I also had to download SDK Java ME SDK 3.2.
I also downloaded the plugins for Netbeans (even though I did the plugin installation through the IDE) Java ME SDK 3.2 Plugins for NetBeans from: http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html. Then went to Tools->Plugins selected the Downloaded tab and finally Add PLugins ...
UPDATE - Tried with NetBeans 8.0 All (contains JAVA ME)
Even after activating the plugins I still had to download Java ME SDK 3.2 Plugins for NetBeans. Only then the IDE is offering me Java ME when I click at new project.
What I did:
1) Activate Java ME plugin, restart the IDE:
2) Install Java ME SDK 3.2
3) Go to Tools add platform. Restart IDE just in case. Still offered only Java ME embedded as project:
4) Go to http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html and download the plugins for the Netbeans IDE. Unzip the file and install them (press ctrl-a to select all the nbm files and click open):
5) Click install. This will install everything needed and it will prompt you to restart the IDE:
6) Restart the IDE and there it is:

Errors while setting up LibGDX on Eclipse

I have been trying to setup LibGDX on Eclipse (4.3). I followed the instructions here: https://github.com/libgdx/libgdx/wiki/Prerequisites and installed both ADT plugin for Eclipse and the Google Web toolkit successfully. Then I used the libgdx-ui.exe to create the libGDX project and on creating it, I see errors in Eclipse.
I am pretty sure I have installed the plugins properly and I have JDK 7 as well.
Any help would be greatly appreciated.
Thanks :)
It seems I have not installed the GWT plugins properly. But on trying to install it from the link, the option to install the SDK does not appear in the list.(Please check the image in the last comment I posted).
1) Android requires (before kitkat) jdk 6. It won't work with jdk 7.
2) After installing ADT plugin, you also have to open android sdk manager and download required api files.
These two should fix your android and java.lang.Object issues. It's better to test an android app on this setup (without libgdx) first.
3) Right click on all warnings regarding classpath entries, eclipse will provide you automatic quick fixes.
If the issue stays after this, the problem is with gwt sdk installation. Now you can follow The project XXX does not have any GWT SDKs on its build path. It should work smoothly as other problems won't interfere with it now.
Hope this helps.

Outdated graphic layout editor in Eclipse

I've got a strange problem. I am using Eclipse Indigo with ADT plugin for Android development.
My problem is that the Graphical Layout Editor is somehow outdated. It doesn't look like the version presented on android developers website. In my opinion, this version is maybe 3 years old, because in Google I/O 2011 there was presented a new version of this WYSIWYG editor. I think, I've got everything updated including Eclipse and Android SDK.
You can check the following things:
Eclipse Indigo is Version 3.7. We're currently at 4.3 SR1 (Keppler). You might want to replace your Eclipse with the current one. Note: You must download Eclipse from scratch. An Update Check for Updates... will update only within the current release (Indigo)
Within the graphical editor of Eclipse, check if you're using an up to date SDK Version and Theme:

GWT Designer not working with Eclipse 4.2 service release 2?

I'm trying to do this tutorial after having installed Eclipse Juno 4.2 service release 2 (Java EE distribution) und following exactly the GWT installation instructions over here.
However, I neither get the WindowBuilder entry under Preferences, nor is there a WindowBuilder entry in the new projects dialog appearing. What am I doing wrong?
I'm running Ubuntu 12.04.02 LTS on amd64, and I have tried oracle jdk 7u17 and Ubuntu's own jdk6 distribution, but to no avail...
Just tried the same in Win2k3. Exact same result. Google is starting to annoy me. GWT 2.5.1 throws an error when trying one of my simplest projects...
Update: it is working to some extent. Meaning: WindowBuilder does not recognize GWT Designer's installation and offers to install GWT Designer for Eclipse 3.7. The designer toolbar's GWT selection possibilities therefore are not there.
Update: bug filed.
Update: bug was closed as won't fix. They don't care.
They do care. GWT is a magical development environment, under constant evolution.
They have to race with new versions of browsers, Javascript and releases of Eclipse, so sometimes tiny things may not be always documented up to date. The tutorial you are trying to run is made for GWT Designer 2.3, GPE 2.3, Eclipse 3.7 & Java 1.6.
This tutorial works also perfectly well for Juno 4.2 SR2 with a few minor changes:
In step 1, just Create a Web Application Project. You can generate project sample code, make sure that things work and then clean it up and stick with the folder layout.
In step 3, just add a class and make it extend com.google.gwt.user.client.ui.Composite. Add an empty Constructor and then you can open the GWT Designer as always, in order to do the rest. The CSS styleName property has been improved. There are tool-tips to guide you.
PS: My tests were made in Ubuntu12.04-32bit, WinXP-32bit and Win7-64bit with JDK1.7.0_17-32bit and Eclipse-32bit.
In case the designer tab does't show up by default, I noticed that I can get it by right-clicking the .java on the package explorer and selecting 'open with ...' 'WindowBuilder Editor'.

Categories

Resources