DevCenter 1.5.0 won't start, even though it was working a few days ago. I have already tried as suggested by the answer to this question : Datastax Devcenter 1.1 fail to start
However it didn't work for me. It did lead me to think it might be due to having updated to Eclipse Mars Yesterday, perhaps?
Any ideas would be great. Thanks in advance.
In response to the comments below I am running windows 7. Also I just realised that even though my JAVA_HOME is set correctly I am gettng this error when I run java -version:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\username>java -version
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Update : I fixed the java -version issue above by removing java.exe from C:/Windows/System32/ . But DevCenter is still not working.
OS: Windows 10 Pro
Dev Center - 1.6.0 (downloaded as zip. to run, we need to unzip and it's ready to go)
Today I faced a similar problem and was able to resolve by deleting/uninstalling the current Dev Center and re-installing. When you delete manually, make sure you delete the .devcenter folder. You will then have to reconfigure the connection(s) that you were using.
-Regards
This issue occurs on my computer. it's was resolved.
do you make sure setup python 27 and java sdk 8u ? if was set up and it's not running you can check previous version 1.5
Related
This problem occurs on a in-house customized version of Eclipse Luna with Jdk 1.7.161_1_win and tomcat 7.0.64_4 on the Windows 10 platform.
Background:
tomcat server originally launched fine. Then last May we started having Permission Denied issues on Windows 10, but not on Mac. The issue was fixed on Windows 10 by adding the directives
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false
For a few weeks this solved the problem, but then the problem resurfaced. We were not able to find a fix and we moved on to starting the app on Mac (High Sierra, same jdk, same tomcat, same directives) . It started on Mac just fine
Later we realized the starting the tomcat sever using the tomcat7 plugin with the goal tomcat7:run-war-only maven plugin works fine with no Permission Denied issues on Windows 10. So it seems there is an issue with eclipse Luna bringing up tomcat 7 on Windows 10 and jdk 7 that causes this problem.
Any body has seen this issue before?
Please note that as I said we tried the
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false
but it is no longer fixing the problem.
One more piece of information to add is that this problem did not occur on one of our developer windows 10 boxes until a month ago on Windows 10, but as of a month ago he started having the same problem on his Windows 10 box.
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.
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
I'm using 64 bit Windows 8. It was fine yesterday, and it just failed to start. It shows the loading screen, but it just stop right there.
Anyone has the same problem? Any fix? It has happened to me twice with my old pc, which were using 32 bit Windows 7.
While I haven't heard of this issue before, here's something that will hopefully fix the issue:
find a directory called .devcenter in your user directory (that should be \Users\<youruser>)
move this directory to a different location
start DevCenter
If this doesn't work:
in the same \Users\<youruser>\.devcenter\logging folder find the log.txt file; you might be able to see the root error
there is a newer version available (1.1.1)
Some time this can be due to Java version. For me it was failing because I was using Java 9. It worked fine after downgrading to Java8. Confirm compatibility of your devcenter and java
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