Changes between Version 76 and Version 77 of InstallationInstructions


Ignore:
Timestamp:
Sep 26, 2020 12:31:45 PM (4 years ago)
Author:
magne
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationInstructions

    v76 v77  
    2020* You need the full JDK (Java Development Kit), not just a JRE (Java Runtime Environment).
    2121* Make certain you choose a JDK 8 from summer 2017 or later due to certificate issues with some of the Eclipse plugins.
    22 * There are several choices for free downloads of JDK 8:
     22* There are several choices for free downloads of JDK 8 (the first two of these appear to be obsolete):
    2323 * [http://openjdk.java.net/ OpenJDK] an open source JDK, works nicely if available for your platform (provided for most Linux distributions);
    2424 * [http://jdk.java.net Oracle's OpenJDK] production-ready open-source builds of the JDK from Oracle (limited range of platforms);
    25  * [http://www.oracle.com/technetwork/java/javase/downloads/index.html Oracle Java SE JDK] commercial JDK builds from Oracle, free downloads for most platforms;
     25 * [http://www.oracle.com/technetwork/java/javase/downloads/index.html Oracle Java SE JDK] commercial JDK builds from Oracle (requires creating an account), free downloads for most platforms;
    2626
    2727As your system probably will have a more recent Java installed,
     
    3737
    3838* On MacOSX terminal windows and compilers are part of the ''Xcode'' tool suite, available for free in the App Store (see  menu, on the upper left).
    39 * On Windows we recommend installing the [https://cygwin.com/install.html Cygwin] free, open-source gnu g++ and make utility. When using the downloader,  be certain to activate the developer section and select the ''gcc-g++:GNU Compiler Collection'' and ''make: The GNU Version of the ‘make’ utility''. Some people have managed to use Magnolia with native Windows tools without installing the Cygwin toolset.
     39* On Windows it may now be possible to use Magnolia with the native developer tools. Otherwise we recommend installing the [https://cygwin.com/install.html Cygwin] free, open-source gnu g++ and make utility. When using the downloader,  be certain to activate the developer section and select the ''gcc-g++:GNU Compiler Collection'' and ''make: The GNU Version of the ‘make’ utility''.
    4040
    4141== 2. Install Eclipse for Magnolia ==
     
    4343Create the directory ''magnolia'' (or whatever name you prefer) for storing Eclipse and your Magnolia workspace. This is recommended, but not necessary.
    4444
    45 There are several alternatives for downloading Eclipse. We recommend downloading an Eclipse package:
     45There are several alternatives for downloading Eclipse. We recommend downloading an Eclipse package (do '''not''' use the Eclipse installer):
    4646* [https://www.eclipse.org/downloads/packages/release/oxygen/3a Eclipse Oxygen Package]  '''recommended''' release.
    4747{{{#!comment
     
    5050Choose ''Eclipse IDE for C/C++ Developers''.
    5151
    52 Depending on your operating system you may now have a {{{eclipse-cpp-oxygen-*.zip}}}, a {{{eclipse-cpp-oxygen-*.dmg}}}, or a {{{eclipse-cpp-oxygen-*.tar.gz}}} file.
     52Depending on your operating system you may now have an {{{eclipse-cpp-oxygen-*.zip}}}, an {{{eclipse-cpp-oxygen-*.dmg}}}, or an {{{eclipse-cpp-oxygen-*.tar.gz}}} file.
    5353Unpack it, and install the software in the directory ''magnolia'' as planned.
    5454If you downloaded a tar file on Linux/BSD/Unix/MacOSX go to a terminal and move to the directory ''magnolia''. In the terminal unpack Eclipse by writing {{{tar xzfp [name of downloaded package]}}}.
     
    5757=== Edit the file ''eclipse.ini'' ===
    5858
     59NB! On current MacOS you need to start Eclipse (and immediately quit it) before editing the "eclipse.ini" file. Use something like {{{open -a Eclipse*.app --args -vm jdk8path}}} (where {{{jdk8path}}} is the path to the JDK 8 tools, see below).
     60
    5961The file ''eclipse.ini'' is a normal text file which is somewhere in the newly unpackaged directory.
    6062
     
    6466<the path to your JDK 8>
    6567}}}
    66 The path to the JDK may be something like {{{C:\Program Files\Java\jdk1.8.0_144\bin}}} on Windows, {{{/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin}}} on MacOS, or {{{/opt/java-jdk-1.8.0.102/bin}}} on Linux.
     68The path to JDK 8 {{{jdk8path}}} may be something like {{{C:\Program Files\Java\jdk1.8.0_144\bin}}} on Windows, {{{/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands}}} on MacOS, or {{{/opt/java-jdk-1.8.0.102/bin}}} on Linux.
    6769
    6870Then increase the heap size to 8g (or as much as you can afford given your machine's memory) by modifying the {{{-Xmx1024m}}} line in the ''eclipse.ini'' file:
     
    116118Installing Rascal may give some warnings/errors about package conflicts.
    117119In the "Install Remediation Page" select "Update my installation to be compatible with the items being installed" (second option).
    118 This will typically remove {{{C/C++ Remote Launch}}} and {{{ Terminal}}}  package from Eclipse and will normally be sufficient to get Rascal to install.
     120This will typically remove {{{C/C++ Remote Launch}}} and {{{TM Terminal}}}  package from Eclipse and will normally be sufficient to get Rascal to install.
    119121
    120122You do not need to restart Eclipse yet.
     
    124126Install "Subclipse" from the ''Eclipse Marketplace…'' in the ''Help'' menu.
    125127
     128Untick {{{JavaHL}}} in the list of packages that appear.
     129
     130{{{#!comment
    126131If possible, you should choose a Subclipse version for compatibility with your system's subversion.
    127132On Linux/BSD/Unix/MacOSX you can find the subversion version by typing the command line {{{svn --version}}} in the terminal window.
     133}}}
    128134
    129135{{{#!comment
     
    144150
    145151
     152{{{#!comment
    146153=== Configuring Subversion (recommended) ===
    147154
     
    149156
    150157[[Image(sophus.png)]]
     158}}}
    151159
    152160=== Emacs Keys (optional) ===