Top "Java-6" questions

Java SE version 6 was released in December 2006.

Dealing with "java.lang.OutOfMemoryError: PermGen space" error

Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's a typical Hibernate/JPA + …

exception memory-leaks out-of-memory java-6 permgen
Get keys from HashMap in Java

I have a Hashmap in Java like this: private Map<String, Integer> team1 = new HashMap<String, Integer&…

java data-structures java-6
How to set specific java version to Maven

On my machine I have two java versions installed: (1.6 and 1.7 installed manually by me). I need both of them for …

maven java-7 java-6
Using File.listFiles with FileNameExtensionFilter

I would like to get a list of files with a specific extension in a directory. In the API (Java 6), …

java file filter java-6
Is it possible to read the value of a annotation in java?

this is my code: @Column(columnName="firstname") private String firstName; @Column(columnName="lastname") private String lastName; public String getFirstName() { return …

java annotations getter-setter java-6
Get java.nio.file.Path object from java.io.File

Is it possible to get a Path object from a java.io.File? I know you can convert a path …

java file path java-6
How to use TLS 1.2 in Java 6

It seems that Java 6 supports TLS up to v1.0, is there any way to use TLS 1.2 in Java 6? Maybe a …

java ssl java-6 tls1.2
How to convert java.lang.Object to ArrayList?

I have a valid ArrayList object in the form of java.lang.Object. I have to again convert the Object …

java java-6
Which JDK version (Language Level) is required for Android Studio?

I am a new comer to the android world and with a .NET background. I am trying to install the …

java android android-studio java-7 java-6
Simple Java HTTPS server

I need to set up a really lightweight HTTPS server for a Java application. It's a simulator that's being used …

java ssl https java-6