[R] .jinit() : Cannot create Java virtual machine

2011-11-14 Thread ahwangyuwei
Dear all, when using .jinit() I get the message .jinit() : Cannot create Java virtual machine (-1). The details: I am using the Dismo package.Dismo has a function 'maxent' that communi-cates with this program(MaxEnt).MaxEnt is available as a stand-alone Java program. It is normal when I

[R] .jinit() : Cannot create Java virtual machine

2011-11-14 Thread ahwangyuwei
Dear all, when using .jinit() I get the message .jinit() : Cannot create Java virtual machine (-1). sessionInfo() 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

[R] .jinit and .jnew

2010-07-21 Thread behrooz
i have a jar under z:/downloads/AA, i use .jinit(classpath=z:/downloads/AA) and then .jnew(Myclass) but .jnew throes an error: Error in .jnew(MyClass) : java.lang.NoClassDefFoundError: MyClass tried .jinit(classpath=z:/downloads/AA/myClass.jar) and got the same error. any idea? --

[R] .jinit()

2008-03-11 Thread Michael Sun
Dear list, when I write .jinit(), the following error message coming out. Error occurred during initialization of VM Could not reserve enough space for object heap Error in .jinit() : Cannot create Java virtual machine (-4) I have C:\Program Files\Java\jre1.6.0_04 and C:\Program