search for: ljava

Displaying 20 results from an estimated 41 matches for "ljava".

Did you mean: java
2009 Jun 01
3
Problem EXCEPTION_ACCESS_VIOLATION (0xc0000005)
...ser32.dll+0x72a15] C [user32.dll+0x72f2c] C [user32.dll+0x9aba9] C [swt-win32-3452.dll+0xf939] j org.eclipse.swt.internal.win32.OS.SetWindowTextW(I[C)Z+0 j org.eclipse.swt.internal.win32.OS.SetWindowText(ILorg/eclipse/swt/internal/win32/TCHAR;)Z+21 j org.eclipse.swt.widgets.Text.setText(Ljava/lang/String;)V+108 j org.eclipse.jface.viewers.TextCellEditor.createControl(Lorg/eclipse/swt/widgets/Composite;)Lorg/eclipse/swt/widgets/Control;+119 j org.eclipse.jface.viewers.CellEditor.create(Lorg/eclipse/swt/widgets/Composite;)V+19 j org.eclipse.jface.viewers.CellEditor.<init>(Lorg...
2011 Nov 14
1
Error .jcall(mxe, "S", "fit", c("autorun", "-e", afn, "-o", dirout, : java.lang.NoSuchMethodError: density.Params.readFromArgs([Ljava/lang/String; )Ljava/lang/String;
Dear all, I get the error when I use maxent.jar: Error .jcall(mxe, "S", "fit", c("autorun", "-e", afn, "-o", dirout, : java.lang.NoSuchMethodError: density.Params.readFromArgs([Ljava/lang/String;)Ljava/lang/String; sessionInfo() result: R version 2.14.0 (2011-10-31)Platform: i386-pc-mingw32/i386 (32-bit)locale:[1] LC_COLLATE=Chinese_People's Republic of China.936 [2] LC_CTYPE=Chinese_People's Republic of China.936 [3] LC_MONETARY=Chinese_People's Republic of Chi...
2011 Dec 16
6
java installation failure
Readers, Openjdk and ibm java versions have failed to install, all reporting a bad elf, e.g. ./ibm-java-i386-sdk-7.0-0.0.bin Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... strings: '/lib/libc.so.6': No such file
2008 Jul 02
1
Usage of rJava (.jcall) with Weka functions, any example?
...ribute with Weka: > library(grid) > library(rJava) > library(RWeka) > c <- .jcall("weka/filters/unsupervised/attribute/Remove","S","Remove","-R","1",matrix) Is it that right? I get this message error! method Remove with signature (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found I've played around but I cannot get through! All help will be appreciated! Thank you very much! Josep Maria, ---------------------------------------------------------------------------- >>>>>> J...
2013 Sep 26
2
Read shortcuts of MS Excel files through R
...shortcut) to excel spreadsheets ( with "xlsx" as the file extension). I wasn't able to read the shortcuts through R and using "read" functions of "xlsx" package. exf <- "a1.xlsx.lnk" > read.xlsx(exf,1) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.IllegalArgumentException: Your InputStream was neither an OLE2 stream, nor an OOXML stream > read.xlsx2(exf,1) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.Ill...
2010 Apr 12
2
Problems running a Java program in Wine
...interpreted, Vv=VM code, C=native code) C [Rbuildj.dll+0x266b6] C [Rbuildj.dll+0x8f28] C [Rbuildj.dll+0xd3e8] C [Rbuildj.dll+0xd538] C [Rbuildj.dll+0xa0cb] C [Rbuildj.dll+0xc17c] C [Rbuildj.dll+0xc2db] C [Rbuildj.dll+0x67b7] j com.genexus.reports.SunGXReportViewer.GxPrInit([II[I[IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIIIIIIII)Z+0 j com.genexus.reports.SunGXReportViewer.gxPrInit([II[I[IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIIIIIIII)Z+35 j com.genexus.reports.GXReportViewerThreaded$GxPrintInit.run()V+89 J com.genexus.util.ThreadedCommand...
2012 Oct 04
1
Intermittent connectivity issues for JDBC / Oracle
...t --no-restore --no-save --no-init-file library("RJDBC") drv<-JDBC("oracle.jdbc.OracleDriver","/home/oracle/lib/ojdbc6.jar", "'") dbCheck = function(url, user='', pwd='') { j = .jcall("java/sql/DriverManager", "Ljava/sql/Connection;", "getConnection", url, user, pwd, check=FALSE) x = .jgetEx() .jcheck() x } dbCheck("jdbc:oracle:thin:@192.168.3.10:1521:psrndpt1","myuser","mypass") When I run the file - sometimes it works, returning NULL, and someti...
2008 Apr 23
2
[LLVMdev] templates vs code to generate IR
...various approaches. regards, Ter ------------- Imagine that you would like to generate the Java byte codes using a program for the following java code: System.out.println("Hello"); The javac byte code compiler will generate the following byte codes: getstatic java/lang/System/out Ljava/io/PrintStream; ldc "Hello" invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V Either you use templates that render to text or you use a library such as BCEL to create a data structure that will render to text. Here is a StringTemplate template definition that will genera...
2008 Apr 24
0
[LLVMdev] templates vs code to generate IR
...; ------------- > Imagine that you would like to generate the Java byte codes using a > program for the following java code: > > System.out.println("Hello"); > > The javac byte code compiler will generate the following byte codes: > > getstatic java/lang/System/out Ljava/io/PrintStream; > ldc "Hello" > invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V > > Either you use templates that render to text or you use a library such > as BCEL to create a data structure that will render to text. Here is a > StringTemplate template de...
2007 Sep 27
2
rJava and RJDBC
...braries\\QTJava.zip" My java_Home is > .jcall('java.lang.System','S','getProperty','java.home') [1] "C:\\Java\\jre1.6.0_02" I have tried breaking down the JDBC as .jinit() or .jinit(classPath) v<-.jcall("java/lang/ClassLoader","Ljava/lang/ClassLoader;", "getSystemClassLoader") .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", as.character(driverClass)[1], TRUE, v) to no avail. I have tried different versions of the mysql jar. I do not know if my java version...
2009 Sep 29
0
Problem installing RMAGEML package
Hi all, I ran in to a problem while trying to install RMAGEML package. /usr/bin/ld: cannot find -ljava . (please look at the bottom for details of the error) I have set the following in ~/.bashrc file. export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64 export LD_LIBRARY_PATH=/home/mamun/R-2.9.0/lib64/R/library/rJava/jri:/home/mamun/R-2.9.0/lib64/R/lib:/usr/lib/jvm/java-1.6.0-openjdk...
2009 Sep 29
0
Problem installing RMAGEML package
Hi all, I ran in to a problem while trying to install RMAGEML package. /usr/bin/ld: cannot find -ljava . (please look at the bottom for details of the error) I have set the following in ~/.bashrc file. export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64 export LD_LIBRARY_PATH=/home/mamun/R-2.9.0/lib64/R/library/rJava/jri:/home/mamun/R-2.9.0/lib64/R/lib:/usr/lib/jvm/java-1.6.0-openjdk...
2013 Feb 28
3
conflict between rJava and data.table
...e .xls files and ran into an error. write.xls from this package uses the functions and returns an error depending on the sequence the packages were loaded. Error in .jnew("org/apache/poi/xssf/usermodel/XSSFWorkbook") : java.lang.AbstractMethodError: java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class; data.table::J rJava::J I can work around this by loading and unloading packages, but I feel this should be addressed because loading these two packages that both deal with tables of data does not seem that unlikely to me. best matt
2013 Jul 22
1
problem loading large xlsx file into r
...s X 188 col, ~ 37 MB size. > options( java.parameters = "-Xmx4g" ) > library(xlsx) Loading required package: xlsxjars Loading required package: rJava > cftc = read.xlsx("d:\\Krishna\\Research\\CFTC_COT\\cftcdata.xlsx", 1) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: Java heap space > sessionInfo() R version 3.0.1 (2013-05-16) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=Engli...
2011 Feb 09
3
Problem with xlsx package
I am trying to read an xlsx spreadsheet (1506 rows, 501columns) all populated but getting the following error: Please advise as to how to get around this issue. > res <- read.xlsx("c:\\BSE_v2.xlsx",1) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: Java heap space Here is the session info: > sessionInfo() R version 2.12.1 (2010-12-16) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States....
2011 Mar 28
2
xlsx problem
Dear list, I'm running windows xp with R 2.12.0. I'm trying to load a excel spreadsheet into R using the xlsx package. I posted my code below with the error I get. > res <- read.xlsx("Copy of test_excel_input_data.xlsx", 6) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.IllegalStateException: Cannot get a numeric value from a text cell There are 6 sheets in that file. 5 of them are read into a dataframe without problem. For the 6th one(the one I actually need) I get this error message. There is obvi...
2011 Jun 14
3
Read in from multiple Excel wksheets
...quot;) info<- read.xlsx("test_file.xlsx",sheetName="johnny",rowIndex=1:2,header=FALSE) info However, when I try to apply this to my real, large workbook, things go wrong, with the following error message. Any ideas/workarounds? Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: Java heap space
2013 Nov 29
4
¿Cómo superar el error de Java?
...Trabajo con bases de datos en R que importo de excel. Cargando las librerías de: rJava , xlsxjars y xlsx. Al principio no parecía haber ningún inconveniente, pero después de un tiempo de trabajo me aparece el siguiente error en la consola de datos: *Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: Java heap space* De manera que no puedo abrir/importar el archivo en excel y seguir trabajando. Entiendo que se trata de un problema en la memoria de Java, pero no se como solucionarlo. ¿Alguien ha tenido el mismo pro...
2010 May 08
1
Error in RImageJ
...ing URL 'http://www.google.fr/intl/en_en/images/logo.gif' Content type 'image/gif' length 8558 bytes opened URL ================================================== downloaded 8558 bytes > image = IJ$openImage( "google.gif" ) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.InternalError: Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread is not specified in your application's Info.plist or on the command line starting httpd help server ... done >...
2013 Sep 12
1
problem with rJython and modules
...atest snag: > library(rJython) Loading required package: rJava Loading required package: rjson > library(rSymPy) > rJython <- rJython() > x <- "x" > y <- "y" > rJython$exec("from sympy import *") Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named sympy > This is on Windows 32 bit, with Version 3.0.1 of R and python 2.7.5. Also, sypmy is available with regu...