Error Java JDK isn't specified for module ..
See original GitHub issueSometimes the cabal build does not rebuild anything, and we get the above error. Here’s a console printout:
mac213:haskell-src-exts pj$ cabal build -j5
Building haskell-src-exts-1.15.0.1...
Preprocessing library haskell-src-exts-1.15.0.1...
In-place registering haskell-src-exts-1.15.0.1...
Preprocessing test suite 'test' for haskell-src-exts-1.15.0.1...
mac213:haskell-src-exts pj$
I’m not too worried about the error message, but the fact that it is signaled as an error is troublesome. Our primary mechanism for detecting errors are the return values from cabal, so maybe something is up with them.
Issue Analytics
- State:
- Created 9 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Warning:No JDK specified for module 'Myproject'.when run my ...
Go to File->Project Structure->SDK Location and check if the path for SDK and JDK location specified ...
Read more >No JDK specified for module ERROR MESSAGE
Hi, you need to set the JDK for your project and/or modules. Open the project settings (File->Project settings...). Most of the time you...
Read more >Warning:No JDK specified for module 'Myproject ... - SyntaxFix
Go to File->Project Structure->SDK Location and check if the path for SDK and JDK location specified by you is correct. If its not...
Read more >https://docs.roguewave.com/en/klocwork/current/can...
No information is available for this page.
Read more >Configure Android Studio - Android Developers
studio.vmoptions : Customize options for Studio's Java Virtual Machine (JVM), such as heap size and ... STUDIO_JDK : set the JDK with which...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, thank you.
Gregory Guthrie
From: Cary Robbins [mailto:notifications@github.com] Sent: Sunday, February 01, 2015 9:36 PM To: carymrobbins/intellij-haskforce Cc: Gregory Guthrie Subject: Re: [intellij-haskforce] Error Java JDK isn’t specified for module … (#31)
@grguthriehttps://github.com/grguthrie: This sounds like a slightly different topic, so let’s move the discussion over to #128https://github.com/carymrobbins/intellij-haskforce/issues/128 to keep it relevant.
— Reply to this email directly or view it on GitHubhttps://github.com/carymrobbins/intellij-haskforce/issues/31#issuecomment-72402499.
Renaming a module, adding a new module with the same name and importing the renamed one, adding the new module to the cabal file and trying to build reproduces this.