Dear Rxperts.. I installed rJava on 64-bit Linux system and apparently it installed without errors.However, I got the following error message when I tried to test the installed package. ____________________________________________________________________ Error in .jcall("RJavaTools", "Ljava/lang/Object;", "newInstance", .jfindClass(class), : java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. Calls: new -> new -> .J -> .jcall -> .jcheck -> .Call Execution halted ____________________________________________________________________ Would highly appreciate your tips/suggestions.. Thanks and much appreciated, Santosh [[alternative HTML version deleted]]
On 09.03.2016 02:19, Santosh wrote:> Dear Rxperts.. > I installed rJava on 64-bit Linux system and apparently it installed > without errors.However, I got the following error message when I tried to > test the installed package. > > ____________________________________________________________________ > Error in .jcall("RJavaTools", "Ljava/lang/Object;", "newInstance", > .jfindClass(class), : > java.lang.InternalError: Can't connect to X11 window server using ':0' as > the value of the DISPLAY variable. > Calls: new -> new -> .J -> .jcall -> .jcheck -> .Call > Execution haltedApparently you do not have an X server running or no X forwarding enabled? Best, Uwe Ligges> ____________________________________________________________________ > > Would highly appreciate your tips/suggestions.. > > Thanks and much appreciated, > Santosh > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Thanks for your response. Since the test failed due to X11 connectivity reasons, is it okay to use it in applications where X11 server connectivity is not required? Thanks and much appreciated, Santosh On Tue, Mar 8, 2016 at 10:41 PM, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:> > > On 09.03.2016 02:19, Santosh wrote: > >> Dear Rxperts.. >> I installed rJava on 64-bit Linux system and apparently it installed >> without errors.However, I got the following error message when I tried to >> test the installed package. >> >> ____________________________________________________________________ >> Error in .jcall("RJavaTools", "Ljava/lang/Object;", "newInstance", >> .jfindClass(class), : >> java.lang.InternalError: Can't connect to X11 window server using ':0' >> as >> the value of the DISPLAY variable. >> Calls: new -> new -> .J -> .jcall -> .jcheck -> .Call >> Execution halted >> > > > Apparently you do not have an X server running or no X forwarding enabled? > > Best, > Uwe Ligges > > > ____________________________________________________________________ >> >> Would highly appreciate your tips/suggestions.. >> >> Thanks and much appreciated, >> Santosh >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >>[[alternative HTML version deleted]]