Difference between revisions of "Instal Protege5 Win"

From Protege Wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
'''[[Install_Protege5|Go to the main Protege 5 installation page]]'''
 
'''[[Install_Protege5|Go to the main Protege 5 installation page]]'''
  
== 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) ===
+
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 includes the 64-bit Java Runtime Environment (JRE). So, it is not necessary to have Java pre-installed on your computer to run Protege.
  
This step is optional. Perform this step if you aren't sure if Java 7 or later is installed on your computer.
+
== Download the ZIP file ==
  
To follow are two possible ways to check your Java version:
+
* Go to the [http://protege.stanford.edu/products.php#desktop-protege Products page] on the Protege website.
 +
* Click the "Download for Windows" button to download the ZIP file to your machine.
  
==== 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:
 
  
 +
== Unzip Protege ==
 +
Once the download completes, navigate to the folder where the ZIP file was downloaded.  On a Windows machine, this will typically be your "Downloads" folder, e.g., "C:/Users/<your-username>/Downloads".
  
[[Image:InstallP5_OracleJavaVersionDialog.png]]
+
Right-click on the ZIP file and choose "Extract All..." from the context menu to launch the Extract Compressed Folders dialog.  Click the Browse... button to select a destination for your Protege Desktop installation, e.g., the "C:/Program Files" folder:
  
  
==== From the Command Prompt ====
+
[[Image:InstallP5_ExtractFilesDialog.png]]
* 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]]
+
Protege Desktop will be extracted to your selected destination into a folder called "Protege_5.0.0":
  
=== 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.
+
[[Image:InstallP5_ProtegeUnzipped.png]]
 
 
=== Download the ZIP file ===
 
 
 
* Go to the [http://protege.stanford.edu/products.php#desktop-protege Products page] on the Protege website.
 
* Click the "Download for Windows" button to download the ZIP file to your machine.
 
 
 
=== Unzip Protege ===
 
Once the download completes, navigate to the folder where the ZIP file was downloaded.  On a Windows machine, this will typically be your "Downloads" folder, e.g., "C:/Users/<your-username>/Downloads".
 
 
 
Right-click on the ZIP file and choose "Extract All..." from the context menu to launch the Extract Compressed Folders dialog.  Click the Browse... button to select a destination for your Protege Desktop installation, e.g., the "C:/Program Files" folder:
 
  
  
[[Image:InstallP5_ExtractFilesDialog.png]]
+
== Launch Protege ==
 +
There are two ways to launch Protege:
  
 +
#Double-click on the Protege.exe, or
 +
#Double-click on run.bat - which will start Protege also showing the console.
  
Protege Desktop will be extracted to your selected destination into a folder called "Protege_5.0_beta":
+
For quicker access to Protege Desktop going forward, right-click on the Protege.exe file and select "Send to" -> "Desktop (create shortcut)".  This will create a shortcut to Protege Desktop's launcher on your Windows Desktop.
  
  
[[Image:InstallP5_ProtegeUnzipped.png]]
+
= Troubleshooting =
  
 +
''Q'': ''When I double-click on the run script, nothing happens, or I see a window that comes up, and goes away!''
  
=== Launch Protege ===
+
''A'': Try running Protege using the run.bat from a console and report any errors displayed in the console window on the [http://protege.stanford.edu/support.php#mailingListSupport Protege User Support mailing list].  
To launch Protege Desktop, double-click the '''run.bat''' file in the root directory of the installation.
 
  
For quicker access to Protege Desktop going forward, right-click on the run.bat file and select "Send to" -> "Desktop (create shortcut)".  This will create a shortcut to Protege Desktop's launcher on your Windows Desktop called "run.bat - Shortcut".  Select the shortcut and press the F2 key to rename the shortcut to something more user friendly, e.g., "Protege 5.0 beta".
+
* How to run Protege from the console on Windows:
 +
** Click the '''Start menu'''
 +
** Type <code>cmd</code> in the search box and press the Enter key
 +
** In the resulting Command Prompt, change to the directory where you unzipped Protege (e.g., <code>cd "C:\Program Files\Protege_5.0_beta"</code>)
 +
** Type <code>run.bat</code>.
  
 +
Then report the results back on the [http://protege.stanford.edu/support.php protege-user] mailing list.
  
  
'''[[Install_Protege5|Go to the main Protege 5 installation page]]'''
+
'''[[Install_Protege5#Troubleshooting|See more troubleshooting help on the main Protege 5 installation page]]'''

Latest revision as of 15:36, May 24, 2016

Win-logo.jpg Protege 5 Installation instructions for Windows


Go to the main Protege 5 installation page


Protege Desktop 5.0 is distributed in the form of a ZIP file from the main Protege website, and includes the 64-bit Java Runtime Environment (JRE). So, it is not necessary to have Java pre-installed on your computer to run Protege.

Download the ZIP file

  • Go to the Products page on the Protege website.
  • Click the "Download for Windows" button to download the ZIP file to your machine.


Unzip Protege

Once the download completes, navigate to the folder where the ZIP file was downloaded. On a Windows machine, this will typically be your "Downloads" folder, e.g., "C:/Users/<your-username>/Downloads".

Right-click on the ZIP file and choose "Extract All..." from the context menu to launch the Extract Compressed Folders dialog. Click the Browse... button to select a destination for your Protege Desktop installation, e.g., the "C:/Program Files" folder:


InstallP5 ExtractFilesDialog.png


Protege Desktop will be extracted to your selected destination into a folder called "Protege_5.0.0":


InstallP5 ProtegeUnzipped.png


Launch Protege

There are two ways to launch Protege:

  1. Double-click on the Protege.exe, or
  2. Double-click on run.bat - which will start Protege also showing the console.

For quicker access to Protege Desktop going forward, right-click on the Protege.exe file and select "Send to" -> "Desktop (create shortcut)". This will create a shortcut to Protege Desktop's launcher on your Windows Desktop.


Troubleshooting

Q: When I double-click on the run script, nothing happens, or I see a window that comes up, and goes away!

A: Try running Protege using the run.bat from a console and report any errors displayed in the console window on the Protege User Support mailing list.

  • How to run Protege from the console on Windows:
    • Click the Start menu
    • Type cmd in the search box and press the Enter key
    • In the resulting Command Prompt, change to the directory where you unzipped Protege (e.g., cd "C:\Program Files\Protege_5.0_beta")
    • Type run.bat.

Then report the results back on the protege-user mailing list.


See more troubleshooting help on the main Protege 5 installation page