cant't get NetBeans to compile Java ME - java-me

I've been trying for the past 5 hours to make my java ME application to compile without any luck.
System:
W7 64X
NetBeans 7.0
Java JDK 32X
Error Message:
Execution failed with error code 1.
I've done the following things trying to fix it.
Added runMidlet to DEP.
turned off my anti-virus/firewall.
reinstalled and rebooted 5 times prolly.
and something I found on google.
Please edit <javamesdk_installdir>\toolkit-lib\modules\bootstrap\conf\system.properties and reconfigure the device-manager.object-registry.host=localhost to: device-manager.object-registry.host=127.0.0.1
And one other thing that can be the causes for this issue is the Port 1299 might be taken
Please edit <javamesdk_installdir>\toolkit-lib\modules\bootstrap\conf\system.properties and change
device-manager.object-registry.port=1299 to: device-manager.object-registry.port=1999
the only thing that has changed since I started is that now I get the error after 10 sec and before it was after 24sec.
Any kind of help is appreciated!

mine solved by installing standalone Java ME SDK http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html then in the netbeans go to Tools > Java Platform then remove default J2ME Platform, next click Add Platforms and locate your new Java ME SDK.
if that still failed try uninstall Java ME Plugin in Tools > Plugins > Installed then install Mobility in Available Plugins Tab

I do not know how you added JME SDK 3, but check bellow my setup

Related

"Gradle sync failed: process finished with non-zero exit 2"

I have found nothing to help me solve this problem, even though similar issue have been described in Stackoverflow, none which solve my problem. So here we go again.
I installed Android Studio in Ubuntu 14.04 (switching over from Windows 10). Followed the instructions as posted on Ubuntu site. Started a blank project and immediately got the following Gradle error:
Gradle sync started
8:54:11 PM Gradle sync failed: Process 'command '/opt/android-studio/jre/bin>/java'' finished with non-zero exit value 2
This is an empty project. All default settings. I'm at a loss. Maybe the ease with which I managed to get projects going in a Windows environment has led me towards unreasonable expectations with this Linux version... dunno.
I had this problem 2 days ago and changing the JDK path worked for me..
I downloaded Oracle jdk..
I hope that helps you
and Happy coding.
I have just solved the problem ,I think there is a problem in the default jre that comes with the android-studio (..../android-studio/jre) you can change it and see if it works for you.
find the java installed directory readlink -f $(which java) will reveal the path, in my case /usr/lib/jvm/java-8-oracle/jre/bin/java
right click on project > open module settings then go to sdk location in the left panel set your jdk location.
if you don't have oracle jdk installed then you can try with openjdk .If it shows the same kind of error ,remove open jdk and install oracle jdk.
Hope it helps.

Jenkins 2.14 - Cannot create new job -> empty page

I've done a fresh installation of Jenkins 2.14 on Debian (apt-get install jenkins). Installation is correct, proxy is well configured.
But when I try to create new Job (New item), I've got an empty page.
I'm an administrator with all rights so I guess it is not a problem with rigths management.
There is no errors in logs even if I set the log level to all.
Any clues will be greatly appreciated.
EDIT : I try with firefox and Chrome. Same result.
EDIT2 : I try with 2.13, 2.10, 2.3 without success. When I came back to 1.656 the new Job widows is displayed normally.
Jean-Marc
I was facing the same issue when I upgraded from 1.5 to 2.66 . After a little research I got my issue resolved. what I did is just upgraded the plug in external monitor job plug in to latest version 1.7 as of now.
References : https://issues.jenkins-ci.org/browse/JENKINS-36875
https://issues.jenkins-ci.org/browse/JENKINS-36875
https://wiki.jenkins.io/display/JENKINS/Build+Environment+Plugin

I stopped the installation of package abruptly in sdk manager in Linux. Thereafter the window does not open

I am using Android Studio in Ubuntu 14.4 lts. While installing certain packages through Sdk Manager, i stopped them, as i realized i didn't need them. After which i could not open the sdk manager altogether.
I tried running it from Android-Studio,
I tried running it from the terminal by entering the installed android folder then Sdk/tools and executing ./android as well as ./android sdk
I tried separately downloading stand-alone sdk tools and tried running it , but that didn't help too
I found such problems already dealt but in Windows, there the path is edited or the java_exe is set.
But i dint find any useful suggestion in case of Linux.
I am finding things really helpless by now. Please help!

