Results 1 to 5 of 5

Thread: Enabling a Client to execute the java

  1. #1
    Join Date
    Jan 2010
    Posts
    48

    Enabling a Client to execute the java

    I am running with a network structure and wanted to execute a java application between client and server and my database is on remote location. What are the configuration should be applied to execute particular application on server and the result will be shown on my machine(client).I have less privilege to execute the packages.How It would be ???

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Enabling a Client to execute the java

    Enabling the Java Client

    To execute the java application between server and client,the client need some configuration and perform some task :

    1. Install JDK on the Client side
    2. Configure Environment Variables to interact with drivers
    3. Install with some provided files

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Installing JDK on the client

    Installation of JDK on client :

    Client requires JDK software to be installed to continue the execution of java application.
    To know about the current version on the client :

    $ which java
    /usr/local/packages/jdk1.2.1/bin/java

    $ which javac
    /usr/local/packages/jdk1.2.1/bin/javac
    $ java -version
    java version "1.2.1"

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Setting up environmental variables

    Setting up the environmental variable :

    After installing the JDK on the client system,you need to associate the directory path for following environment variable.

    $JAVA_HOME should be configured with the top directory of installed JDK base
    $PATH requires the $JAVA_HOME/bin directory.
    $LD_LIBRARY_PATH must be set with $JAVA_HOME/lib parameter.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Testing of Installation with provided Samples

    Testing Installation of JDK:

    The oracle database provides some default sample to verify the installation of JVM that you have done currently and these files kept in the location

    $ORACLE_HOME/javavm/demo/examples/jsproc/helloworld

    If provided samples is not running well then your installation didn't committed well and need to check the environmental variables.

Similar Threads

  1. Replies: 6
    Last Post: 08-10-2011, 07:07 PM
  2. Help with Java card client
    By Maddy07 in forum Software Development
    Replies: 5
    Last Post: 24-07-2010, 03:28 AM
  3. Execute timer service in java
    By Messenger in forum Software Development
    Replies: 4
    Last Post: 20-07-2010, 01:27 PM
  4. Execute dos command in java
    By Gillian Anderson in forum Software Development
    Replies: 4
    Last Post: 22-03-2010, 01:21 PM
  5. Compile and execute a program in java
    By ISAIAH in forum Software Development
    Replies: 5
    Last Post: 03-03-2010, 01:07 PM

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
  •  
Page generated in 1,714,715,534.28714 seconds with 17 queries