Skip to main content
Submitted by Xenoveritas on
Topics

That was handy -- thanks!

I believe these registry entries are added if you use the jEdit windows installer, but I used the java installer, so it was nice to be able to just add these registry entries rather than do a re-install.

Wed, 11/01/2006 - 21:36 Permalink

jEdit used to include a Windows installer that allowed integration with the Windows shell. Unfortunately they no longer include these registry entries.

So here they are, useful jEdit registry entries. Note that you'll need to replace ensure that the paths listed below are correct for your system. The Java path is for the default install location at "C:\Program Files\Java" for JDK version 1.5.0_07. The jEdit path is "C:\Program Files\jEdit" and will also need to be editted to point to the correct path.

You can also download a .REG file containing the contents listed below - remember, this file assumes you're using Java 1.5.0_07 installed at "C:\Program Files\Java" and that jEdit is installed at "C:\Program Files\jEdit". You'll need to edit it if these paths aren't correct.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.java]
"PerceivedType"="text"
@="jEditFile"

[HKEY_CLASSES_ROOT\.jsp]
"PerceivedType"="text"
@="jEditFile"

[HKEY_CLASSES_ROOT\.php]
"PerceivedType"="text"
@="jEditFile"

[HKEY_CLASSES_ROOT\.php3]
"PerceivedType"="text"
@="jEditFile"

[HKEY_CLASSES_ROOT\jEditFile]

[HKEY_CLASSES_ROOT\jEditFile\shell]

[HKEY_CLASSES_ROOT\jEditFile\shell\open]

[HKEY_CLASSES_ROOT\jEditFile\shell\open\command]
@="\"C:\\Program Files\\Java\\jdk1.5.0_07\\bin\\javaw.exe\" -jar \"C:\\Program Files\\jEdit\\jedit.jar\" -reuseview \"%1\""

[HKEY_CLASSES_ROOT\*\Shell\Open with jEdit\command]
@="\"C:\\Program Files\\Java\\jdk1.5.0_07\\bin\\javaw.exe\" -jar \"C:\\Program Files\\jEdit\\jedit.jar\" -reuseview \"%1\""