+ Reply to Thread
Results 1 to 3 of 3

Thread: java access from php

  1. #1
    nguyenha_862004
    Guest

    java access from php

    I currently have the Java SDK installed on my red hat box with plesk. I want to be able to access java commands from the web using the system() command in php to run the commands.



    I think its a permissions based problem either in javas setings or in apache but when i run a java command like "java -version" from command line it gives a responce but from php on a web server is gives no response when i run system("java -version"). also note htat that same php file ran from command line outputs correctly. i think the wwwrun user for apache does not have access to the java commands.



    Any help would be appciciated or other ways to access the java commands in php would be great.



    thanks,

    Dan
    More Information:
    1. I wrote a PHP/Javascript/CGI page and the applet won't work
    2. java uses the first to execute any given query (DDL & DML supported) on any ms access database and
    3. Net, Visual Basic, Java, Ruby, PHP, Perl, Python and more
    4. PHP code does not need changing to take advantage of this capability
    5. The only purpose of this article is to show the reader how to access an EJB component from PHP code
    6. 9 posts - 9 authors - Last post: Jan 19Java specifications include a number of versions for the available API access rights (Note that it is possible that there might not be a device available
    7. I already setting up the apache using php_java bridge and it works well (the PHP can access all java class, such as java

    More:


  2. #2
    ngotung113
    Guest

    Have a look at the php-java-bridge on sourceforge. I used it a while ago and it seemed fine.



    cheers



    John
    More Information:
    1. a method declaration can contain only one of the access modifiers public, protected and private; classes cannot be declared abstract and final simultaneously
    2. After spending the last few weeks learning PHP, I have decided to combine this knowledge with my other proficient language - Java
    3. The Cocoa-Java API is deprecated in Mac OS X version 10
    4. changelog Tue Apr 30 20:51:42 2002 EDT Modified files: /php-gtk ChangeLog Log: ChangeLog update Index: php-gtk/ChangeLog diff -u php-gtk/ChangeLog:1
    5. 3 posts - 2 authors - Last post: Dec 16, 2009I have some PHP code (5
    6. The iBATIS Database Layer, written by Clinton Begin, is a collection of open-source components that assist Java developers with data access

+ Reply to Thread

Similar Threads

  1. Raw Access Logs
    Nevermind i found something - please delete thanks
  2. MS Access Beginner Resource
    Anyone know a good MS Access beginner resource ... something like a dummies guide to MS Access ... got a friend who needs all the help he can get.
  3. Access mysql without a Control Panel?
    Is there anyone that can point me out what tool to use to easily access my mysql database. The site does support SSH , doesnt have phpmyadmin. I dont...
  4. Cannot access forum admin in PHPBB
    Ok, I was playing around with PHPBB (because its free) as the forum for my computer repair site. Anywho, I seemed to have removed the control panel...
  5. Cannot access site from one machine
    About 24 hours ago, I started getting ftp errors when uploading to a site but I could browse it. Now the site is totally inaccessable from my...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish