jEdit Community - Resources for users of the jEdit Text Editor
Java Runtime for MAC OS 10.2.8
Submitted by Anonymous on Tuesday, 22 March, 2005 - 02:34
Up installation and start-up an error message is retunred, "MAC OS Plug-in requires a later version of java (MRJ 99)" What do I need, I tried installing MRJ 2.2.26 but was returned a that the latest version was installed.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
MacOS Plugin
by plecostomus on Fri, 10/03/2006 - 02:26
I just installed JDK 1.4.1 on a machine running Mac OS 10.2.8. This must be manually downloaded from apple.com. There is a version for 10.2.x, separate from the version for 10.3.

With that done, I was still getting an error message from the JEdit MacOS plugin: "MAC OS Plug-in requires a later version of java (MRJ 99)". I looked into the source code. It requires 1.4.1, minimum. Further, it is comparing a property from the JRE to a value defined in a file called MacOS.props, in the MacOS.jar file in the JEdit install directories. If the JRE value is less than the value in the props file, it gives the error and exits.

Running java -version in the terminal now gives me this:

java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)

The value in question is "69.1", which is displayed above, and is the value returned from calling System.getProperty("mrj.version") in a Java program. This is being compared with the value set by this line in MacOS.props:

MacOSPlugin.depend.mrj.version=99

The logic says, at least in my case, that 69.1 is less than 99, so display the error and bail out.

Why this logic is present, I don't know. However, I eliminated the error by these steps:

1. Extract MacOS.props from the MacOS.jar file.
2. Make this change: "MacOSPlugin.depend.mrj.version=0"
3. Put the changed MacOS.props file back into MacOS.jar.

On restarting JEdit, obvious success is indicated by the menu bar being displayed at the top of the screen instead of inside the JEdit window. Hoorah.
 
MacOS Plugin
by lefty on Fri, 21/04/2006 - 07:22
You are my hero. Actually you would be my most favorite hero if you knew how to get it workin on 10.4 with J2SE 5.0.

I'm assuming you extracted MacOS.props with

jar xf MacOS.jar MacOS.props

and updated the jar with

jar uf MacOS.jar MacOS.props

The change you made did not seem to make a difference with my configuration.

Here is what I get when I type java -version:

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
 
Mac OSX 10.4 has J2SE 5.0 installed but you need to activate it
by John Jameson on Sat, 22/04/2006 - 09:41
In Finder, navigate to:

Applications/Utilities/Java/J2SE 5.0/

Open Java Preferences and set Use version to J2SE 5.0. Also move J2SE 5.0 to the top of the runtime settings list.

Doing this enabled me to run jedit using plugins that require Java 1.5.

HTH Smiling
 
I believe 5.0 is now the default
by lefty on Tue, 25/04/2006 - 02:51
I believe J2SE 5.0 is now the default after the latest Java update. I did go back and recheck.

However I was trying to figure out how to get the file menus (file, edit, etc.) back in the menubar like they use to be. Somewhere along the line that added customization was broken.

It sounds like the original post was on the right track, but I couldn't get it to work for my installation.
I have the same problem
by Anonymous on Sat, 09/04/2005 - 22:09
i read, that the mrj is for mac os 10.3. is it impossible to install it on 10.2??
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