android studio device monitor error "Java has started but returned exit code = 13"

When i start android device monitor in android studio "Java has started but returned exit code = 13" error with java path files is displayed.
I am using "android studio (beta)0.89"
I fixed this problem on my Windows 7 computer by installing the 64 bit version of Java 8. I did not have to uninstall or downgrade Java.
Be careful when downloading the Java installation. According to this FAQ, you will probably end up with 32 bit if you use the default installation.
Manually select the 'Windows Offline (64-bit)' version here, rather than letting the Java website choose for you.
This has happened to me just now after installing the latest Java version (v8) which for some reason only comes with 32-bit support while my PC is 64-bit.
I fixed the issue by uninstalling the version 8 of Java which automatically downgraded to Java 7 and it works fine.
I have been able to fix this issue by uninstalling the 32-bit Java 8 version I had, and then installing the latest 64-bit Java 8 version instead. (I didn't have to downgrade)
I think you are trying to open the wrong version of the monitor.exe it might have been changed during an upgrade. Under sdk/tools/lib there should be both the 32 and 64 bit versions under the "monitor-x86 or _64" folder. try either one if it works good. If you want to download the 64bit java version you must use a 64 bit browser. example in IExplorer 11 + you can change it back to 32 bit and back to 64 bit when needed. I did try the java upgrade before and was still getting the java error.
Install both 32 and 64 bit of Java 8. That fixed it for me.
Follow the path provided in the error pop-up. Add the java path in the eclipse.ini file located in the monitor folder in android studio.
Add : -vm
C:\Program Files\Java\jre7\bin\java.exe(Path to your current java file)
Before: -vmargs
If you are running win8.X just go to control panel and uninstall the java 8 version and after everything works fine.
I ran into this issue, even though I had the latest x64 build of the Java 8 JDK installed and set to the JAVA_HOME environment variable.
For me at least, the first line of the error popup shows that it is using Oracle's symlink at C:\ProgramData\Oracle\Java\javapath to find the correct location of javaw.exe. In my case, this was actually pointing to the x86 build of the same version of the JRE, which I also had installed for some reason.
I ended up cleaning house and uninstalling all versions of JRE/JDK, and then reinstalling the latest x64 JDK. This realigned the symlinks, and now it's running smoothly.
Most of the other answers should help resolve this same problem, but for diagnostic purposes if you do have the x64 version installed already, it will probably help to check C:\ProgramData\Oracle\Java\javapath.
[SOLUTION]
Go to following file in your android SDK
Sdk\tools\lib\monitor-x86_64\monitor.ini
and add following line, you might have to change the path to your java
-vm C:\Program Files\Java\jre7\bin\java.exe
just before "-vmargs "
Found solution:
Uninstall Java 8 Update (64-bit)
Install Java 7 Update 71 (64 bit)
I also downgraded JDK from 8 to 7, but it might be not required

Eclipse(Indigo) launch failed after google app engine plugin install

After installing the google app engine plugin, eclipse failed to launch.
Following is the error statement i got
Job found still running after platform shutdown. Jobs should be
canceled by the plugin that scheduled them during shutdown:
org.eclipse.ui.internal.ide.IDEWorkbenchActivityHelper$4
I am using eclipse on Linux(Fedora 16).
Can someone kindly help me in resolving this issue?
Thanks
Problem Solved.
The problem is with
org.eclipse.mylyn.tasks.ui_3.6.2.v20110826-0100.jar
Removed it and eclipse is working.
The location is /opt/eclipse/plugins. I am still getting this error after deleting jar. I am using Eclipse Indigo and using ubuntu 12.04. I think there is some other problem for it.
J.M.
On Mac the jars are located e.g. here (I am running both indigo and juno)
/Applications/eclipse/plugins/org.eclipse.mylyn.tasks.ui_3.8.1.v20120725-0100.jar
/Applications/eclipse/plugins/org.eclipse.mylyn.tasks.ui_3.8.2.v20120916-1200.jar
/Applications/eclipse_indigo/plugins /org.eclipse.mylyn.tasks.ui_3.6.5.v20120215-0100.jar
/Applications/eclipse_indigo/plugins/org.eclipse.mylyn.tasks.ui_3.8.2.v20120916-1200.jar
I ended up following
http://expertdevelopers.blogspot.com/2011/07/eclipse-troubleshooting.html
which suggest to remove the files. And since I did not understand which files I ended up removing:
rm //.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/*

Resources