Questions tagged [jdk1.7]

The Java Development Kit (JDK) is an implementation of either one of the Java SE, Java EE or Java ME platforms released by Oracle Corporation

The Java Development Kit (JDK) is an implementation of either one of the Java SE, Java EE or Java ME platforms released by Oracle Corporation

85 questions
27
votes
7 answers

Unable to Run Kotlin Application in Eclipse

In order to create my first, simple Kotlin project in Eclipse, I followed the steps in Getting Started with Eclipse Luna tutorial from Kotlin official website, i.e.: Install Kotlin Plugin for Eclipse from Eclipse Marketplace Open the Kotlin…
marcelovca90
  • 2,473
  • 2
  • 21
  • 32
23
votes
3 answers

How to know if I am using Open JDK or Oracle JDK?

Using java -version gives me this. java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) Is it an OpenJDK or OracleJDK ?
Abhishek Singh
  • 9,083
  • 17
  • 67
  • 97
16
votes
3 answers

What is the difference between ojdbc6.jar and ojdbc7.jar?

Will ojdbc6.jar work for JDK 1.7 and Oracle 12c? Should I use ojdbc7.jar? Thank you in advance.
Brooke
  • 415
  • 1
  • 5
  • 13
6
votes
1 answer

Android Studio - can't download google apis intel x86 atom system image

I've installed Android Studio - Version 2.2 and jdk version 1.7.0_72. During the installation an error occurred "Warning: An error occurred while preparing sdk package google apis intel x86 atom system image". I've posted the image here,…
6
votes
4 answers

JDK 1.7 jarsigner with https tsa no longer works

It seems like Thawte root certificates in JDK 1.7.0_80 is revoked. https://www.thawte.com/roots/retired.html Using the 7u80 jarsigner no longer works and it worked fine just a few days ago. /usr/java/jdk1.7.0_80/jre/../bin/jarsigner -keystore…
DJViking
  • 732
  • 1
  • 9
  • 23
5
votes
3 answers

Why is File.exists() behaving flakily in multithreaded environment?

I have a batch process running under java JDK 1.7. It is running on a system with RHEL, 2.6.18-308.el5 #1 SMP. This process gets a list of metadata objects from a database. From this metadata it extracts a path to a file. This file may or may not…
Steve Cohen
  • 4,219
  • 7
  • 45
  • 84
5
votes
3 answers

I still see Java 1.8 when I am doing java -version after downgrading to 1.7

I downgraded java 1.7 from 1.8, but I still see 1.8 when I do java -version. I changed the path and also made JAVA_HOME changed for 1.7 as JAVA_HOME: C:\Program Files (x86)\Java\jdk1.7.0_79 PATH: C:\Program…
Rookie_Guy
  • 82
  • 2
  • 10
4
votes
1 answer

Not able to build using maven 3.6 and jdk 1.7

I have created a project using maven, but when I am building the project I am getting error. I am using jdk 1.7u21 If I use jdk 1.8 it the build is working fine, its only I use jdk 1.7 then the issue is coming. Tried using the TSL 1.2 in my build…
Raj Dutta
  • 43
  • 3
4
votes
1 answer

How does Java know which class to use during runtime given jars containing same classes but different JRE versions in the classpath?

My project includes two jars (xyz-jre7.jar and xyz-jre8.jar) in the classpath, which contain classes with identical names. During runtime, my program seems to pick up the correct jar and classes with both JRE 7 and 8. Internally, how does Java know…
ExtremistEnigma
  • 229
  • 3
  • 11
4
votes
2 answers

DecimalFormat not working properly after windows update

Up until recently my code was working fine on my development machine as well as on the deployment server. Now out of the blue, the DecimalFormat does not work as expected and I am pretty sure that is after the windows 10 Creators Update. My code…
MaVRoSCy
  • 16,907
  • 14
  • 76
  • 116
4
votes
2 answers

String (bytes[] Charset) is returning results differently in Java7 and java 8

import java.io.UnsupportedEncodingException; import java.nio.charset.StandardCharsets; import java.util.Arrays; public class Java87String { public static void main(String[] args) throws UnsupportedEncodingException { // TODO Auto-generated…
4
votes
1 answer

Starting java application

What is the difference between starting java process by: java -jar application.war and java -classpath application.war org.example.Main Problem is that I'm starting Spring Boot Application with -jar argument, process starts normally, but in…
kris14an
  • 731
  • 7
  • 23
4
votes
0 answers

tzupdate for openJDK

we use openJDK 7 and it seems Oracle's tzupdater does not support it. # java -jar /tmp/tz/tzupdater.jar -u -v java.home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre java.vendor: Oracle Corporation java.version:…
user1493834
  • 726
  • 3
  • 11
  • 23
3
votes
1 answer

Is JRE with JIT much faster then a JRE with notmal java interpreter?

Recently i upgraded the JRE in my linux machine from 1.7 +JIT to 1.8 without JIT and noticed a huge degredation in performence, does Just In Time compilation JVM much faster then JVM with interpreter? Thanks,
drKnows
  • 53
  • 6
3
votes
0 answers

REST Web service call is not working in Java 1.7

I am trying to use a RESTful API in Java, which is working in Java 1.6 and Java 1.8 but not working in Java 1.7. My code: import play.libs.F.Promise; import play.libs.WS; import play.libs.WS.Response; import play.libs.WS.WSRequestHolder; public…
1
2 3 4 5 6