Top "Java-7" questions

Java SE version 7 was released in 2011.

Java 7 String - substring complexity

Until Java 6, we had a constant time substring on String. In Java 7, why did they decide to go with copying …

java java-7
Should I use Groovy's @CompileStatic if I'm also using Java 7

I've read through the "What's new in Groovy 2.0" and I'm a bit confused about when to use @CompileStatic. The article …

groovy java-7 invokedynamic groovy-2 compile-static
Compiling java code and creating jar online

My problem: I have JDK 1.7 version on my machine. The jar I created with this does not run on my …

java java-7 jdk1.4
IntelliJ - The selected directory is not a home for JDK

Similar to this question IntelliJ, "The selected directory is not a home for JDK", I am getting an error that …

java intellij-idea ide java-7 intellij-15
Can't transparent and undecorated JFrame in JDK7 when enabling nimbus

Look at this picture : here is the code that transparent's the frame: GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gd = ge.getDefaultScreenDevice(); …

java swing java-7 nimbus translucency
how to set java version path to firefox in runtime

Please anyone help me to set java version path in Runtime. i installed two java versions in different directories.but …

java java-7 java-6
Generating random API key, 2 method provided, any difference?

I am generating some random API key(256 bits long) using java 7, two methods provided below, generate() and generate2(). Are there …

java security random java-7 api-key
Obfuscation causes VerifyError: Expecting a stackmap frame

We are using latest JDK 7 (u45) and ProGuard Version 4.10 Lately starting our distribution fails, after obfuscating it, with the following …

obfuscation java-7 proguard verification
Differences in auto-unboxing between Java 6 vs Java 7

I have noted a difference in auto unboxing behavior between Java SE 6 and Java SE 7. I'm wondering why that is, …

java casting java-7 unboxing
ProcessBuilder.inheritIO() sending output to the wrong place

I am using inheritIO() to redirect output from a child process in my program to the System.out and System.…

java redirect java-7 processbuilder system.out