Difference between revisions of "Install Protege5"

From Protege Wiki
Jump to: navigation, search
(Mac OS X: checkpoint save)
m
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<br /><span style="font-weight:bold; font-size:20px;">Protege Desktop 5.0 Beta Installation Instructions</span><br /><br />
+
<br /><span style="font-weight:bold; font-size:20px;">Protege Desktop 5.x Installation Instructions</span><br /><br />
 
 
Please refer to the specific installation instructions for your platform.
 
  
  
Line 7: Line 5:
  
  
== Windows ==
+
== Platform specific instructions ==
Protege Desktop 5.0 beta is distributed in the form of a ZIP file and requires Java 7.
 
 
 
If you already know that Java 7 is installed on your Windows machine, skip to next section on [[#Download_the_ZIP_file|downloading the ZIP file]].
 
 
 
If you check for Java 7 and determine that you don't have Java installed on your Windows machine, please refer to the Oracle Java website for [http://www.java.com/en/download/help/windows_manual_download.xml download and installation instructions].  After installing Java 7, proceed to the next section on [[#Download_the_ZIP_file|downloading the ZIP file]].
 
 
 
=== Check for Java 7 ===
 
There are several possible ways to check your Java version on Windows.
 
 
 
==== From the Windows Start menu ====
 
* Click the Windows Start button.
 
* Type "Java" in the "Search programs and files" text box.
 
* Select "About Java" from the results listed under the "Programs" header:
 
 
 
 
 
[[Image:InstallP5_AboutJava.png]]
 
 
 
 
 
Selecting About Java will display a dialog with your Java version:
 
 
 
 
 
[[Image:InstallP5_OracleJavaVersionDialog.png]]
 
 
 
 
 
==== From the Command Prompt ====
 
* Click the Windows Start button.
 
* Type "Command Prompt" in the "Search programs and files" text box.
 
* Select "Command Prompt" from the results list to launch the Command Prompt application.
 
* Type "java -version" at the prompt to view your Java version:
 
 
 
 
 
[[Image:InstallP5_CommandPromptJavaVersion.png]]
 
 
 
 
 
==== From the Java Control Panel ====
 
Detailed instructions for determining your version of Java via the Java Control Panel are [http://www.java.com/en/download/help/version_manual.xml#jcpl available on the Oracle Java website].
 
 
 
 
 
=== 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:
 
  
 +
Click on the links below for the platform specific instructions. The platforms-specific archives include the Java JRE, so it is not required to have Java installed on your machine. Use the platform-independent archive if you would like to use a specific version of Java, or if your system is 32-bit (the case with older computers).
  
[[Image:InstallP5_ExtractFilesDialog.png]]
+
=== [[File:Win-logo.jpg|50px]] [[Instal_Protege5_Win|Windows]] ===
 +
''Includes the JRE, and works for 64-bit Windows platforms''
  
 +
=== [[File:Mac-logo.jpg|50px]] [[Install_Protege5_Mac|Mac OSX]] ===
 +
''Includes the JRE, and works for 64-bit OSX platforms''
  
Protege Desktop will be extracted to your selected destination into a folder called "Protege_5.0_beta":
+
=== [[File:Tux-logo.png|50px]] [[Install_Protege5_Linux|Linux]] ===
 +
''Includes the JRE, and works for 64-bit Linux platforms''
  
 +
=== [[File:PlatfIndep-logo.png|50px]] [[Install_Protege5_PlatformIndep|Platform Independent]] ===
 +
''Does not include the JRE, requires a Java version 8 or newer installed, works on any platform''
  
[[Image:InstallP5_ProtegeUnzipped.png]]
 
  
 +
== Troubleshooting ==
  
=== Launch Protege ===
+
''Q'': ''When I try to run Protege from the platform-independent archive with the run script, I get an <code>UnsupportedClassVersionError</code>, e.g., <code>"Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file"</code>''
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 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".
+
''A'': Most likely you have an older Java version installed. Protege requires Java 8 or later. Please see the documentation above on how to check which version of Java is installed on your system.
  
  
== Mac OS X ==
+
== How to get help ==
Protege 5.0 is distributed in the form of a ZIP file and requires Java 7.
 
  
If you already know that Java 7 is installed on your Mac, skip the next section on checking for Java.
+
If you have problems installing or running Protege Desktop, please refer to the [[Install_Protege5#Troubleshooting|troubleshooting]] section first.  We also recommend searching the [http://protege-project.136.n4.nabble.com/ mailing list archives], as the problem and a solution might have already been posted.
  
If you check for Java 7 and determine that you don't have Java installed on your Mac, please refer to the Oracle Java website for [http://www.java.com/en/download/help/mac_install.xml download and installation instructions].  After installing Java 7, proceed to the section on downloading the ZIP file.
+
If you can't find the answers from these resources, send an email to the [http://protege.stanford.edu/support.php#mailingListSupport '''Protege User Support''' mailing list] (you need to be subscribed to post)Please be as specific as possible and try to include the following items:
  
=== Check for Java 7 ===
 
There are several ways to check for Java 7 on your Mac.
 
  
==== From the Java Control Panel ====
+
* What is your operating system (e.g., OS X 10.9, Windows 7, etc.)?
 +
* What is your Java version?
 +
* What are the specific steps to reproduce the problem?
 +
* Are there any error messages in the console window or the log file?
 +
* What is the observed behavior?
  
==== From the Terminal ====
 
* Open Finder.
 
* Go to Applications -> Utilities.
 
* Double-click the Terminal application.
 
* At the prompt, type "java -version" to see your Java version number:
 
  
== Unix-like ==
+
The more detail you provide up front, the more helpful we can be in terms of a prompt response.
Protege 5.0 is distributed in the form of a tar.gz file and requires Java 7.
 

Latest revision as of 12:15, December 23, 2021


Protege Desktop 5.x Installation Instructions



Platform specific instructions

Click on the links below for the platform specific instructions. The platforms-specific archives include the Java JRE, so it is not required to have Java installed on your machine. Use the platform-independent archive if you would like to use a specific version of Java, or if your system is 32-bit (the case with older computers).

Win-logo.jpg Windows

Includes the JRE, and works for 64-bit Windows platforms

Mac-logo.jpg Mac OSX

Includes the JRE, and works for 64-bit OSX platforms

Tux-logo.png Linux

Includes the JRE, and works for 64-bit Linux platforms

PlatfIndep-logo.png Platform Independent

Does not include the JRE, requires a Java version 8 or newer installed, works on any platform


Troubleshooting

Q: When I try to run Protege from the platform-independent archive with the run script, I get an UnsupportedClassVersionError, e.g., "Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file"

A: Most likely you have an older Java version installed. Protege requires Java 8 or later. Please see the documentation above on how to check which version of Java is installed on your system.


How to get help

If you have problems installing or running Protege Desktop, please refer to the troubleshooting section first. We also recommend searching the mailing list archives, as the problem and a solution might have already been posted.

If you can't find the answers from these resources, send an email to the Protege User Support mailing list (you need to be subscribed to post). Please be as specific as possible and try to include the following items:


  • What is your operating system (e.g., OS X 10.9, Windows 7, etc.)?
  • What is your Java version?
  • What are the specific steps to reproduce the problem?
  • Are there any error messages in the console window or the log file?
  • What is the observed behavior?


The more detail you provide up front, the more helpful we can be in terms of a prompt response.