Android DDMS is blank - java

I am trying to open DDMS from tools folder in android sdk (monitor), but it just show blank view and then freeze
java -version result:
➜ ~ java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)

Finally i fixed the issue via downgrading the jdk from jdk-8u161-macosx-x64 to jdk-8u151-macosx-x64

Related

how to change the java path that is being referenced

I had had previously installed java on my mac. I just downloaded a new version of java from their website. when i run java -version in my terminal I get this
omars-mbp:local omarjandali$ java -version
java version "12.0.1" 2019-04-16
Java(TM) SE Runtime Environment (build 12.0.1+12)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
omars-mbp:local omarjandali$
I want delete the version above and have to point it to the new java version that I just downloaded which is
version 8: (build 1.8.0_211-b12)
how can i redirect it accordingly

Check the if version of JDK installed on macOS is the correct one

I have a macbook with latest HighSierra installed and from System Preferences / Java Panel. It says that i have got latest Java version installed: java 8 update 181.
From the "Java" tab of the aforementioned "Java settings" dialog i can see that the version 181 it is referring to is installed in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
If i try to execute that binary (i.e. java -version) i actually get:
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build
1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
however when i try to launch "java" from a generic prompt or if i try to execute javac i get a different result:
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
this latter java is installed in /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/
So it seems to me that i have got a jre (181) and a jdk (40) is this correct?
if so, is this the correct setup on mac? i started to wonder when forticlient analyzer showed up a bunch of CVE security issues related to JDK that are fixed in update 181.

What are the supported Java FX Mouse events on ARM Architecture?

I have compiled a Java FX application on windows platform using e(fx)clipse build
JDK version on Windows:
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
I need to deploy the same application on Raspberry Pi. It sports an ARM v6 Architecture.
I am using 2014-12-24-wheezy-raspbian disribution with 256/256MB Memory split.
Java build tested on the platform:
Default package:
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
Java SE Embedded
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
Issues Facing:
Java FX runs in Full Screen Mode with blocking all the other displays
Mouse.Drag events don't work.
Dialog, blocks the application.
Windows close,minimize options are not visible/disabled
Solutions tried
Changed the Memory split
Result: Nicer FX Graphics
Added dwg_ota.speed=1 (Changes USB bus speed from 480Mb/s to 12Mb/s)
Result: No Change
Is there any way where in I can get Mouse Drag events to work? Please do suggest. Where should I report the above bugs regarding Java FX on ARM Platform?

The application Ecliplise can't open - Mac OS - Yosemite

I'm running OSX Yosemite, and I just downloaded latest adt bundle and my java version is
java version "1.8.0_25" Java(TM) SE Runtime Environment (build
1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
,at the first when I tried to open eclipse , he asks me to install Java 6 http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
, but after the installtion it gives me this message "The application Ecliplise can't opened"
Please tell me what to do, Thanks

No Java runtime present, requesting install

I have java JDK installed sucessfully in my mac os 10.9 ..
$ java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
But when i try to run eclipse it asks me to jave SE 6 Runtime again !!!
It looks like eclipse is unable to locate the installed java. You can tell eclipse to point to this version of java by modifying eclipse.ini file
In eclipse.ini file, we need to add -vm option to point to the java8 location:
See: http://wiki.eclipse.org/Eclipse.ini#-vm_value:_Mac_OS_X_Example

Categories