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
0
votes
1 answer

Eclipse: Howto organize JDK or JRE (JDK6 or JDK7) dependent sources?

Maybe I only missed the right keywords / concept how to describe my problem. Scope: I'm used to build my project with JDK6 and JDK7 within Eclipse Indigo For a specific library I have to use two source code versions (each specific for JDK6 or …
spex66
  • 186
  • 2
  • 10
0
votes
1 answer

Error while running building maven project - plugins, API incompatibility

I am facing problem while trying to run maven build with JDK6. I am running build inside docker container with JDK6 and Maven. Do I get it right, that the plugins are not compatibile with JDK6 version and I should use lower version of help plugin? I…
smxh
  • 19
  • 5
0
votes
1 answer

Which JAX - RS version is compatible with Java 1.6?

Unable to find this information. I have a project built using Java 1.6. Now I need to consume the rest web API using JAX - RS. Which version should I download ?
Adeel
  • 413
  • 1
  • 7
  • 22
0
votes
2 answers

How to compile a java 7 project by java 6 environment

I am trying to make a jar file for handle webcam. I have to use this jar to another application. But this application made by java 1.6 so I have to convert this jar to 1.6. this code is ok for java 8. when I am trying to compile it by java 1.6 it…
0
votes
1 answer

Getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

I'm having thar error when consuming an https webservice. I have that error when running a client in Java 6. I can't change the version of the Jdk. I tried with jdk8 and it works perfectly. What could be causing this error? I added…
user1211043
  • 21
  • 1
  • 2
  • 5
0
votes
1 answer

getting bearer token(OAUTH 2.0 ) using java 6

We have got the bearer token using java 8 codes (OkHttpClient also used oinside). But we have to do the same in java 6. OkHttpClient will not supports java 8. Is there any other corresponding ways oAuth 2.0 works with java 6 ? please share your…
0
votes
1 answer

SSL exception in JAVA6 but no in JAVA8

Hy I try to connect a java program to an REST API. With the same part of code I have a Java Exception in Java 6 and it works fine in Java 8. It's the same environment : trustore machine unix user the code : import java.io.DataInputStream; import…
Antoine
  • 13
  • 3
0
votes
0 answers

Upgrading jboss server 4.0 with jdk6 to wildfly15 with jdk8

previously my project was on jdk 6 with jboss 4.i upgraded from jdk6 to jdk8 . When i was using jdk 8 with jboss4 it was working properly but after upgrading jboss 4 with wildfly 15 i am getting below error. in web.xml i configured…
0
votes
2 answers

Weblogic server 32-bit on 64 bit linux box

I have Weblogic server setup 32-bit(wls1033_linux32.bin) and jdk6 64-bit(jdk-6u24-linux-x64.bin).... can i install and run successfully on a 64-bit Linux machine? Please give me the break up of what all i need to install WL server on 64-bit linux…
abhijithln
  • 113
  • 2
  • 2
  • 9
0
votes
2 answers

Spring MVC: How to modify @Pathvariable(URI) in Interceptor before going to controller?

I was get Controller's @PathVariable in Pre-Handler Interceptor. Map pathVariable = (Map) request.getAttribute( HandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE ); But I wish to modify @PathVariable…
신동평
  • 119
  • 2
  • 11
0
votes
1 answer

File is getting locked after renameTo method (JAVA, Windows, JDK6)

I am renaming the extension of the file from .tmp to .xml, but when I try to access the same file from other path, it gives me an exception that file is locked. String filename= "TemporaryFile.tmp"; File file = new File(filename); String filename1…
0
votes
0 answers

RoundingMode.HALF_UP does not give correct result

I used code snippet below using RoundingMode.HALF_UP: Double value = new Double( "18.74"); Double result = (value*75)/100; System.out.println("Result: "+result); BigDecimal roundedValue =…
user1368271
0
votes
0 answers

Is there a way to change owner and group programatically with java 6?

I must find a solution for changing it from java 6. I know that it is possible to do it with Files.nio but I should only use java 6 API. I really don't want to use Runtime.getRuntime().exec("chown xx yy");
15412s
  • 3,298
  • 5
  • 28
  • 38
0
votes
1 answer

Unable to run Jboss AS 7.1.3 with JDK 1.8

We have an existing JSF application on Jboss 7.1.3 and Jdk 1.6. We are trying to upgrade it to jdk 1.8 but server does not start. Following is the log that is generated: 12:49:03,282 INFO [org.jboss.modules] JBoss Modules version…
0
votes
0 answers

Is there any support in JDK6 and Spring 4.1.8 for XSL processing with Xpath version 2.0?

I am trying to achieve XML - XSLT transformation. For that I am using JDK 6 and Spring 4.1.8. From the code I see XsltPayloadTransformer compiles XSL file and then transforms XML data file. But however my XSL uses XPath V2 and It seems that JDK6…
Zebronix_777
  • 345
  • 4
  • 25