I am totally new at programming with Java and mobile App development. I have installed Netbeans v8.2 (the full bundle) then installed Java ME 8.3/8/3.4, but every time I go about adding any of the platforms it tells me that the detection's failed. I then tried to add Java ME manually but when I write in a new file it doesn't seem to recognize any of the standard built-in functions. Also, tried installing the Java Me plugins from the site, but it made no effect of adding any features to the IDE. How could I get the IDE to detect Java ME platform?
I have JDK x64 v8u144 installed and Netbeans had no problems with detecting it.
Have you tried installing JAVA ME SDK 3.4? It contains plugins for netbeans and the SDK of the same instead of installing of the Java ME 8.
I was facing the same error.. Installing Sun Java Wireless Toolkit worked for me.
Link: http://www.oracle.com/technetwork/java/index-jsp-137162.html
The issue is with JDK version. The issue was resolved by downgrading from jdk-8u241 to jdk-8u112. I'm using Netbeans 7.4 and Java ME SDK 3.4.
Related
In Netbeans 8.2, it says to use Java JDK 8.1 or higher. When I use the latest version of JDK, Netbeans will load up but I can’t open or make new projects. When I get 8.1 I can’t use certain features of languages, like timers in Java.
What JDK should I use to have both Netbeans functioning and have all features of Java usable?
This document describes how to install NetBeans IDE 8.2 on your system. Please see the NetBeans IDE 8.2 Release Notes for information about supported operating systems and hardware configurations for the IDE. To learn about the new features included in this release of the IDE see the NetBeans IDE 8.2 Release Information page.
And use 8u191 or 8u192 for Netbeans 8.2
Somewhat specific to Ubuntu, or at least Linux: install Java with SDKman which is somewhat like RVM but for Java. Quite simple to install, it will then manage your JDK versions.
Additionally, umake, or ubuntu-make, will install your IDE or other developer tools. This utility is best installed through the snap package manager to get the latest version.
From umake it's a simple command to then install developer tools such as NetBeans. Currently this installs NB 8.2 which will not run on any JDK nine or higher.
Use SDKman to manage your JDK version (and gradle, and kotlin, and ...). Use umake to handle your IDE version.
My two cents
In the next week or so, umake should upgrade to NetBeans o. There was a bit of a mixup when Apache took over but the umake maintainers are on the ball.
Or, just download NB 9 directly. You'll have to use an older JDK, as specified in the first answer by user5377037.
Why are you running NB 8.x?
I'm using Eclipse to program Android applications, and when I opened the program yesterday, it popped up an error saying I need to install JRE - I've downloaded the JRE and installed it - when during the installation I got a message saying that the JAVA version I have on the computer (Version 7) is too old for the JRE (Version 8), and that I need to update the JAVA also.
I did so, and then opened up the Eclipse again - And all of the projects,that before worked great, are now full with errors.
I tried installing all of the SDK updates - didn't work, also tried uninstalling Eclipse and re-install it - also didn't work.
The errors I get are: "XXX cannot be resolved to a type" - in amost every single line in the project.
How do I fix it??
Thank you!!
android development tool(adt) are install.. and all update SDK and then import an old program.. Ithink then work.
I would suggest to check that your java build path is functioning properly. This kind of error for me usually means that eclipse cannot find the JRE installation.
Form eclipse you can go to Project->Properties and check for any errors there. Any inconsistency there would cause all your projects to fail.
First of all, you need the JDK installation, not JRE. Second, Android currently supports up to Java v7, which means you'll need to get JDK v7 from here. Make sure you download the correct 32-bit or 64-bit JDK version for your operating system.
Also, ensure your Android SDK and Android Development Tools (ADT) are on the same released version. Different versions of Android SDK and ADT can lead to many unforseen problems.
I have google about it online but didn't help and here I am posting my question. I have eclipse version platform version=3.8 which I downloaded from https://developer.android.com to create a android application. Now when I declare a arraylist <> in my program it doesn't recognize it. I read few questions here saying you need to have a version Eclipse version >= 3.1 to be able to increase Java compiler over 1.7. But now my question is when I already have 3.8 why the Java Compiler options are not showing above > 1.7 for me to select. Is android project and eclipse java project a separate thing? I opened eclipse and created this android application project. Appreciate your time and help.
You forgot to use new.
Android application should use java 1.5 or 1.6.
Android is not supporting 1.7.ArrayList<object> abcd= new ArrayList<object>();
And if you want to use java 1.7 in Java application project. Java 1.7 should be installed in your PC.
my guess would be that while you run eclipse itself with jdk 1.6, it's actually configured with a different default jre. see window->preferences->java->Installed JREs and make sure that the checked JRE is 1.6.
if the default JRE is indeed 1.6, chances are that it's a project specific setting. see that the project is configured to use the right jre.
I have two versions of netbeans installed on my windows 7 PC i.e. 6.5.1 and 7.0. Java Module is installed in 6.5.1 and c/c++ in 7.0 . I want to transfer java module from older one to newer one but unable to find any help on Google.
Actually, I want to install java ME SDK 3.0.5, which requires netbeans 6.9 or higher. I have very slow internet connection, so, It will take long time to download it from internet connection.
Any help would be appreciated.
I doubt that the old module will work with the new version of netbeans. Just go to tools->plugins and install the Java plugin and hit accept to the additional required dependencies that it will need. It may take time, but it will get there.
Ok, I have Netbeans 6.7.1 installed with the default Java SDK. I'm using Linux Mint.
Now I'm told that I have to download Java Platform Micro Edition Software Development Kit 3.0
So, should I download this? And once I download and install this in Linux, what do I have to install for Netbeans so I can create a Mobile Application? I'm fairly new to this environment so please any advice is welcome! :)
Make sure you have Java installed (version >= 6 ) and then simply go to: http://netbeans.org/downloads/ and download the version that comes with JAVA ME support. Then install it, and you are ready to go :)
And no, you shouldn't download JAVA ME SDK 3.0 since it is not supported in linux. sigh
While at it I'd recommend you to read also the links below:
Also if you're just getting started here are some nicely written tutorials with examples:
http://today.java.net/pub/a/today/2005/02/09/j2me1.html
http://today.java.net/pub/a/today/2005/05/03/midletUI.html
http://today.java.net/pub/a/today/2005/07/07/j2me3.html
http://today.java.net/pub/a/today/2005/09/27/j2me4.html
I think this only applies if you download a version without JavaME modules. If you download the version with JavaME modules, you don't have to do this. The provision is to allow you to install multiple versions of the emulator (including Nokia's) and work with them.
If you have downloaded a version of NetBeans without ME, then do this
1. Download the JavaME SDK and install that eg. /opt/java/javame
2. Install ME modules in NetBeans. Tools -> Plugins -> Installed and activate JavaME
3. Add the SDK in NetBeans Tools -> Java Platforms -> Add Platform -> Java ME Platform Emulator and follow the instructions
I'm using NB 6.8 BTW.
In NetBeans, go to the "Tools/Plugins" menu, then in the "Available plugins" tab, select the plugins which are part of the "Java ME" category. now click "instal"... NetBeans will take care of downloading, installing and configuring everything for you.