Deleted JavaVM.framework, how to restore?
I accidentally deleted /System/Library/Frameworks/JavaVM.framework
, and now i can't use any command like java, javac, etc..
even if i have java installed. So someone know how to restore this folder (no, i do not have time machine configured)? Or know to do some workarounds to java keep working again on command line?
Thanks a lot!
macos java
migrated from stackoverflow.com Oct 17 '12 at 3:42
This question came from our site for professional and enthusiast programmers.
add a comment |
I accidentally deleted /System/Library/Frameworks/JavaVM.framework
, and now i can't use any command like java, javac, etc..
even if i have java installed. So someone know how to restore this folder (no, i do not have time machine configured)? Or know to do some workarounds to java keep working again on command line?
Thanks a lot!
macos java
migrated from stackoverflow.com Oct 17 '12 at 3:42
This question came from our site for professional and enthusiast programmers.
add a comment |
I accidentally deleted /System/Library/Frameworks/JavaVM.framework
, and now i can't use any command like java, javac, etc..
even if i have java installed. So someone know how to restore this folder (no, i do not have time machine configured)? Or know to do some workarounds to java keep working again on command line?
Thanks a lot!
macos java
I accidentally deleted /System/Library/Frameworks/JavaVM.framework
, and now i can't use any command like java, javac, etc..
even if i have java installed. So someone know how to restore this folder (no, i do not have time machine configured)? Or know to do some workarounds to java keep working again on command line?
Thanks a lot!
macos java
macos java
edited Jul 23 '16 at 20:35
Hennes
58.8k792141
58.8k792141
asked Oct 17 '12 at 1:46
lcsrinaldi
2113
2113
migrated from stackoverflow.com Oct 17 '12 at 3:42
This question came from our site for professional and enthusiast programmers.
migrated from stackoverflow.com Oct 17 '12 at 3:42
This question came from our site for professional and enthusiast programmers.
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
I accidentally deleted JavaVM.framework
as well. After some googling I came across this great answer to a similar question on StackOverflow. Thanks to that answer I was successful in restoring the framework from the JavaDeveloper dmg you can find at the Apple Developer site (it is probably available elsewhere, but direct from the source seemed like a good way to go).
I reinstalled all my OS because i couldn't find any solutions for my problem. But i will keep this in mind, thanks for the answer.
– lcsrinaldi
Jan 18 '13 at 18:46
add a comment |
You need to reinstall jdk for mac os.
http://www.wikihow.com/Install-the-JDK-(Java-Development-Kit)-on-Mac-OS-X
The download package is java_for_os_x rather than jdk-macosx from oracle website.
add a comment |
Try deleting contents in /Library/Java/JavaVirtualMachines and re-installing java
1
Doesn't work :(
– lcsrinaldi
Oct 17 '12 at 12:28
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f488757%2fdeleted-javavm-framework-how-to-restore%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I accidentally deleted JavaVM.framework
as well. After some googling I came across this great answer to a similar question on StackOverflow. Thanks to that answer I was successful in restoring the framework from the JavaDeveloper dmg you can find at the Apple Developer site (it is probably available elsewhere, but direct from the source seemed like a good way to go).
I reinstalled all my OS because i couldn't find any solutions for my problem. But i will keep this in mind, thanks for the answer.
– lcsrinaldi
Jan 18 '13 at 18:46
add a comment |
I accidentally deleted JavaVM.framework
as well. After some googling I came across this great answer to a similar question on StackOverflow. Thanks to that answer I was successful in restoring the framework from the JavaDeveloper dmg you can find at the Apple Developer site (it is probably available elsewhere, but direct from the source seemed like a good way to go).
I reinstalled all my OS because i couldn't find any solutions for my problem. But i will keep this in mind, thanks for the answer.
– lcsrinaldi
Jan 18 '13 at 18:46
add a comment |
I accidentally deleted JavaVM.framework
as well. After some googling I came across this great answer to a similar question on StackOverflow. Thanks to that answer I was successful in restoring the framework from the JavaDeveloper dmg you can find at the Apple Developer site (it is probably available elsewhere, but direct from the source seemed like a good way to go).
I accidentally deleted JavaVM.framework
as well. After some googling I came across this great answer to a similar question on StackOverflow. Thanks to that answer I was successful in restoring the framework from the JavaDeveloper dmg you can find at the Apple Developer site (it is probably available elsewhere, but direct from the source seemed like a good way to go).
edited May 23 '17 at 12:41
Community♦
1
1
answered Jan 12 '13 at 20:26
Ryan Wersal
1407
1407
I reinstalled all my OS because i couldn't find any solutions for my problem. But i will keep this in mind, thanks for the answer.
– lcsrinaldi
Jan 18 '13 at 18:46
add a comment |
I reinstalled all my OS because i couldn't find any solutions for my problem. But i will keep this in mind, thanks for the answer.
– lcsrinaldi
Jan 18 '13 at 18:46
I reinstalled all my OS because i couldn't find any solutions for my problem. But i will keep this in mind, thanks for the answer.
– lcsrinaldi
Jan 18 '13 at 18:46
I reinstalled all my OS because i couldn't find any solutions for my problem. But i will keep this in mind, thanks for the answer.
– lcsrinaldi
Jan 18 '13 at 18:46
add a comment |
You need to reinstall jdk for mac os.
http://www.wikihow.com/Install-the-JDK-(Java-Development-Kit)-on-Mac-OS-X
The download package is java_for_os_x rather than jdk-macosx from oracle website.
add a comment |
You need to reinstall jdk for mac os.
http://www.wikihow.com/Install-the-JDK-(Java-Development-Kit)-on-Mac-OS-X
The download package is java_for_os_x rather than jdk-macosx from oracle website.
add a comment |
You need to reinstall jdk for mac os.
http://www.wikihow.com/Install-the-JDK-(Java-Development-Kit)-on-Mac-OS-X
The download package is java_for_os_x rather than jdk-macosx from oracle website.
You need to reinstall jdk for mac os.
http://www.wikihow.com/Install-the-JDK-(Java-Development-Kit)-on-Mac-OS-X
The download package is java_for_os_x rather than jdk-macosx from oracle website.
answered Feb 20 '14 at 6:31
user301698
111
111
add a comment |
add a comment |
Try deleting contents in /Library/Java/JavaVirtualMachines and re-installing java
1
Doesn't work :(
– lcsrinaldi
Oct 17 '12 at 12:28
add a comment |
Try deleting contents in /Library/Java/JavaVirtualMachines and re-installing java
1
Doesn't work :(
– lcsrinaldi
Oct 17 '12 at 12:28
add a comment |
Try deleting contents in /Library/Java/JavaVirtualMachines and re-installing java
Try deleting contents in /Library/Java/JavaVirtualMachines and re-installing java
answered Oct 17 '12 at 2:33
sasankad
1
Doesn't work :(
– lcsrinaldi
Oct 17 '12 at 12:28
add a comment |
1
Doesn't work :(
– lcsrinaldi
Oct 17 '12 at 12:28
1
1
Doesn't work :(
– lcsrinaldi
Oct 17 '12 at 12:28
Doesn't work :(
– lcsrinaldi
Oct 17 '12 at 12:28
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f488757%2fdeleted-javavm-framework-how-to-restore%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown