Results 1 to 6 of 6
  1. #1
    xPhil is offline Member
    Join Date
    Apr 2017
    Posts
    3
    Rep Power
    0

    Default INstal;ling Java Server JRE

    Basically I want to install Java, but only the Server JRE (no requirement for dev tools, browser plugins etc). I can download the package from Oracle, here, but as they say, it doesn't include an installer. The installation instructions simply say "Unpack the tarball to a folder of your choice". All very well, but there must be more to it than that? How do applications that require Java know it's there?
    thanks...

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: INstal;ling Java Server JRE

    The Server will need to know where to find the java command and the libraries so the classpath and bin path will need to be set properly. But the JRE
    and JDK can simply be unzipped and placed in the file system.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    xPhil is offline Member
    Join Date
    Apr 2017
    Posts
    3
    Rep Power
    0

    Default Re: INstal;ling Java Server JRE

    Thanks - but can you please elaborate on what you mean by "the classpath and bin path will need to be set properly" ?

  4. #4
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: INstal;ling Java Server JRE

    The bin file is the one which finds command line executables to run. It believe it is also used by the daemon processes. It would be easier if you look at the tutorials in my signature and read the part about starting and running Java. It talks about classpath and environment variables there.

    Regards,
    Jim
    Last edited by jim829; 04-26-2017 at 03:08 PM. Reason: clarified the tutorial reference
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: INstal;ling Java Server JRE

    Classpath shouldn't be an issue, at least no different to running under any other JRE.
    It's the path to the bin (or more specifically the 'java' command) you want.
    If it's the only version of Java you plan on using on that server then you can set the system up (eg using the PATH environment variable on Windows) to point to that version.
    If there are a number of versions, then have each app that uses a certain Java version point to the one it needs (eg in a launching shell script).
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  6. #6
    xPhil is offline Member
    Join Date
    Apr 2017
    Posts
    3
    Rep Power
    0

Similar Threads

  1. Java 8.51 Failed to instal in Windows 7
    By 99bassman in forum NetBeans
    Replies: 1
    Last Post: 07-21-2015, 09:19 AM
  2. I cannot instal jre on my netbook it gives 123 error
    By ayeritsian in forum New To Java
    Replies: 5
    Last Post: 01-10-2012, 02:59 PM
  3. how to instal sql
    By ravi kumar in forum Java Software
    Replies: 7
    Last Post: 08-30-2009, 05:12 PM
  4. how to instal
    By ravikumar in forum New To Java
    Replies: 1
    Last Post: 08-07-2009, 09:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •