JavaApplicationStub [606]

Hi,


iMac updated to Big Sur, but an app cannot be opened because of a possible (JAVA) problem.


The app worked before upgrade. And there is no "JavaApplicationLauncher.framework" file in "/System/Library/PrivateFrameworks/"


got this message below,


Any suggestion is appreciated....


Thanks, Luxu


Process: JavaApplicationStub [606]

Path: /Users/USER/Desktop/*/Tilitin.app/Contents/MacOS/JavaApplicationStub

Identifier: kirjanpito.ui.Kirjanpito

Version: 1.5.0

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: JavaApplicationStub [606]

User ID: 501


Date/Time: 2021-01-19 15:35:51.850 +0200

OS Version: macOS 11.1 (20C69)

Report Version: 12

Anonymous UUID: 4D729747-9218-A49D-C82C-956895EE5ED7



Time Awake Since Boot: 89 seconds


System Integrity Protection: enabled


Crashed Thread: 0


Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY


Termination Reason: DYLD, [0x1] Library missing


Application Specific Information:

dyld: launch, loading dependent libraries


Dyld Error Message:

dyld: Using shared cache: 467A83CB-BA86-3F07-B652-B9256C74080A

Library not loaded: /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/JavaApplicationLauncher

Referenced from: /Users/USER/Desktop/*/Tilitin.app/Contents/MacOS/JavaApplicationStub

Reason: image not found

iMac Line (2012 and Later)

Posted on Jan 19, 2021 5:58 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 1, 2021 7:25 AM

Hello Luxu,


depending on your "computer literacy",

this may be sufficient: https://github.com/tofi86/universalJavaApplicationStub (visited (and used) 2021-02-01)

– this addresses (and provides a detailed analysis of) what I understand to be your issue.


a little more detailled:


Disclaimer: The procedure described in the following worked (i.e., "sufficed") for me to "reanimate" a Java application that I had packaged myself for Snow Leopard (way back then...), I had already installed a working Java environment before. You may well run into all kinds of issues, including: lack of installed Java (see step 1, below – I have not gone into details concerning this, such as choice of compatible Java version, or known peculiarities with setting up/defining java environment variables), and access rights/privacy issues.


Notation: I will always put a slash at the end of names of Folders, e.g.: Documents/ – such a slash is not part of the name, but just meant to distinguish folders from plain files (if this "professional deformation" of mine should not make sense to you, please simply do as if these slashes were not there... )


  1. Since Java is not included in macOS, you perhaps may need to install it (e.g. from openJDK: http://openjdk.java.net/ (visited 2021-02-01))
  2. Download and unpack the zip of the universalJavaApplicationStub distribution (or clone it…) from https://github.com/tofi86/universalJavaApplicationStub/ (visited 2021-02-01) – at the time of writing, the direct link to the ZIP is: https://github.com/tofi86/universalJavaApplicationStub/archive/master.zip (this looks stable enough, but I still recommend to obtain it yourself from the github project page)
  3. Within the downloaded and unpacked distribution of universalJavaApplicationStub, open the subfolder named"src/" and locate the file named "universalJavaApplicationStub" (as explained on the github page, this is a bash script)
  4. Make a backup copy of your Tilitin.app (e.g., simply "duplicate" it in the Finder)
  5. In the FInder, right-click on Tilitin.app, and select "Show Package Contents"
  6. Within the "opened" Tilitin.app, x open the subfolder named Contents/, and within it the subfolder named MacOS/
  7. Locate the file "JavaApplicationStub" contained therein (i.e., in Tilitin.app > Contents/ > MacOS/ )
  8. Replace the file "JavaApplicationStub" (from step 6) with the file "universalJavaApplicationStub" (from step 3), i.e:
    1. Rename "JavaApplicationStub" to "JavaApplicationStub orig" (if you want to keep a copy around), or delete it (you always have the backup made in step 4, right?)
    2. Copy "universalJavaApplicationStub" into the folder that contain(ed) "JavaApplicationStub" (i.e., Tilitin.app > Contents/ > MacOS/ )
    3. Rename the copied "universalJavaApplicationStub" to "JavaApplicationStub"
  9. Verify that the Finder recognizes the new "JavaApplicationStub" as a "Unix Executable File" (e.g., this should be shown as "Kind:" in the "General" section of the "Get Info" window for this file, right below the "Tags" box at the top of the window)
  10. Close all the opened windows, and give the reconfigured "Tilitin.app" a try! 🤞🏼🤞🏼🤞🏼


greetings from the old world – be safe!

Similar questions

1 reply
Question marked as Top-ranking reply

Feb 1, 2021 7:25 AM in response to Lucas2020

Hello Luxu,


depending on your "computer literacy",

this may be sufficient: https://github.com/tofi86/universalJavaApplicationStub (visited (and used) 2021-02-01)

– this addresses (and provides a detailed analysis of) what I understand to be your issue.


a little more detailled:


Disclaimer: The procedure described in the following worked (i.e., "sufficed") for me to "reanimate" a Java application that I had packaged myself for Snow Leopard (way back then...), I had already installed a working Java environment before. You may well run into all kinds of issues, including: lack of installed Java (see step 1, below – I have not gone into details concerning this, such as choice of compatible Java version, or known peculiarities with setting up/defining java environment variables), and access rights/privacy issues.


Notation: I will always put a slash at the end of names of Folders, e.g.: Documents/ – such a slash is not part of the name, but just meant to distinguish folders from plain files (if this "professional deformation" of mine should not make sense to you, please simply do as if these slashes were not there... )


  1. Since Java is not included in macOS, you perhaps may need to install it (e.g. from openJDK: http://openjdk.java.net/ (visited 2021-02-01))
  2. Download and unpack the zip of the universalJavaApplicationStub distribution (or clone it…) from https://github.com/tofi86/universalJavaApplicationStub/ (visited 2021-02-01) – at the time of writing, the direct link to the ZIP is: https://github.com/tofi86/universalJavaApplicationStub/archive/master.zip (this looks stable enough, but I still recommend to obtain it yourself from the github project page)
  3. Within the downloaded and unpacked distribution of universalJavaApplicationStub, open the subfolder named"src/" and locate the file named "universalJavaApplicationStub" (as explained on the github page, this is a bash script)
  4. Make a backup copy of your Tilitin.app (e.g., simply "duplicate" it in the Finder)
  5. In the FInder, right-click on Tilitin.app, and select "Show Package Contents"
  6. Within the "opened" Tilitin.app, x open the subfolder named Contents/, and within it the subfolder named MacOS/
  7. Locate the file "JavaApplicationStub" contained therein (i.e., in Tilitin.app > Contents/ > MacOS/ )
  8. Replace the file "JavaApplicationStub" (from step 6) with the file "universalJavaApplicationStub" (from step 3), i.e:
    1. Rename "JavaApplicationStub" to "JavaApplicationStub orig" (if you want to keep a copy around), or delete it (you always have the backup made in step 4, right?)
    2. Copy "universalJavaApplicationStub" into the folder that contain(ed) "JavaApplicationStub" (i.e., Tilitin.app > Contents/ > MacOS/ )
    3. Rename the copied "universalJavaApplicationStub" to "JavaApplicationStub"
  9. Verify that the Finder recognizes the new "JavaApplicationStub" as a "Unix Executable File" (e.g., this should be shown as "Kind:" in the "General" section of the "Get Info" window for this file, right below the "Tags" box at the top of the window)
  10. Close all the opened windows, and give the reconfigured "Tilitin.app" a try! 🤞🏼🤞🏼🤞🏼


greetings from the old world – be safe!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

JavaApplicationStub [606]

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.