XLingPaper Upgrade on Linux
I never remember how to upgrade XMLMind on Linux. Here are my notes on how to do it.
I follow the install directions here: http://www.xmlmind.com/xmleditor/_distrib/doc/help/installing_xxe.html
Generally, the instructions follow like those below for version 8:
Make sure that the Java™ bin/ directory is referenced in the $PATH and, at the same time, check that the Java™ runtime in the $PATH has the right version:
A command like the following will show the java version number.
UserName$ java -version java version “10.0.1” 2018-04-17 Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
Unpack the XXE distribution inside any directory you want:
> $ cd $ unzip xxe-pro-8_2_0.zip $ ls xxe-pro-8_2_0 addon/ bin/ demo/ doc/ ...
XXE is intended to be used directly from the xxe-pro-8_2_0/ directory. That is, you can start XXE by simply executing:
$ xxe-pro-8_2_0/bin/xxe &
I can never remember what to do next. Here is the solution:
On my system
xxe & is sym-linked to the version that I want to be primary. This is done in
So then there is a script in
/usr/local/bin which points back to the application (I don’t really know as I didn’t write it), but the point is that the symlink needs to be adjusted and can be adjusted with a combination of these tips:
Find out which version of
xxe the item in
local/bin is pointed at with the following command:
ls -l xxe Then if you want to adjust the versions one needs to over write the existing symlink. Or create a new one. In my case I changed
Note Do not adjust
~/.bash_profile as that will only mess things up
I did this once with
export $PATH=/absolute/path/to/xxe/and then my machine couldn’t find
If one wants an
xxe command then use that, but for me so that I don’t have to update the command all the time I use
xxe7 for XMLMind version 7 and
xxe8 and so forth.
then symlink like so:
sudo ln -s /home/username/path/to/XMLMind/xxe-version-folder/bin/xxe /usr/local/bin/xxe8