jEdit Community - Resources for users of the jEdit Text Editor
Opening file: reuseview problem
Submitted by lilive on Friday, 19 March, 2010 - 15:30
Hi,

Since a few days, I can't re-use jEdit view to open a file. My OS is Windows XP.

this command...

start "jEdit startup" "C:\WINDOWS\system32\javaw.exe" -Xmx192M -jar "C:\Program Files\jEdit\jedit.jar" -reuseview a-file.txt

...always launch a new jEdit instance.

I did the same thing during many months without problems. I haven't updated my jEdit installation, nor my JRE.

Can anyone help please?
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Two thoughts: - Is it rela
by Robert Schwenn on Sun, 21/03/2010 - 15:25
Two thoughts:

- Is it related to the filename?
- Try to delete (or rename) Your settings directory

Robert
 
- No it isn't filename relate
by lilive on Sun, 21/03/2010 - 15:47
- No it isn't filename related.
- I renamed my settings directory: dont't help.

Thank you.

But I've just seen something:

Each time I invoque the .bat, my firewall (zonealarm) ask me about allow Java SE binay access to internet. Answering No, the file is opened in a new jEdit instance. Answering Yes, the file is opened in the existing instance.

I can allow Java SE binary access internet everytime to solve my problem. But I'm not sure, because I trust jEdit, but I don't want allow all Java applications access internet.

And why jEdit need internet access for this fonction? Before it works without that.

Thank you for any suggestion.



--------------------------------------
Sorry for my english, just a french Smiling
 
Internet protocol
by Robert Schwenn on Sun, 21/03/2010 - 16:02
If You want jEdit to not start an extra instance it has to be able to communicate with an existing instance. This communication uses the Internet protocol (see http://www.jedit.org/users-guide/starting.html ). So, You have to allow Java to "access the Internet", but You could limit this access to the target address 127.0.0.1 ("localhost") if ZoneAlarm lets You do this.

Robert
 
Resolved!
by lilive on Mon, 22/03/2010 - 13:42
ZoneAlarm can handle permissions for 2 differents zones: internet and trusted. I put localhost in the trusted zone, and allow java to always access this zone. And my problem is solved! Thank you very much.


--------------------------------------
Sorry for my english, just a french Smiling
 
Java updater accessing Internet?
by d_l on Sun, 21/03/2010 - 20:10
You may see this message when Java Updater is trying to access internet to download latest version of Java. Do you have jusched.exe running as a background process?
 
Thank you
by lilive on Mon, 22/03/2010 - 13:47
No, Java Updater isn't running. I prefer to do it manually.
My problem is now solved, but thank you for your help.

I'm happy again with this great text editor.


-----------------------------------------
Sorry for my english, just a french Smiling
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