Skip to content

Tag: intellij-idea

Removing Java 8 JDK from Mac

So I installed the beta of JDK 8 a while ago to look at some of the examples. I thought for sure by now, it’s easy to change between versions. Doing some Play development with IntelliJ. For some reason, IntelliJ is compiling with 8 even though: I have the compiler set in Preferences to use 1.6 Supposedl…

How do I change the IntelliJ IDEA default JDK?

I use IntelliJ IDEA as my development environment, and Maven for dependency management. I frequently build my project structure (directories, poms, etc) outside of IDEA and then import the project into IDEA using Import project from external model. This works great, except that in my poms I specify that the m…

java class method stubs with /* compiled code */

I just received a third party authentication library to use in my clients application. I didn’t receive any documentation with it and am trying to dig through the source and see how it works. I’m very to new Java when i click Go To -> Declaration on methods in IntelliJ it sends me to a .class f…

Maven package works but Intellij’s build fails

I have a JDK 1.7 project with a maven dependency to a local jar in my maven repo. I’m unable to build the project using Intellij, with the errors that a symbol cannot be found (the symbol is a class importing packages from the local jar) But I can successfully build the project using ‘mvn package&…

Where to add compiler options like -ea in IntelliJ IDEA?

I want to add the -ea option. I set it in Project Settings –> Compiler –> Java Compiler : Additional command line parameters. But it caused a make error: invalid flag: -ea. P.S.: the above error message may not be the same as yours, because IntelliJ showed error in my native language, not En…

How Can I View Glassfish Logs on Intellij Idea

I am working on making the switch from Netbeans to Intellij Idea. One thing I miss from Netbeans is the ability to view the Glassfish server logs in real-time in the IDE. It seems like with Idea I need to go out to the file system and tail them. Is there another way that I am missing? Answer Additional server