jEdit Community - Resources for users of the jEdit Text Editor
Running multiple versions of jEdit
Submitted by jgellene on Monday, 22 October, 2001 - 14:33
Multiple installations on Windows

If you are running jEdit under Windows, follow these steps using jEditLauncher:

First, download the installer for the new version, save it to your desktop or some other temporary location, and run it by double-clicking its file icon (if you have associated .jar archive files with a Java application loader) or by running the loader - either java.exe or javaw.exe - from a command line with the -jar parameter and the full path of the installer file as the target.

Next, select an installation directory for the new version that differs from your existing installation directoy. The default value offered by the installer specifies the version in the directory's name, so that will work fine.

Next, make sure you uncheck the option for jEditLauncher in the next screen presented by the installer. It is the last option and is entitled "Windows launcher and context menu addition". You will actually continue to use your existing version of jEditLauncher in its current location. Select other options as you think fit, but remember that if you don't install macros, the new version won't be able to see the default macro set from your old jEdit installation.

Once the installation completes, open the jEditLauncher setup module, either by selecting "Set jEdit Parameters" in your Programs Menu for jEdit, or by running jedit /p from a command line that has your old jEdit installation directory in its search path.

You're almost done. If you run jEdit with the -jar option, change the "Location of jEdit executable" field to point to your new test version. If you do not use the -jar option and instead specifiy jedit.jar as part of your classpath parameter value, change that value to point to jedit.jar in the new installation's directory. Commit the new parameter values by clicking "OK" and you're ready to run the new version of jEdit with your existing settings, personal macros, startup scripts and plugin collection.

Multiple installations on other OS's

Linux users and others who run jEdit from a shell script can achieve the same result with a slightly different approach. Before running the installer for a new version, copy your existing jedit loading script to a new file indicating the application's version, like jedit322. After installing the new version in a new directory, rename the new jedit script and the old version to whatever names suit you.

Using plugins

One thing to remember when you try out jEdit 4.0 is that a number of plugins will not be compatible with the new version until they are updated to conform to a few changes in the application's API. For those plugins, you will get warning messages when you start up the new version of jEdit. You may also have exceptions thrown if a plugin loads successfully but contains code broken by changes in jEdit 4.0. If you want to avoid these messages, or if you want to test the new versions without any plugins, you can easily reorganize your plugins in a single-user installation.

Take all the plugins that you don't want in the test installation (along with source code, if you have downloaded it) and move them to the /jars subdirectory of your "stable" jEdit installation. They will not be loaded when you run a jEdit version located in another directory. All plugins you want for both versions should be in the /jars directory of your user settings directory, because both versions of jEdit will read that folder's contents on startup.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
hemo
by Anonymous on Sat, 30/04/2005 - 08:33
Linux users and others who run jEdit from a shell script can achieve the same result with a slightly different approach. Before running the installer for a new version, copy your existing jedit loading script to a new file indicating the application's version, like jedit322. After installing the new version in a new directory, rename the new jedit script and the old version to whatever names suit you.

hemorrhoids
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293