Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8203907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:43:14+00:00 2026-06-07T07:43:14+00:00

I have problem setting up JAVA_HOME correctly for Hadoop on OS X 10.7 Here

  • 0

I have problem setting up JAVA_HOME correctly for Hadoop on OS X 10.7
Here is what I have done:
went to /usr/local/Cellar/hadoop/1.0.3/libexec/conf/hadoop-env.sh and changed JAVA_HOME form whatever it was there for default to export JAVA_HOME=/Library/Java/Home/
I am also pretty new to Java too, so even JAVA_HOME might be wrong too .
So by going to bin folder of hadoop and running this command: hadoop jar hadoop-*-examples.jar
This is the nasty error I get:

Exception in thread "main" java.io.IOException: Error opening job jar: hadoop-*-examples.jar
    at org.apache.hadoop.util.RunJar.main(RunJar.java:90)
Caused by: java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:135)
    at java.util.jar.JarFile.<init>(JarFile.java:72)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:88)

Do you have any idea how can I fix this or what is the problem?
this is also the output of “which javac” commnad in case you need it: /usr/bin/javac

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T07:43:16+00:00Added an answer on June 7, 2026 at 7:43 am

    I must have gone to the “libexec” folder and then ran that command.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with setting the HTTPBody of a request correctly. I'm using
i have problem to correctly bind data to WPF Chart. When i'm setting ItemsSource
I have a problem when setting a variable inside a Java class Here is
I have problem with setting proper charset on my jsf pages. I use MySql
I have a problem with setting Browsing Path in Delphi 2009: When I install
I have this weird problem with setting up cookies with PHP. Everything worked fine
I have a weird problem where after setting nocheck on a foreign constraint and
I have a problem with the android alarmmanager. I'm setting the alarmmanager with two
I have got a problem here in terminating the threads. The problem is that
I have a problem on converting JSON string to object in Android. Here are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.