Skip to content

Blog Category: Java

Java tips and tricks
Install Open MQ 4.4 on Mac OS X 10.6 (Snow Leopard)
Category: Java Published: 2009-09-07

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 […]

How to create an MD5 password in java or Tomcat
Category: Java Published: 2009-05-31

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 script that does the same thing.

Hello Xtend
Category: Java Published: 2011-11-06

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, […]

Problems starting Java
Category: Java Published: 2009-05-31

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: …/ symbol __libc_wait, version GLIBC_2.0 not defined in file with link time reference This is a symptom of an older JDKs that is buggy. Jakub Jelinek of RedHat suggests […]

Qpid, an AMQP implementation
Category: Java Published: 2010-01-18

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 […]

© 2021, All rights reserved. | NewPush LLC. |