Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

A4orce84

macrumors 6502
Original poster
Apr 17, 2012
409
44
Hey Everyone,

I have a thread with an application not working, and we have identified the error here:

Error:
USA-MAC:~ godsmack$ /Applications/IBM\ Notes.app/Contents/MacOS/Notes ; exit;

IBM Notes:

A Java Runtime Environment (JRE) or Java Development Kit (JDK)

must be available in order to run IBM Notes. No Java virtual machine

was found after searching the following locations:

/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java

logout

Saving session...completed.
------------------------------------------

So it appears to be a Java issue? Anyone find a workaround or know how to get things working again?

Thanks,
Asif
 
Thanks DS for the clarification. I'm 99% sure the version of Java IBM is trying to use is 1.6.

I downloaded the java package, from the link you provided, but it seems to still be failing when I try to launch the application.
 
  • Like
Reactions: enderg
After downloading the java6 tool from apple, I noticed a process crashing in the activity monitor every time I booted the machine called MRTAgent (linked to a thread here discussing it). To quote the article:

Upon completion of its scan, the MRT command line tool, the MRTAgent program, and the launch agent scripts used for it will be deleted from your system.


This approach to managing the malware is reminiscent of the XProtect update that Apple issued to manage the MacDefender malware outbreak last year. MRT stands for Malware Removal Tool, and is Apple's approach to quickly checking and removing malware as part of security updates that prevent or otherwise check for it.


While the MRT process should run quickly for most people, as with the past version of it there may be some for whom it might get stuck on a particular stage in its scan, or may take a while and cause high CPU usage that slows the system down. If this happens, you can try the following approaches to get it running or simply remove it if you are certain you do not have any malware on your computer (these steps are from our previous coverage of Apple's MRT utility):

If others find this process crashing too, it may have an impact on what's happening, but it's probably not the root cause. I dived deep into the Java Library folders (and system folders rootless) and I speculate that they've changed around some of the core libraries, dependencies, their locations / metadata, and some aspects of 'rootless' may be preventing applications from speaking with one another.

However, there's probably a way (?) to manually configure and place the Java scripts (and their dependencies) in the folder structure, as well as modify configuration files in multiple places within the System Library and /Library It's complex, and they may have unintentionally broken the paths for Java to run proper. I speculate there are a multitude of libraries working in parallel that are affected by the integration of java into their new folder structure - and they probably decided to release beta with an incomplete Systems folder knowing Java was broken because they know it's fixable and the pros of the new system outway the cons of temporarily loosing the ability to use Java for a few weeks

I'm sure it's possible to get it working in this latest beta, but it won't be simple or easy. But I think it's simple enough to expect Java working in the next beta :)

edit: I also speculate it's related to some of the regressions we've noticed in beta 3 = I think they're rewriting some of the internals closer to user / dev land and still have a ways to go - releasing incomplete software (it's beta) - still works for most things most of the times.
 
Last edited:
A Java Runtime Environment (JRE) or Java Development Kit (JDK)

must be available in order to run IBM Notes. No Java virtual machine

was found after searching the following locations:

/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java

Have you looked at the /Library/Java folder for any JVM's located there? Or /System/Library/Java? If they exist, try to copy or ln -s them into the /Systems/.. location the app is expecting them to be. (you'll need to be rootless) If that doesn't work - good luck.. see if you can access an older build of OS X 0.11 and find discrepancies in the /Library - /usr/libexec - /System/Library/Frameworks - (and a few other folders). It's manual and tedious - but that's what I'd do... if I wanted to run Java on beta 3. If I needed Java I'd revert to beta 2 probably..
 
Last edited:
Hey BrentT,

Unfortunately, that did NOT resolve the issue.

Thanks,
Asif
 
Yeah I spent 4 hours trying to figure out what happened inside the file with the Java 6 update - does it fix certain apps? It's definitely... not stable. But it might help some apps works. Modern eclipse doesn't use Java6 and it doesn't appear like the java 6 update fixes... well it's inconsistent. (and there's potentially a daemon crashing)
 
Hey Everyone,

Just as an update, this issue appears to have NOT been resolved in El Capitan Public Beta 2.

Running the command in terminal, I get the following output:

Output:

IBM Notes:

A Java Runtime Environment (JRE) or Java Development Kit (JDK)

must be available in order to run IBM Notes. No Java virtual machine

was found after searching the following locations:

/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

If anyone has any other ideas / workarounds, please feel free to update this thread.

Thanks,
Asif
 
Hey Everyone,

Just as an update, this issue appears to have NOT been resolved in El Capitan Public Beta 3.

Thanks,
Asif
 
Hey Everyone,

Just as an update, this issue appears to have NOT been resolved in El Capitan Public Beta 4.

Pretty disappointing so far....Java is a major component of a lot of applications....

Thanks,
Asif
 
It seems to have been fixed in dev beta 4 - I'm currently on dev beta 6 and it's still working. There shouldn't be any difference between the public beta 4 and dev beta 6 - I didn't download the optional java 6 fix or do anything special in the config files - it should just work.
 
It seems to have been fixed in dev beta 4 - I'm currently on dev beta 6 and it's still working. There shouldn't be any difference between the public beta 4 and dev beta 6 - I didn't download the optional java 6 fix or do anything special in the config files - it should just work.

Unfortunately, this is what I'm seeing when I try starting the application through the command line:

Output:
/Applications/IBM\ Notes.app/Contents/MacOS/Notes ; exit;
IBM Notes:
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run IBM Notes. No Java virtual machine
was found after searching the following locations:
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.