|
From: <php...@li...> - 2008-10-30 16:25:32
|
Guilherme,
I took the lazy approach. I just set my CLASSPATH to current directory .
or (period), the jre/lib, and the jre/lib/ext.
In my case the CLASSPATH is
cshaffer@U2web:~$ echo $CLASSPATH
.:/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib:/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/ext
The first part of the path will depend on your choice of java versions. I
used the latest Sun version at the time. Just do a find for jre
cshaffer@U2web:~$ sudo find / -name 'jre'
[sudo] password for cshaffer:
/usr/lib/jvm/java-6-sun-1.6.0.03/jre
This will tell you where the install is located.
Jost tipped me off that putting the jars in the /jre/ext directory would
load them statically and life was much simpler then.
Hope this helps.
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
php...@li...
10/30/2008 11:07 AM
Please respond to php-java-bridge-users
To: php...@li...
cc:
Subject: Re: [Php-java-bridge-users] PHP Java Integration
The problem is that I need include JAR files in the classpath to recognize
the PHP Java Bridge.
How do you do about this?
Thanks
Guilherme
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|