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 8120773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:15:32+00:00 2026-06-06T05:15:32+00:00

I am facing this issue whenever I am trying to run Play 1.2.1 in

  • 0

I am facing this issue whenever I am trying to run Play 1.2.1 in my system .
Previously I had , Play2.0 in my system .
I exported the PATH variable , so that PATH contains the path to Play 2.0 directory .

Now , I am trying to run Play 1.2.1 in Mac OS X 10.7.4 .

My PATH variable looks like ,

-bash: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/mysql/bin:/Users/sabya/Documents/Play_Framework/play-2.0: No such file or directory

After exporting the PATH for play 1.2.1 my PATH looks like

-bash: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/mysql/bin:/Users/sabya/Documents/Play_Framework/play-2.0:/Users/sabya/Downloads/Work/play-1.2.1: No such file or directory

I created a new project through play new test_app .

But whenever I am trying to do play run , its showing me

Could not execute the java executable, please make sure the JAVA_HOME environment variable is set properly (the java executable should reside at JAVA_HOME/bin/java).

Typing javac/java in the same directory gives me proper output .

My $JAVA_HOME outputs -bash: /Library/Java/Home: No such file or directory

Everything working fine in Ubuntu .

What can be the work around at this situation ?
I have googled extensively . Did not get anything suitable .

Is the trailing “:” in JAVA_HOME a problem ?

  • 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-06T05:15:34+00:00Added an answer on June 6, 2026 at 5:15 am

    Be carefull, you seem to mix Play 1 and Play 2 in your path.

    Also, JAVA_HOME should point to the directory where Java is installed in your system. I doubt that this /Library/Java/Home (try to open this directory with the Finder, and see if it exists).

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

Sidebar

Related Questions

I'm facing a problem to solve this issue. I'm having a string variable, for
Please help me with this issue that I am facing on production server. I
I am facing an issue with SecureRandom in java. This was the code that
I am facing this issue whenever i try to access a file which is
I am facing this issue when i run the selenium script: (I am running
More precisely, I am facing this issue while trying to install https://github.com/barraponto/thacker-profile (commit 75c693581796eddae5fc39870dfcc2647e00c81b
I am facing this issue with the servlet when i am trying to stream
So I'm facing this issue, one I've never had before in over 4 years
I am facing this issue on device that assigning the selected row value of
I am facing this issue in Junit. I have created an Android application that

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.