JGR crashes on launching - java

it seems that I am the only person having this problem, so I ask some help here:
I have just installed R and JGR, loaded the library(JGR) and launched JGR(). Unfortunately, it builds the windows but it becomes unresponsive and crashes in a few seconds.
Is anybody here able to lead me to the right direction to solve the problem?
Ubuntu 16.10
JAVA version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

I was having the exact same issue, and have managed to find a solution. The problem lies with the rJava package. The issue started with rJava 0.9-9, and has sadly continued with the recently release 0.9-10. But if you remove rJava and go back to version 0.9-8, JGR will start working again.

Related

Using RWeka M5P in RStudio yields java.lang.NoClassDefFoundError: no/uib/cipr/matrix/Matrix

I have an R Script which used to work fine where I use RWeka's M5P-algorithm.
For reasons unknown to me, it stopped working properly and now I get
Error in .jcall(o, "Ljava/lang/Class;", "getClass") :
java.lang.NoClassDefFoundError: no/uib/cipr/matrix/Matrix
Presumably this has something to do with me updating RStudio or Windows or R or some package. The odd thing is, that the script works fine when I run it from the simple R gui. So this seems to be related to RStudio and rJava (a possible problem source pointed out here). Still, I don't know how to fix this, all advice I read so far concerns MacOS or Linux, but I am on Windows 10. My Java version is
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) Client VM (build 25.72-b15, mixed mode)
My colleague can run the same script without problems on Windows 10 (same updates due to company policy) and RStudio (same version: 1.0.136). Her Java version is
java version "1.8.0_101",
Java(TM) SE Runtime Environment (build 1.8.0_101-b13),
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
So it seems to be some accidental misconfiguration on my PC but I just don't know where to look.
Can anyone help me?
platform x86_64-w64-mingw32 arch x86_64
os mingw32 system x86_64,
mingw32 status major
3 minor 3.2
year 2016 month 10
day 31 svn rev 71607
language R version.string R version
3.3.2 (2016-10-31) nickname Sincere Pumpkin Patch
After reading RWeka Odds and Ends I realized, that my WEKA_HOME was set to a path in my profile and that the Weka package manager (WPM) seemed to have problems with saving the necessary modules. The solution was to set the path to my hard drive and refresh the cache.
Sys.getenv("WEKA_HOME") # where does it point to? Maybe some obscure path?
# if yes, correct the variable:
Sys.setenv(WEKA_HOME="C:\\MY\\PATH\\WEKA_WPM")
library(RWeka)
WPM("list-packages", "installed")
Afterwards, everything got back to normal and M5P worked like before.

buildozer fails to create apk. java error?

My buildozer configuration has suddenly stopped working. Everything has been working fine, but something must have changed - I don't know what. Maybe there's a problem with java - know I have a problem with geany and pyCharm, both of which use java
a section of my buildozer log is
My java version is
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
Can someone help?

What's the cause of java.lang.UnsatisfiedLinkError in my situation

I build a dll with Visual Studio 2008 and it's called by java side throuth jni.
It works fine in A machine but failed in B machine.
The error info is like:
java.lang.UnsatisfiedLinkError:xxx.dll Can't find dependent libraries
The configuration info is like below (The OS and jdk is the same):
A machine:
Win7 64bit;
java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing)
eclipse-standard-kepler-SR2-win32-x86_64
B machine:
Win7 64bit;
java version "1.7.0_65" Java(TM) SE Runtime Environment (build 1.7.0_65-b19)
Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing)
eclipse-java-luna-SR1a-win32
The code generation of dll is Multi-threaded Debug (/MTd).
I have no idea about the cause so that please let me know if you need more information to judge the cause.
Thanks for your help in advance.
To find the missed dependency use the Dependency Walker. Open your DDL and it will show you all DDLs it depends on. It will show you also which one could not be found on the current systen.
http://www.dependencywalker.com/
The java.lang.UnsatisfiedLinkError:xxx.dll Can't find dependent libraries is throwed in B machine but not in A machine is because that dll's dependent libraries can't be found by the dll in B machine and to fix it, you can add dependent libraries' path to the environment path. To get the dependent libraries, follow #SubOptimal's suggestion.

JWplayer suddenly not working - says Java not installed, but it IS (playback issue)

I was using openjdk 7, then all of a sudden I wasn't able to stream a video with JWplayer. I tried setting $PATH in Ubuntu 14.04 among lots of other things until I just gave up and purged openjdk completely. I installed Oracle 8, and I still get the same issue.
$ 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)
The videos just say that Java is not installed, to install it and restart my browser, etc.
This is extremely frustrating. Any ideas?
JW Player does not make any use of Java at all. It is a script written in Javascript, which is simply part of your browser.

Netbeans 7.3.1 broken

As you can see on this screenshot:
Some buttons on this window are missing
The "Please wait..." text does not change change and nothing is loaded
I can close the window but I can never create a project
I tried to re-install and delete all Netbeans related stuff but the problem remains
It seems related to a Java VM problem but Eclipse and PhpStorm are working without problem.
My Java version:
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.10.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
My system is Ubuntu 10.04 LTS.
As explained in the installation instructions you need the JDK7 if you want to use any of the Java features.

Categories

Resources