search for: djava

Displaying 20 results from an estimated 27 matches for "djava".

Did you mean: java
2013 Mar 13
2
How to add a new line at a particular place in a file..
Hi all, How can i write a puppet code such that..it adds a line of content that i want..at a desired place in a file.. if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true" JAVA_OPTS="$JAVA_OPTS -Djboss.se...
2008 Apr 24
1
tomcat5 - RHEL4.5 - CentOS 4.5
...issue. I have JAVA_HOME set in /etc/tomcat5/tomcat5.conf and also in /etc/sysconfig/tomcat5.conf and when tomcat is started using the init script it starts up like so tomcat 30676 0.1 1.4 1275052 60324 pts/0 Sl 08:45 0:03 /usr/java/sun/jdk/1.4.2_13/bin/java -server -Xms256m -Xmx1024m -Djava.security.manager=java.rmi.RMISecurityManager -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib -Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed -classpath /usr/java/sun/jdk/1.4.2...
2002 Oct 24
1
Rjava failing to initialize in Windows 2000
...are present in the appropriate directories properties= [1] "-DEmbeddedInR=true" [2] "-DInterfaceManagerClass=org/omegahat/Interfaces/NativeInterface/OmegaInterf aceManager" [3] "-DForeignReferenceBaseClass=org/omegahat/R/Java/RForeignReference" [4] "-Djava.compiler=NONE" [5] "-DOMEGA_HOME=C:/PROGRA~1/R/rw1051/library/SJava/org/omegahat" [6] "-DOmegahatSearchPath=.,${OMEGA_HOME}/Environment/Scripts/Run,${OMEGA_HOME}/ Jars/Environment.jar" [7] "-Djava.library.path=C:/PROGRA~1/R/rw1051/library/SJava/libs" As far as...
2007 Feb 04
1
Java Bindings on a Mac
...em/Library/Frameworks/JavaVM.framework/Headers. It compiled without error and created both libxapian_jni.so and xapian_jni.jar in the "built" subdirectory when I ran "make install". When I ran the example code (from the "java" directory) I got the following: $ java -Djava.library.path=built -classpath built/xapian_jni.jar:. \ > org.xapian.examples.SimpleIndex ./test.db index words like java Exception in thread "main" java.lang.UnsatisfiedLinkError: no xapian_jni in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:168...
2015 Aug 13
2
Clunky Xorg with latest 6.7 upgrade?
Is it just me or does Xorg/Gnome seem slow and clunky to any other desktop users once the 6.7 upgrade is done? $ uname -a Linux CentOS501.homegroannetwork 2.6.32-573.1.1.el6.x86_64 #1 SMP Sat Jul 25 17:05:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/centos-release CentOS release 6.7 (Final) Top shows PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 32160 root
2015 Aug 14
2
Clunky Xorg with latest 6.7 upgrade?
...fox/browser 504 plugin 501 23391 20075 12 Aug13 ? 01:44:21 /usr/java/jre1.8.0_51/bin/java -D__jvm_launched=121669392988 -D__applet_launched=121669388124 -Xbootclasspath/a:/usr/java/jre1.8.0_51/lib/deploy.jar: /usr/java/jre1.8.0_51/lib/javaws.jar: /usr/java/jre1.8.0_51/lib/plugin.jar -Djava.class.path=/usr/java/jre1.8.0_51/classes -Dsun.awt.warmup=true -Djava.security.manager sun.plugin2.main.client.PluginMain write_pipe_name=/tmp/jpi-200753075568327304565826 501 23675 20075 9 Aug13 ? 01:19:43 /usr/java/jre1.8.0_51/bin/java -D__jvm_launched=122798004959 -D__applet_launched=1...
2011 May 23
2
How to run the java demo code contained in libguestfs package ???
Hi all, I would like to use libguestfs to manage the virtual disk images of virtual machines on XenServer, which is a virtualization platform. When I try to do some test of the Java codes contained in the libguestfs package, the following error promped up: Exception in thread "main" java.lang.UnsatisfiedLinkError: no guestfs_jni in java.library.path at
2008 Nov 24
1
Issue with running examples
Hi I am receiving this error: java.lang.UnsatisfiedLinkError: C:\Program Files\R\R-2.8.0\library\rJava\jri\jri.dll: Can't find dependent libraries Have done following stuff -R_HOME is set - "C:\Program Files\R\R-2.8.0\bin\"; -also using -Djava.library.path="C:\Program Files\R\R-2.8.0\library\rJava\jri" -Path is set - "C:\Program Files\R\R-2.8.0\library\rJava\jri";"C:\Program Files\R\R-2.8.0\bin" -Classpath is set - C:\Program Files\R\R-2.8.0\library\rJava\jri;C:\Program Files\R\R-2.8.0\bin What else can b...
2002 Oct 21
1
Does SJava work on Windows? It does (ish) on Linux
...on windows 98. I'm using R 1.6 and the latest SJava 0.65 and JDK 1.3.1_04. I keep getting an Unsatisified Link error on initR. Our Java application gets launched with a wrapper script. I've put the library paths and current directory in PATH, specified them on the java command line using -Djava.library.path= (this is necessary otherwise the DLLs cannot be located in the first instance, despite them being in PATH). I've specified the full pathnames of the DLLs in the System.loadLibrary java calls, but to no avail. Why isn't the initR being resolved? Do I have to compile R ( I assu...
2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
...and then run .jinit (which will use my vm), i can find the class in question (org.apache.hadoop.io.longwritable) Is there some classloader problem in rJava? ==code== void create_vm(const char *clap) { char* classpath = (char*) calloc(18+strlen(clap)+1, sizeof(char)); sprintf(classpath,"-Djava.class.path=%s",clap); JavaVMInitArgs args; JavaVMOption options[2]; args.version = JNI_VERSION_1_4; args.nOptions = 2; options[0].optionString = classpath; options[1].optionString = "-Xrs"; args.options = options; args.ignoreUnrecognized = JNI_TRUE; JavaVM *jvms[32]...
2008 May 16
2
Getting JRI/rJava to work
...#################################### #################### C:\temp\JRI\examples>javac -cp "C:/Program Files/R/mylibrary/rJava/jri/JRI.jar" rtest.java Note: rtest.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. C:\temp\JRI\examples>java -Djava.library.path="C:/Program Files/R/mylibrary/rJava/jri" -cp .;"C:/Program Files/R/mylibrary/rJava/jri/JRI.jar" rtest Creating Rengine (with arguments) Error in structure(.Internal(Sys.getenv(as.character(x), as.character(unset))), : unsupported conversion R version 2.7.0 (2008...
2018 Jan 13
2
el7 systemd :: usage of AssertPathExists
...PathExists in a systemd unit but it seems it not working. Does anyone have problems with this? i have this in unit : AssertPathExists= AssertPathExists=/etc/mlsensor/mlsensor.properties but then when i start the service i get no errors : 26225 /usr/bin/java -Xms16m -Xmx32m -DMLSENSOR_HOME=/tmp -Djava.util.logging.config.class=lia.Monitor.monitor.LoggerConfigClass -Dlia.Monitor.ConfigURL=file:/etc/mlsensor/mlsensor.properties -jar /usr/share/java/mlsensor/MLSensor.jar i can't modify the java application, i am just doing an systemd unit for it... Anyone have any experience making systemd...
2007 Mar 13
0
about use dtrace analyze tomcat''s situation
...uot;, @tot); } get Tomcat''s pid : $ ps -ef | grep tomcat tomcat 249 7 0 12:08:02 console 0:01 -sh tomcat 12475 12474 0 18:12:15 pts/3 0:00 ps -ef tomcat 634 1 0 12:08:14 ? 13:19 /usr/j2sdk1.4.2_04/bin/java -XX:MaxPermSize=256m -Xms512m -Xmx768m -Djava.awt.h tomcat 10324 10321 0 17:37:36 pts/3 0:00 -sh tomcat 12474 10324 0 18:12:15 pts/3 0:00 grep tomcat $ # dtrace -s ./sctime.d -p 634 dtrace: script ''./sctime.d'' matched 457 probes ^C CPU ID FUNCTION:NAME 8 2...
2009 Jul 20
1
NUT problem
...u /opt/MultiLink/bin/Viewer' which is what the icon runs, brings 'kdesu /opt/MultiLink/bin/Viewer' bash: kdesu /opt/MultiLink/bin/Viewer: No such file or directory From a root terminal, however, /opt/MultiLink/bin/Viewer /opt/MultiLink/jre/bin/java -cp .:/opt/MultiLink/lib/em.jar - Djava.compiler=NONE com.liebert.dpg.app.LxExecutor mainViewer /opt/MultiLink cfg/executor.cfg What changes do I need to make to be able to use the desktop icon again? Anne
2012 Sep 10
1
java.lang.UnsatisfiedLinkError
hi jones! i run a java testcase in my new environment(V1.19.35 that was installed by "make install"), "System.loadLibrary ("guestfs_jni")" leads to : Exception in thread "main" java.lang.UnsatisfiedLinkError: no libguestfs_jni in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:845)
2009 Dec 15
1
R question type in Moodle
Moodle (www.moodle.org) is an open source course management system, a competitor to Blackboard. I am writing several hundred R questions that will be used within the quiz module in Moodle. Unfortunately, Moodle does not have a built in question type for R. You can read about the different questions types in Moodle here:
2008 Jun 05
5
Java to R interface
I am developing an application that uses Eclipse framework on Windows. I have to call R from Java. I downloaded rJava package and installed it. I set the classpath in the Run Dialog in Eclipse to the directory where the JRI.jar is. I set the Path environmental variable to the directory where R.dll and jri.dll are. Yet when I run the rtest example (in jri/examples directory), I get the
2005 Aug 12
8
Java Problems
...Peter http://rimuhosting.com - Xen VPS Hosting # prerequisite you''ll need to install a 1.5 JDK from sun # host is Xen 2.0.6 # uname -r 2.6.11.10-xenU-rimu1 # wget http://downloads.rimuhosting.com/FillTest.java # javac -target 1.4 -source 1.4 FillTest.java; while true; do java -client -Djava.awt.headless=true FillTest; ret=$?; if [ $? -ne 0 ]; then echo ret=$ret; break; fi; done iteration 1 iteration 100001 iteration 200001 Exception in thread "main" java.lang.IllegalArgumentException: Width (7) and height (-2147483648) cannot be <= 0 at java.awt.image.DirectCo...
2009 Feb 25
1
How to get JRI to work from my NetBeans
Hi, I need your help. I have downloaded a precompiled JRI as part of rJava. I have included rJava as part of my R package libraries. Now I need to be able to work with some R functions from my Java apps. I'm using NetBeans on Windows. I have followed some instructions from http://www.rforge.net/JRI/ but i keep on getting errors when compiling my Java app as follows: run: Cannot find JRI
2011 Oct 20
4
[PATCH 1/3] out-of-tree build: daemon
--- daemon/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/Makefile.am b/daemon/Makefile.am index e23ce86..af075d7 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -42,10 +42,10 @@ noinst_LIBRARIES = libprotocol.a libprotocol_a_SOURCES = guestfs_protocol.c guestfs_protocol.h libprotocol_a_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing