Questions tagged [jdk6]

For issues relating to setting up or using the Java Development Kit (JDK), version 6.

JDK or Java Development Kit is a set of tools that Oracle, formerly Sun Microsystems, provides for developing Java applications.

58 questions
2
votes
1 answer

JDK6 -> JDK7 cant use com.sun.xml.internal.stream.XMLInputFactoryImpl

we have the following case in the code which causes tests to fail when running with JAVA_HOME set to JDK7 instead of JDK6 (maven with source/target = 1.6) javax.xml.stream.FactoryConfigurationError: Provider for…
Viktor Mellgren
  • 4,318
  • 3
  • 42
  • 75
2
votes
3 answers

Web Service Client in JBOSS 5.1 with JDK6

This is a continuation of the question here: JBoss - does app have to be compiled under same jdk as JBOSS is running under? It's different enough though that it required a new question. I am trying to use jdk6 to run JBOSS 5.1, and I downloaded the…
dcp
  • 54,410
  • 22
  • 144
  • 164
2
votes
1 answer

Gradle and IntelliJ with mixed Java/Scala project and SDK 1.6

I am getting started with Gradle on a polyglot java/scala project. The java modules are legacy modules built using JDK 1.6 so I decided to have my build environment use the older JDK. This has a very practical rationale. Code such as the…
Giovanni Botta
  • 9,626
  • 5
  • 51
  • 94
2
votes
1 answer

ant xjc task to work with jdk 6

I am using xjc ant task to generate java classes from xsd and wsdl and then i am generating a jar out of these generated classes. PFB the code i am using,
ACP
  • 34,682
  • 100
  • 231
  • 371
1
vote
2 answers

Oracle 12.2.0.4 and JDK 1.6.0_45

We're upgrading the database of an application which is on jdk 1.6. Is there any way to connect 1.6 app with oracle 12.2.0.4? As I could see on official oracle site, the only version of ojdbc that 12.2.0.4 supports is ojdbc8 which requires jdk 8.
1
vote
0 answers

What is alternative to deprecated ant task APT for jdk 1.6?

I am using jdk 1.6 and my ant project contains task apt from ant build. My ant version is 1.10 but it is showing below error : Problem: failed to create task or type apt Cause: The name is undefined. Action: Check the spelling. Action: Check that…
1
vote
1 answer

Spring-Integration-Kafka examples in java 6

I am a Java newbie and working with spring-integration-kafka, I have been through numerous tutorials like this. Are there any examples which use spring-integration-kafka or any other Spring-Integration example for beginners with JDK6.
1
vote
2 answers

Custom query within JPA server-managed session

I'm trying to execute an unrelated query (other_table) within a JTA session (server-managed) in order to do some validations, before persisting the bean EJB into DB with JPA. Here is what I want to do…
JCM
  • 548
  • 6
  • 15
1
vote
1 answer

SSLHandshake Exception while using jdk 1.6

I am trying to connect to a REST webservice using HTTPClient / URLConnection. Its a simple code that works fine in jdk 1.7 but throws a SSLHandshake Exception while using jdk1.6 IO Exception: javax.net.ssl.SSLHandshakeException:…
Riju Mahna
  • 6,718
  • 12
  • 52
  • 91
1
vote
0 answers

Install/Run multiple Java for Java Web Start and Android

I am using Windows 7 64bit OS with 4GB RAM. I installed Java 6.70 in my PC for running a very specific application in Java Web Start. I want to install the latest Android Studio v1.0+ (for Lollipop Sideproject), which requires JDK 7+. I tried to…
AbyKal
  • 133
  • 1
  • 2
  • 7
1
vote
0 answers

From a security standpoint, it is ok to build target an application to java 1.6, but using 1.7 and deploy to run on the jre7?

My question has sort of been answered, however I was wondering if there was any specific Oracle documentation confirming that this is not a problem. related stackoverflow threads: Security issues of compiling against older JDKs Is Java byte code…
wbrugato
  • 1,329
  • 10
  • 18
1
vote
1 answer

windows 8 + Jdk 6 + Apache Tomcat7

I have project running on Windows 7 ,jdk6 and Apache tomcat7 and eclipse juno. Now I have to move it to the windows8. In windows8, I have downloaded the jdk1.6.0_35 for 64-bit windows,Apche-tomcat7 for 64 bit and eclipse luna. but when I run this…
1
vote
1 answer

How to use different java versions for different programs?

This may be common in web but may be I am not getting what to search exactly. Actually I am having different versions of java on my ubuntu server having java 1.5 as default. One of my program need java 1.6 and even if I perform following in the…
Ruhi Singh
  • 176
  • 2
  • 15
1
vote
2 answers

Dexifying a jar file compiled by JDK 6 gives "bad class file magic" error

I am tryig to dexify a jar file using the following command: dx --dex --output=classes.dex JAR_file.jar This gives me the following errors: trouble processing: bad class file magic (cafebabe) or version (0033.0000) …
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
0
votes
1 answer

What versions of eclipse and apache tomcat should I use with jdk-6u30?

I am configuring the env on Vista. I have jdk-6u30 and eclipse-jee-indigo-SR1-win32 installed on the system. Please suggest what tomcat version would be compatible? I tried installing apache-tomcat-7.0.25 but it gave me "requested resource not…
Supriya
  • 131
  • 1
  • 8
  • 19