After installing Java, on Catalina 10.15.3which macOS version are you running on? You didn't even have to modify your java 6?
After installing Java, on Catalina 10.15.3which macOS version are you running on? You didn't even have to modify your java 6?
well... not sure why is it not working for me? What could be the reason? any last resort which I can try?After installing Java, on Catalina 10.15.3
View attachment 904294
Temporary disable Gatekeeper: open the Terminal app (Applications/Utilities/Terminal.app) and runwell... not sure why is it not working for me? What could be the reason? any last resort which I can try?
sudo spctl --master-disable
sudo spctl --master-enable
no luck in getting it to run!!! I guess I might have to get windows or look for someone to physically help me solve this problem!!! appreciate your help!Temporary disable Gatekeeper: open the Terminal app (Applications/Utilities/Terminal.app) and run
Try to open the app.Code:sudo spctl --master-disable
Gatekeeper can be re-enabled with
Code:sudo spctl --master-enable
Download Java for OS X 2017-001 https://support.apple.com/kb/dl1572
Open AppleScript (/Applications/Utilities/Script Editor.app) and copy-paste the code
Run the script (⌘+R), select the javaforosx.dmg, wait for the script to finish and install the Java.pkg saved on your desktop.Code:set theDMG to choose file with prompt "Please select javaforosx.dmg:" of type {"dmg"} do shell script "hdiutil mount " & quoted form of POSIX path of theDMG do shell script "pkgutil --expand /Volumes/Java\\ for\\ macOS\\ 2017-001/JavaForOSX.pkg ~/tmp" do shell script "hdiutil unmount /Volumes/Java\\ for\\ macOS\\ 2017-001/" do shell script "sed -i '' 's/return false/return true/g' ~/tmp/Distribution" do shell script "pkgutil --flatten ~/tmp ~/Desktop/Java.pkg" do shell script "rm -rf ~/tmp" display dialog "Modified Java.pkg saved on desktop" buttons {"Ok"}
Are you sure you need Java 6? Have you tried Java 8? https://www.java.com/en/download/BUT, I can't find the Java Console to check for error messages since Java is not showing under system preferences. Anybody have any ideas?
Yes, unfortunately I do need Java 6.....Are you sure you need Java 6? Have you tried Java 8? https://www.java.com/en/download/
There is a jconsole.jar in /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/Yes, unfortunately I do need Java 6.....
Open javaforosx.dmg, open the Terminal and run the following commands one by one:
Code:pkgutil --expand /Volumes/Java\ for\ macOS\ 2017-001/JavaForOSX.pkg ~/tmp sed -i '' 's/return false/return true/g' ~/tmp/Distribution pkgutil --flatten ~/tmp ~/Desktop/Java.pkg
Hello, I am trying to install the Legacy Java SE 6 on a macOS Catalina. I followed the instructions here, but it gives me the following error: error "Error encountered while creating /Users/cdiaz/tmp. Error 17: File exists" number 1.Here is a simpler way, an AppleScript that removes the installation limits from Java for macOS 2017-001.
The script asks you to select the dmg file, opens the file, unpacks JavaForOSX.pkg, modifies the Distribution file and saves a new pkg file on Desktop, Java.pkg, that can be installed on Catalina.Code:set theDMG to choose file with prompt "Please select javaforosx.dmg:" of type {"dmg"} do shell script "hdiutil mount " & quoted form of POSIX path of theDMG do shell script "pkgutil --expand /Volumes/Java\\ for\\ macOS\\ 2017-001/JavaForOSX.pkg ~/tmp" do shell script "hdiutil unmount /Volumes/Java\\ for\\ macOS\\ 2017-001/" do shell script "sed -i '' 's/return false/return true/g' ~/tmp/Distribution" do shell script "pkgutil --flatten ~/tmp ~/Desktop/Java.pkg" do shell script "rm -rf ~/tmp" display dialog "Modified Java.pkg saved on desktop" buttons {"Ok"}
Hi albero1, that problem is quite easy to solve. I run into the same: another program had already created an temp-folder in my user folder. Simply go to your user (/Users/Alba in your case) and move the existing "temp" folder shortly to desktop, run the script and relocate the tmp folder back once it is done.Hi there, I know this thread is quite old now, but I need your help!
I've done this and work perfectly, but then I needed to switch to Java 8 so I deleted the java6 pkg from JavaVirtualMachines.
The problem is now I need back Java6 and the same instructions won't work. The script gives me the following error:
"Error encountered while creating /Users/Alba/tmp. Error 17: File exists"
What can I do?
I tried this but failed Can you give me a screenshot of the terminal window that makes this work? Thanks tomexsicHere is a simpler way, an AppleScript that removes the installation limits from Java for macOS 2017-001.
The script asks you to select the dmg file, opens the file, unpacks JavaForOSX.pkg, modifies the Distribution file and saves a new pkg file on Desktop, Java.pkg, that can be installed on Catalina.Code:set theDMG to choose file with prompt "Please select javaforosx.dmg:" of type {"dmg"} do shell script "hdiutil mount " & quoted form of POSIX path of theDMG do shell script "pkgutil --expand /Volumes/Java\\ for\\ macOS\\ 2017-001/JavaForOSX.pkg ~/tmp" do shell script "hdiutil unmount /Volumes/Java\\ for\\ macOS\\ 2017-001/" do shell script "sed -i '' 's/return false/return true/g' ~/tmp/Distribution" do shell script "pkgutil --flatten ~/tmp ~/Desktop/Java.pkg" do shell script "rm -rf ~/tmp" display dialog "Modified Java.pkg saved on desktop" buttons {"Ok"}
What did I do wrong? I copied and pasted this code into my Terminal and got this response:Here is a simpler way, an AppleScript that removes the installation limits from Java for macOS 2017-001.
The script asks you to select the dmg file, opens the file, unpacks JavaForOSX.pkg, modifies the Distribution file and saves a new pkg file on Desktop, Java.pkg, that can be installed on Catalina.Code:set theDMG to choose file with prompt "Please select javaforosx.dmg:" of type {"dmg"} do shell script "hdiutil mount " & quoted form of POSIX path of theDMG do shell script "pkgutil --expand /Volumes/Java\\ for\\ macOS\\ 2017-001/JavaForOSX.pkg ~/tmp" do shell script "hdiutil unmount /Volumes/Java\\ for\\ macOS\\ 2017-001/" do shell script "sed -i '' 's/return false/return true/g' ~/tmp/Distribution" do shell script "pkgutil --flatten ~/tmp ~/Desktop/Java.pkg" do shell script "rm -rf ~/tmp" display dialog "Modified Java.pkg saved on desktop" buttons {"Ok"}
The Java SE 6 web plug-in is not included in this package.I use latest catalina on mbp 2012 and need to connect to an 10 year old system which uses java applets through web browser. Until the swithc to catalina I was able to make it work but now that is gone.
I have downloaded firefox 52 JRE, uninstalled latest java, downloaded Java v6 through the apple link and tried to use the script above to install Java 6. Script runs normally and Java 6 is installed however I can't activate the Java plug ins on FF and when I try to check java 6 installation, I can't see it in the system preferences.
What did i do wrong ?
Please help !
Although Java launches correctly I have a functionality problem.Just tried loading Java SE 7 and it finally works. many thanks Bogdan !
It's very hard for someone to help without testing the same configuration.Although Java launches correctly I have a functionality problem.
The mini java site that I need to use has a number of buttons which are enabled by filling in some information. Although I do fill them in correctly the button says ‘gray’ and I can’t access what I need.
I have tried both firefox 52 and waterfox classic, same problem.
I even tried booting off an usb stick with Mojave and same problem occurs.
I can’t see what creates the problem and more importantly how to fix it. Any help is appreciated !