php-windows Digest 20 Jun 2003 08:09:14 -0000 Issue 1785
Topics (messages 20431 through 20434):
Re: PHP i need help please
20431 by: Kevin Ison
20433 by: Christoph Grottolo
20434 by: Daniel Beulshausen
Parse error what's this, what to do?
20432 by: Ildiko Nyari
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
danke Daniel...
apparently multiple paths need to be encapsulated with quote marks.
something i did not do.
"Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
At 16:00 18.06.2003 -0400, you wrote:
>I ment to tell you that worked.
>
>however if i did this:
>$myClass = new Java("myCustomJavaClass");
>
>the application would crash with:
>Warning: java.lang.ClassNotFoundException: myCustomJavaClass
>
>it seems that no matter where I put the myCustomJavaClass.class file its
not
>visible even with a hardwired CLASSPATH in the environment I tried placing
>the class file into each path shown below:
>java.class.path = c:\php\extensions\php_java.jar
>java.home = c:\j2sdk1.4.1_01\jre
>java.library = c:\j2sdk1.4.1_01\jre\bin\client\jvm.dll
>java.library.path = c:\php\extensions\
>
>all the above areas... still doesnt work.
extend your classpath:
java.class.path = "c:\php\extensions\php_java.jar;c:\path\to my classes"
i.e.
java.class.path = "c:\php\extensions\php_java.jar;c:\java\classes"
when myCustomJavaClass.class is located in c:\java\classes.
hope there's nothing wrong with cc-ing to the list...
mit freundlichen grüßen aus berlin,
daniel
/*--
Daniel Beulshausen - [EMAIL PROTECTED]
Using PHP on Windows? http://www.php4win.com
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] (Daniel Beulshausen) wrote:
>mit freundlichen grüßen aus berlin,
>daniel
welcome back to php... and thanks a lot for having implemented network
access on win32.
christoph
--- End Message ---
--- Begin Message ---
At 13:33 19.06.2003 -0400, Kevin Ison wrote:
danke Daniel...
apparently multiple paths need to be encapsulated with quote marks.
something i did not do.
yes, colons are interpreted as line comments by the ini parser.
btw: looking at the source of the java extension, it should use the
CLASSPATH env variable if the ini variable java.class.path is not set.
mit freundlichen grüßen aus berlin,
daniel
/*--
Daniel Beulshausen - [EMAIL PROTECTED]
Using PHP on Windows? http://www.php4win.com
--- End Message ---
--- Begin Message ---
Hello
Parse error: parse error, unexpected '<' in C:\Program Files\Apache
Group\Apache2\htdocs\advanced3.php on line 129
what's this?
I always get this error when I want to display the php files on the web, so can't.
What do I do wrong?
thanks,
ildiko
--- End Message ---