Titanium appcelerator close automatically - titanium

2 days ago I had installed Titanium Appcelerator 3.1 and today I installed android sdk 2.2 and 4.2, But now after starting my Titanium, it gets automatically closes after few minutes and showing some java related error.
My system configurations :
Ubuntu 12.04
64 bit java 1.6.0_27
Titanium 3.1
Android sdk 2.2 and 4.2
4 GB RAM
Please find the error log below
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007f29fb86f757, pid=2889, tid=139818259298048
JRE version: 6.0_27-b27
Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
Derivative: IcedTea6 1.12.3
Distribution: Ubuntu 12.04 LTS, package 6b27-1.12.3-0ubuntu1~12.04.1
Problematic frame:
V [libjvm.so+0x588757] klassVtable::oop_follow_contents()+0xd7

You have the wrong JDK. You need to use the OracleJDK as specified here.

Related

IntelliJ add Java 11

I need to add my installed Java 11 version to the project settings, because of this error (Error:java: invalid source release: 11).
When i go to project structure -> Project settings -> Project there it just shows Java 1.8.
When i try to add "java-11-openjdk-amd64" it fails with the reason "The selected directory points to a JRE, not a JDK.".
java -version
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
The java application is available in the Java Runtime Environment (JRE). The fact that java is available in version 11 does not necessarily mean that the Java Development Kit (JDK) is also installed for version 11. However, IntelliJ needs the JDK which includes tools like the compiler javac.
In order to use Java 11 in IntelliJ, you need to install the Java 11 JDK.
For example on Ubuntu you can do that by executing:
sudo apt install openjdk-11-jdk

A fatal error has been detected by the Java Runtime Environment: SIGBUS while installing ZAP proxy in parrot home OS

I was trying to install the ZAP proxy in my parrot home OS, but I'm unable to install it and the error that I'm receiving in the terminal is as follows:
(A fatal error has been detected by the Java Runtime Environment:
SIGBUS (0x7) at pc=0x00007f904544b12f, pid=6446, tid=6447JRE version: OpenJDK Runtime
Environment (11.0.5+10) (build 11.0.5+10-post-Debian-2)
Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-post-Debian-2, mixed mode, sharing, tiered,
compressed oops, g1 gc, linux-amd64)
Problematic frame:
V [libjvm.so+0xcce12f]
No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
If you would like to submit a bug report, please visit:
(https://bugs.debian.org/openjdk-11)
Aborted
This error message...
(A fatal error has been detected by the Java Runtime Environment:
SIGBUS (0x7) at pc=0x00007f904544b12f, pid=6446, tid=6447JRE version: OpenJDK Runtime
Environment (11.0.5+10) (build 11.0.5+10-post-Debian-2)
Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-post-Debian-2, mixed mode, sharing, tiered,
compressed oops, g1 gc, linux-amd64)
Problematic frame:
V [libjvm.so+0xcce12f]
...implies that the V frame was the Problematic frame which crashed which resulted in libjvm.so file.
The crash you observed is possibly not a zap or java issue but a debian issue.
Deep Dive
However as per the documentation in What versions of Java are supported? page, ZAP should be able to run with all/newer Java versions, but might require a minimum for certain ZAP versions:
ZAP 2.7.0 and later requires a minimum of Java 1.8
ZAP 2.0.0 and later requires a minimum of Java 1.7
Previous versions of ZAP also support Java 1.6, the last of those being 1.4.1
Additionally, as per the documentation in Download ZAP page:
The Windows and Linux versions require Java 8 or higher to run.
The macOS version includes Java 8 - you can use the Linux or Cross Platform versions if you do not want to download this.
Finally, as per the documentation in Release 2.9.0 page:
This is a bug fix and enhancement release, which requires a minimum of Java 8. Note that a minimum of Java 11 is recommended, especially for high DPI displays.
References
You can find a couple of relevant discussions in:
Jvm crash :fatal error has been detected by the Java Runtime Environment
“A fatal error has been detected by the Java Runtime Environment” when running java project on another computer
A fatal error has been detected by the Java Runtime Environment (SIGBUS (0x7))
JVM crashes with problematic frame [libjvm.so+0x7f582e] PerfLongVariant::sample()+0x1e

IBM MobileFirst Platform Installation in Windows 8.1 64Bit

I am using my office laptop (Lenovo vV310 - 8GB RAM - 64 Bit OS - Windows 8.1). I have been trying to fix an installation issue with IBM Mobile First Platform for the past few days. I downloaded the IBM Mobile First Developer Kit from link http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/mobilefirst-deved-devkit-windows-8.0.0.0.exe
The problem is the installation software InstallAnywhere is not installing and gives the below warning.
Windows error 2 occured while loading the Java VM
I have JDK 1.8 installed in my notebook and I couldn't fix the issue. I have the java JDK and JRE bin paths set in the environment variables.
If any of you have fixed the issue, please share the solution.
Open command line as Administrator and type following command.
[path of mobilefirst-devkit.exe] LAX_VM ["path of java.exe"]
Usage
C:\Users\gaurab\Downloads\mobilefirst-deved-devkit-windows-8.0.0.0.exe LAX_VM "C:\Program Files\Java\jdk1.8.0_112\bin\java.exe"

Is worklight working on windows 10 enterprise

Is worklight working on windows 10 enterprise for any one?
When I try to start Mobile first development server, I get this error:
Error occurred during initialization of VM
agent library failed to init: jdwp
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
Java 1.8 is not supported in MobileFirst Platform Foundation 6.3.
Downgrade to Java 1.6 or 1.7 and try again.

Why monitoring CPU and Sample are not available on visualVM

Since a few days VisualVM doesn't work very well.
I don't know why monitoring CPU and Sample are not avalables.
Thank you.
Jérôme
Version: 1.8.0_45 (Build 1380-140910); platform 20140910-unknown-revn
System: Windows 7 (6.1) Service Pack 1, amd64 64bit
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM (25.45-b02, mixed mode)
Vendor: Oracle Corporation, http://java.oracle.com/
Environment: Cp1252; fr_FR (visualvm)
User directory: C:\Users\Jerome\AppData\Roaming\VisualVM\8u40
Cache directory: C:\Users\Jerome\AppData\Local\VisualVM\Cache\8u40
Clusters:
C:\Program Files\Java\jdk1.8.0_45\lib\visualvm\platform
C:\Program Files\Java\jdk1.8.0_45\lib\visualvm\visualvm
C:\Program Files\Java\jdk1.8.0_45\lib\visualvm\profiler
I found this "not issue" ;)
It doesn't work because java app was running from eclipse and i didn't use jre (in eclipse) from jdk.
I modyfied this and it works.