Bug 959 : "JDWP unable to initialize: Error 111 from JNI GetEnv" when running on Mac OS X PPC
Last modified: 2010-01-21 12:58




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P4
Severity:
normal

 

Reporter:
veryfriendlydub
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-10-17 15:08
Hi

When ever I try to run a sketch in 0150 I get the following error messages:


[0] "JDWP unable to initialize: Error 111 from JNI GetEnv"
[1] "Error occurred during initialization of VM"
[2] "-Xrun library failed to init: jdwp"

on ppc Mac os x 10.4
Version 0135 works okay, am I doing something wrong? Thanks for your help!
Additional Comment #1 From fry 2008-10-17 16:25
No idea on that one, we don't call "JNI GetEnv" from any of the Processing
code, so it's tough to know where to start looking.

Are you on a UK English system? Is there anything odd about your networking
setup? Where do you have Processing installed?

Does release 0148 work?
Additional Comment #2 From veryfriendlydub 2008-10-18 04:44
(In reply to comment #1)
>
>
>
> Additional Comment #1 From
> fry
> 2008-10-17 16:25
>
> <!--
> addReplyLink(1); //-->[reply]
>
>
>
>
> No idea on that one, we don't call "JNI GetEnv" from any of the
Processing
> code, so it's tough to know where to start looking.
>
> Are you on a UK English system?
Yes Im in the uk

Is there anything odd about your networking setup?
cant think of anything-how might that affect?

Where do you have Processing installed?
> Ive always put the processing folder in the applications folder

> Does release 0148 work?
0148 does not work 0135 works fine- perhaps I have something old installed
somewhere conflicting with new versions?-does java need to be updated?
>

Thanks for your help-Im really sorry if this is down to me doing something
dumb! Ive looked into it and Im stumped!

Thanks again
Additional Comment #3 From fry 2008-10-18 05:39
Yeah, I'm stumped. I'd recommend trying to reinstall Java, or trying it on
a different machine. (And make sure you're up to date on everything if you
weren't already.)

Are you a developer? Have you installed any prerelease versions of Java?
Additional Comment #4 From neetij 2009-01-06 06:45
I get the same error messages as veryfriendlydub. Running Mac OS X 10.4.11
(Intel).
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-239).
Java HotSpot(TM) Client VM (build 1.4.2-66, mixed mode).
Processing version is 1.0.1.
Also, I am not in the UK and I don't think I've set UK English as my
primary language - it's simply 'English'.

If it is a Java issue on the Mac - what is the minimum Java version required?

Cheers.
Additional Comment #5 From neetij 2009-01-08 04:12
Runs with 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).

Perhaps the same solution - update Java version will resolve problems in
PPC models.

(In reply to comment #4)
>
>
>
> Additional Comment #4 From
>
> neetij
> 2009-01-06 06:45
>
> <!--
> addReplyLink(4); //-->[reply]
>
>
>
>
> I get the same error messages as veryfriendlydub. Running Mac OS X
10.4.11
> (Intel).
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-239).
> Java HotSpot(TM) Client VM (build 1.4.2-66, mixed mode).
> Processing version is 1.0.1.
> Also, I am not in the UK and I don't think I've set UK English as my
> primary language - it's simply 'English'.
>
> If it is a Java issue on the Mac - what is the minimum Java version required?
>
> Cheers.
>
>

Additional Comment #6 From fry 2009-02-19 17:08
Marking this as an Apple bug since you say it's fixed with the Java update.
Additional Comment #7 From MZ 2010-01-21 12:56
I am running into the same problem. I am a Digital Media teacher in a small high school. Our
Mac lab is running Tiger 10.4 with Java 5. Processing installs and opens with no problem, but
when a sketch is launched, I get the above error.

It looks like I need to install an older version of Processing. Unfortunately, these are no longer
available as DMG files. I would really prefer if I could avoid rebuilding the application in Xcode.

Any help would be appreciated.
Additional Comment #8 From fry 2010-01-21 12:58
The issue that was posted here is fixed by running Software Update on the
machine. It's not a Processing bug.