Java Me platform issues in NetBeans - java

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:

Related

The JDK is missing and is required to run some NetBeans modules what should i do to fix

I am new with programing and i wanted to install netbeans in my macbook but i kept having this text " The JDK is missing and is required to run some NetBeans modules Please use the --jdkhome command line option to specify a JDK installation or see http://wiki.netbeans.org/FaqRunningOnJre for more information.”
That means you need the Java Development Kit (JDK). It is important for running files and develop those. You can download the newest version of the JDK under: https://www.oracle.com/java/technologies/javase-downloads.html
If you already have a JDK installed you must change the config file of NetBeans.

Installing OpenGL on netbeans 8.2

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?

Java ME: Emulator shows no GUI

I'm using Netbeans 8 and I've activated the Java Me and installed the platform. But when I click run project I see this window:
Where is phone emulator with the GUI view and how can I get it?
According to this page you can develop to MIDP with Netbeans. But at the download page is not available on any bundle.
I downloaded the Java SE version and went on Tools .. Plugins .. Available. There I found Java ME plugins. After install, unfortunately the New Project wizard only showed Java ME Embedded option. I believe this is what happened with you. Be sure to check the Visual Mobile Designer (Mobility category) this will add the options to Java ME projects.
But you still need to add Java ME Platform manually... Download it from here. Then go to Tools .. Java Platforms .. Add Platform .. Java ME CLDC .. Selected the folder where you installed the SDK.

Glassfish eclipse Plugin with jdk 8

Im trying to launch glassfish-4 using glassfish-eclipse-plugin. Unfortunately it does not seem to recognize the JDK-8 Release candidate i just installed (The "Finish" button stays disabled).
Finish button will be enabled if i select a java 7 jdk
Is there any options to work around this?
Now Lambda support works "out-of-the-box" if using below combination of software
Oracle JDK 8
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Glassfish from 4.01 branch
http://dlc.sun.com.edgesuite.net/glassfish/4.0.1/nightly/latest-glassfish.zip
Eclipse 4.4 Luna
http://www.eclipse.org/downloads/ (pick the java ee package)
I had the same problem getting Eclipse Luna and Glassfish to play nicely. I scrapped everything, re-download and installed eclipse-jee-luna-R-win32-x86_64. And then upon creating a new dyanmic web app in Eclipse I had install a new extension for the server runtime environment. That extension was the GlassFish Tools extension from Oracle v7.2.1.2014071142. An Internet connection was required in order for Eclipse to find this. And Voila! So far, so good. Your mileage might vary.

IBM Worklight Version 6.1.0 with embedded WL Development Server on Win 7, consistent Android build error

On Windows 7, have installed:
1) Eclipse Standard 4.3.1 64 bit edition,
2) 64 bit JRE deployed in Eclipse folder,
3) IBM Worklight Studio version 6.1.0 from Eclipse Marketplace, and finally
4) ADT deployed from Eclipse Marketplace.
Creating simple default Hybrid Hello World app.
I do a "Run As Android Application" and get the error: "The project was not built since the build path is incomplete. Cannot find the class file for the java.lang.Object.
Details attached in screen captures. Odd since I am including the JRE as is evident in the Build Path preferences shown in the attached screen captures below.
Have tried this on two different clean computers and get the same error.
Open android sdk manager and install android api level 18 you're missing and restart your IDE

Categories

Resources