[Pljava-dev] Deployer error.
Mncedisi Kheswa
pkheswa at yahoo.com
Mon Sep 5 12:49:02 UTC 2005
Hi all,
If anyone can help. I have installed Java with Postgres SQL Server on Linux 8.0 and when trying to run # java org.postgresql.pljava.deploy.Deployer -install I get "NoClassDef in main error". Written a simple java program and it runs fine.
Here's my /etc/profile environment variables :
JAVA_HOME=/usr/local/j2sdk1.4.2
POSTGRES_HOME=/usr/local/pgsql
PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$POSTGRES_HOME/bin:$PATH
CLASSPATH=.:/usr/local/pljava/deploy.jar:/usr/local/pgsql/share/java/postgresql-8.0-312.jdbc3.jar
LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client:$JAVA_HOME/jre/lib/i386/server:$JAVA_HOME/jre/lib/i386/native_threads
/usr/local/pgsql/data/postgresql.conf file :
dynamic_library_path = '$libdir:/usr/local/pljava/'
custom_variable_classes = 'pljava'
log_min_messages = info
pljava.classpath = '/usr/local/pljava/pljava.jar'
pljava.statement_cache_size = 10
pljava.release_lingering_savepoints = true
pljava.vmoptions = '-Xmx64M'
pljava.debug = false
Postgres database and Java are both installed and working.
pljava is installed under /usr/local/ - can check pljava.classpath value above.
Maybe I'm missing something, please help.
Thanks in advance.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pgfoundry.org/pipermail/pljava-dev/attachments/20050905/d59daa1d/attachment.html
More information about the Pljava-dev
mailing list