Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-2950

Specifying JRE for Windows is described slightly different than Linux even if the JDK structure is the same for both platforms

    XMLWordPrintable

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes
    • Estimated Difficulty:
      Low
    • Release Notes Text:
      Hide
      Instructions for Specifying the Java Runtime Environment (JRE) for Windows users incorrectly suggested that the path to the JRE bin directory was required in Environment Variables. The procedure Specifying JRE for Windows now instructs users to set the JRE path to the JRE installation root directory, and includes instructions to set environment variables in Windows.
      Show
      Instructions for Specifying the Java Runtime Environment (JRE) for Windows users incorrectly suggested that the path to the JRE bin directory was required in Environment Variables. The procedure Specifying JRE for Windows now instructs users to set the JRE path to the JRE installation root directory, and includes instructions to set environment variables in Windows.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      In the Installation Guide 4.3.0 cp06 at http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp06/html-single/Installation_Guide/index.html the following line states how to change PATH environment variable relative to JAVA_HOME env. var. on Linux:

      "Add $JAVA_HOME/bin to the system path to be able to run java from the command line." in section "Installing and Configuring 32-bit Sun JDK 5.0 on a generic Linux platform".

      However, in the section "Installing and Configuring 32-bit Sun JDK 5.0 on Microsoft Windows" it says:

      "In order to run java from the command line add the jre\bin directory to your path, for example: C:\Program Files\Java\jdk1.5.0_11\jre\bin."

      So, for Windows environment it is suggested to refer to %JAVA_HOME%/JRE/bin to execute "java" command while it is only $JAVA_HOME/bin (mind the missing "jre") in Linux.

      The statement technically correct but I guess using different "java" locations relative to JAVA_HOME environment variable on different platforms in the very same document doesn't make sense (unless it was the intention to indirectly explain both "java"s under JAVA_HOME/bin and JAVA_HOME/jre/bin folders in JDK for Windows are the same.)

      Reminder: "javac" (java compiler) does NOT exist under JAVA_HOME/jre/bin directory of Windows which is suggested to be used in the Installation Guide document!

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jaredmorgs Jared Morgan
                  Reporter:
                  ersucuk Ersan Ariciogullari
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 30 minutes
                    30m
                    Remaining:
                    Remaining Estimate - 30 minutes
                    30m
                    Logged:
                    Time Spent - Not Specified
                    Not Specified