Blog Category: Java
Intro Snow Leopard comes with a native 64 bit Java 1.6 environment. The Open MQ binaries are made for the JDK 1.5 in 32 bit. This article shows how to make Open MQ work on OS X 1.6 by compiling from source. Steps Set environment export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home export ANT_HOME=/home/hdkiller/apache-ant-1.7.1 export ANT_OPTS=-Xmx512m export IMQ_HOME=/home/hdkiller/mq/dist/mq export CLASSPATH=:/lib/jms.jar:/lib/imq.jar […]
To create an MD5 password at the prompt, assuming you have tomcat installed in /usr/local/tomcat, type $ export TOMCAT=”/usr/local/tomcat” $ java -cp “/server/lib/catalina.jar:/usr/share/java/jmxri.jar:/bin/commons-logging-api.jar” \ org.apache.catalina.realm.RealmBase -a md5 [secret] by replacing “[secret]” with the password. Some systems have a working digest.sh script that does the same thing.
The Eclipse foundation announced today the availability of Xtend, and improvement on the Java language, that remains compatible. See the video below, and check out the Xtend website to see for yourself, how Xtend embraces Java, while improving it readability and adding a number of nifty features, some of which programmers like in Smalltalk, Perl, […]
If running a legacy java app on a newer RH or RHEL system, youget: Error occurred during initialization of VM Unable to load native library: …/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference This is a symptom of an older JDKs that is buggy. Jakub Jelinek of RedHat suggests […]
Joshua Kramer has an article in LJ about Qpid and AMQP. One of the most compelling aspects of Qpid is its cross plaform and cross language capability. Finally there is a message broker that is easy to use and has ready to go clients for C++, Java, Python, Ruby and .Net. Take a look and […]