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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:04:22+00:00 2026-05-25T14:04:22+00:00

I installed IntelliJ Idea 10.5.2 with the plugins La Clojure and Leiningen. Installed Leiningen

  • 0

I installed IntelliJ Idea 10.5.2 with the plugins La Clojure and Leiningen. Installed Leiningen after that, as mentioned in GitHub page (took the bat, cause I’m running on Windows 7, and did a self install; I also put the path to the bat in the PATH variable)

Now, running anything in Leiningen yeilds this error:

E:\leiningen\lein.bat deps Error opening registry key
‘Software\JavaSoft\Java Runtime Environment’ Error: could not find
java.dll Error: could not find Java SE Runtime Environment.

So, the question is “What is wrong here?” I tried following all steps on installing Leiningen the right way. Still does not work fully.

If I go to where my project is from within a Windows command prompt, then I can run lein commands. It works that way. But I want to run from within the plugin in IntelliJ.

Also, another weird thing I noticed is that if I startup a Total Commander, go to my project and start a Command Prompt from there and then try running any lein commands, I get the same error.

My guess is something might be wrong with the classpath, but what? And how to fix it?

  • 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-05-25T14:04:23+00:00Added an answer on May 25, 2026 at 2:04 pm

    This is not a problem with the classpath, but a problem with starting Leiningen through the IntelliJ Leiningen plugin not being able to find a correct Java version.

    Since it depends on the host process that launches Lein if it can start the JDK or not, it could be a difference in ‘bitness’ under Win 7 x64. If you have only one 32 or 64 bit JDK installed, some programs try start only one, because the other is ‘shielded’ away.

    This is done internally by Win 7 through the x86 or x64 parts of the registry or default program files dirs. If the host process is 32 or 64 bits it can only find programs or dll’s from the same ‘bitness’. For program files this is either \Program Files\ for x64 and \Program Files (x86)\ for x86, and for the registry \HKEY_LOCAL_MACHINE\SOFTWARE\ for x64 and \HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ for x86.

    Easiest to find out is install the other (x86 or x64) version of the JDK and JRE as well. This will register that version in the other part of the registry and program files dir.

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

Sidebar

Related Questions

I have Intellij IDEA Community installed on a Linux box that needs to use
I've installed the la Clojure and leiningen plugins. I've created a clojure project and
I've installed Scala, SBT and Scala Power Pack plugins for IntelliJ Idea 9. And
I have a problem with my IntelliJ idea 9 IDE. I installed the La
I am running Intellij 11.0.1 on Ubuntu 11.10. I have installed some ttf fonts.
I'm running IntelliJ Idea under linux. I have created a project and a module
I'm trying out IntelliJ IDEA in earnest for the first time and have installed
I've just installed IntelliJ IDEA 10.0.0.2 Community edition I've installed Android SDK ... (C:\Program
I have successfully installed: 1) IntelliJ IDEA 10.0.3 with Lua Plugin 2) Corona SDK
I've noticed that IntelliJ IDEA 9 runs as a 32-bit process in Windows 2003

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.