jEdit Community - Resources for users of the jEdit Text Editor
associate text files with jedit
Submitted by frisky on Friday, 23 March, 2007 - 03:13
Hi,

It should be easy to associate text files w/jedit but I can not find jedit.exe anywhere on my windows2000, but jedit works OK.

The FAQ say something about a jedit launcher....

I'm looking for simple cookbook step by step instructions on how to get files associated w/jedit...please link me

thanks
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
associate text files (or any other file suffix) with jedit
by blokeley on Thu, 03/05/2007 - 08:35
On Windows NT/2000/XP, try this:

Create a text file called something like
C:\Program Files\jEdit\jEdit.cmd

Enter the following text in the file and save it:
start /d "C:\Program Files\Java\jre1.6.0_01\bin\" javaw.exe -Xms64M -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview %*

The command above should all be on one line. You may have to change your paths to suit where your javaw.exe is installed.

Use Windows Explorer to find the file you would like to associate with jedit.

Right-click on the file and choose Open With...

Select Choose Program...

Check the "Always use the selected program" box.

Click on Browse... and find the jEdit.cmd file that you made above.

Click Open.

That should work.

-------------------
Note for Windows 95/98/Me users:
Save the jEdit.cmd file as jEdit.bat instead.
jedit.jar should be executabl
by LDiracDelta on Fri, 23/03/2007 - 20:34
jedit.jar should be executable. you could associate files with that.

if you browse to
c:/Program Files/jedit/jedit.jar

you can associate file name extensions with jedit.
 
Associating with jedit.jar do
by frisky on Fri, 23/03/2007 - 23:21
Associating with jedit.jar does not work. I wish I could give you more info.

I'll try reinstalling JEdit - maybe that will work...

Reinstalled but did not work

Any suggestions welcomed...
 
[Windows]: Associate jEdit to txt-file
by Axel on Sat, 24/03/2007 - 08:42
Hi,

I recently had big trouble to associate a file (vhdl) with jEdit on windows. The only successfull way I found looks ugly, but works fine (for me...).

- I created .bat-file

- I wrote into this file something like:
C:\Programme\Java\jre1.5.0_06\bin\javaw.exe -Xms64M -Xmx192M -jar "i:\Programs\jEdit\jedit.jar" -reuseview %1

I'm not completly sure about this, because I have this bat-file in my office and I'm at home now...

Of course, you must replace my pathes with your paths. You get them when you go where you click to start jedit and do a RIGHT-click there and click "properties".

- Then I associated the vhdl-files (in your case the txt-files) with the .bat file.


Regards,
Axel
User login
Browse archives
« November 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   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300