Difference between revisions of "Install Protege5 PlatformIndep"

From Protege Wiki
Jump to: navigation, search
(Created page with "= 50px Protege 5 Installation instructions (Platform-Independent) = '' Work in progress ''")
 
Line 1: Line 1:
 
= [[File:PlatfIndep-logo.png|50px]] Protege 5 Installation instructions (Platform-Independent) =
 
= [[File:PlatfIndep-logo.png|50px]] Protege 5 Installation instructions (Platform-Independent) =
  
'' Work in progress ''
+
''' Work in progress '''
 +
 
 +
 
 +
== Windows ==
 +
 
 +
 
 +
Protege Desktop 5.0 is distributed in the form of a ZIP file from the [http://protege.stanford.edu/products.php#desktop-protege main Protege website], and requires Java 7 or later.  Please consult the Oracle Java website for Java [http://www.java.com/en/download/help/windows_manual_download.xml download and installation instructions].
 +
 
 +
 
 +
=== Check for Java 7 (optional) ===
 +
 
 +
This step is optional. Perform this step if you aren't sure if Java 7 or later is installed on your computer.
 +
 
 +
To follow are two possible ways to check your Java version:
 +
 
 +
 
 +
==== From the Start menu ====
 +
* Click the Start menu.
 +
* Type "Java" in the search field.
 +
* Select "About Java" from the results list to display a dialog with your Java version information:
 +
 
 +
 
 +
[[Image:InstallP5_OracleJavaVersionDialog.png]]
 +
 
 +
 
 +
==== From the Command Prompt ====
 +
* Click the Start menu.
 +
* Type "cmd" in the search box.
 +
* Select "cmd.exe" from the results list to launch the Command Prompt application.
 +
* Type "java -version" at the prompt to view your Java version information:
 +
 
 +
 
 +
[[Image:InstallP5_CommandPromptJavaVersion.png]]
 +
 
 +
 
 +
=== Install JDK 7 on Windows 7 or 8 (if necessary) ===
 +
 
 +
In case the check for Java 7 from the previous test did not work, please follow this [http://javarevisited.blogspot.com/2013/02/how-to-install-jdk-7-on-windows-8-java-32bit-64.html step-by-step guide] to install Java JDK 7 on your Windows 7 or 8. Make sure at the end that you edit the <code>PATH</code> environment variable to add the path to the newly installed Java 7 (usually it is installed in:<code>C:\Program Files\Java\jdk1.7.0_13\bin</code>). This [http://javarevisited.blogspot.sg/2013/02/windows-8-set-path-and-classpath-java-windows-7.html step-by-step guide] helps you set the environment variable.
 +
 
 +
=== Troubleshooting ===
 +
 
 +
''Q'': ''When I run <code>run.bat</code> in Windows, I get the error message:
 +
'java' is not recognized as an internal or external command, operable program or batch file.
 +
 
 +
''A'': Windows cannot find Java on your system. This can happen either if: (1) you do not have Java installed on your computer, or (2) you have Java installed, but it is not found on the <code>PATH</code> environment variable of your system. The solution is either to install java (if you don't have it), and/or to add it to the <code>PATH</code> variable. Both solutions are described [[Install_Protege5#Install_JDK_7_on_Windows_7_or_8_.28if_necessary.29|here]].
 +
 
 +
 
 +
 
 +
'''[[Install_Protege5#Troubleshooting|See more troubleshooting help on the main Protege 5 installation page]]'''

Revision as of 16:21, March 17, 2015

PlatfIndep-logo.png Protege 5 Installation instructions (Platform-Independent)

Work in progress


Windows

Protege Desktop 5.0 is distributed in the form of a ZIP file from the main Protege website, and requires Java 7 or later. Please consult the Oracle Java website for Java download and installation instructions.


Check for Java 7 (optional)

This step is optional. Perform this step if you aren't sure if Java 7 or later is installed on your computer.

To follow are two possible ways to check your Java version:


From the Start menu

  • Click the Start menu.
  • Type "Java" in the search field.
  • Select "About Java" from the results list to display a dialog with your Java version information:


InstallP5 OracleJavaVersionDialog.png


From the Command Prompt

  • Click the Start menu.
  • Type "cmd" in the search box.
  • Select "cmd.exe" from the results list to launch the Command Prompt application.
  • Type "java -version" at the prompt to view your Java version information:


InstallP5 CommandPromptJavaVersion.png


Install JDK 7 on Windows 7 or 8 (if necessary)

In case the check for Java 7 from the previous test did not work, please follow this step-by-step guide to install Java JDK 7 on your Windows 7 or 8. Make sure at the end that you edit the PATH environment variable to add the path to the newly installed Java 7 (usually it is installed in:C:\Program Files\Java\jdk1.7.0_13\bin). This step-by-step guide helps you set the environment variable.

Troubleshooting

Q: When I run run.bat in Windows, I get the error message:

'java' is not recognized as an internal or external command, operable program or batch file.

A: Windows cannot find Java on your system. This can happen either if: (1) you do not have Java installed on your computer, or (2) you have Java installed, but it is not found on the PATH environment variable of your system. The solution is either to install java (if you don't have it), and/or to add it to the PATH variable. Both solutions are described here.


See more troubleshooting help on the main Protege 5 installation page