jEdit Community - Resources for users of the jEdit Text Editor
jar not working out
Submitted by Anonymous on Thursday, 18 March, 2004 - 08:46
I'm currently trying to install jedit on a computer. I've done one installation on another computer and that worked out nice.

Anyway when I doubleclick on the jar file i.e. jedit41install.jar nothing happens. I've got j2sdk 1.4.2_03 installed so that isn't the problem. I've tried to execute the jar file manually with jawaw.exe aswell but is doesn't work either.

What am I doing wrong here?
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Manually running jedit installer
by takahe on Thu, 18/03/2004 - 10:38
What O/S are you running?

Anyway, regardless, I think in your manual invocation you are missing the -jar flag.

If you open a command window in your OS, (e.g. a DOS prompt if it is Windows), and then navigate to the directory containing your installation jar, you should be able to execute it manually with the following command:

java -jar jedit41install.jar
or
javaw -jar jedit41install.jar


You might also want to double-check that the correct version of the jdk is really installed by typing

java -version

Incidentally, I just double-checked my windows settings. If you are using Windows, you might want to check the file association exists for JAR, as follows. The instruction here work with XP. Other windows versions will be similar, but not necessarily exactly the same. Hopefully it'll give you enough to work with though.

Open Windows Explorer.
Click on tools-folder options
Click File Types
Wait a few "microsoft seconds" for it to load list of file types

Scroll down list of extensions to see if there is an entry for JAR "Excutable Jar File".

If there isn't one:
click "New". Specify JAR as the extension. Click OK

Specify details for how to open the JAR file, by clicking the Advanced button.

Specify the action by clicking New next to the (as yet empty) list of actions.

In the New Action dialog, type
Action:
open
Application used to perform the action:
"C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe" -jar "%1" %*
(Obviously specify the path as appropriate for your jre, or jdk)

Press whatever buttons are needed to ok and close the dialog(s)

Then double-clicking on the .jar file should work.

hth
Eye-wink
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