Questions tagged [java-6]

Java SE version 6 was released in December 2006. Use this tag for questions specific to this version of Java.

Java SE 6 was an evolutionary change over the previous version. It did not include extensive language or JVM changes, however such changes were planned for Java SE 7 which was supposed to be released much sooner. (See here for what changed in Java 6).

As a stop-gap to the much delayed Java 7, Sun (since purchased by Oracle) introduced Java SE 6 Update 10, which despite its modest version numbering, represented extensive improvements to the GUI capabilities of Java in order to support JavaFX and Sun's renewed attempt to make Java successful in the GUI arena.

Internally, Java is numbered with a "1." before the number, so it will report itself as "1.6.0_" with an update number at the end. Starting with version 6, Sun dropped the ".0" from its marketed version number, so instead of 5.0 as previously done, it was Java 6.

Only use this tag if your question is specifically related to features of this version. Just because you are using this version, doesn't mean you need this tag. Use in addition to or instead of this tag.

See for more information.

1391 questions
0
votes
1 answer

Rolling Upgrade Application Glassfish 3.1.2.2

I saw a turorial video about rolling updates on glassfish 3.1 http://parleys.com/play/514892290364bc17fc56c463/chapter49/about They used a param called --rolling-upgrade but i cannot find it in the param list of deploy sub-command. Does s.b. know…
Hasan Tuncay
  • 1,090
  • 2
  • 11
  • 30
0
votes
0 answers

java 7 security update 25 update impact java 1.6 as well

I have installed java 1.7 security update 25 and after that my jnlp application stopped working even when I use java 1.6 and I am not using java 1.7 anywhere. So when we update java 1.7 security update 25 does it impact java 1.6 as well. I am…
Abhishek
  • 519
  • 1
  • 6
  • 24
0
votes
0 answers

Not Able to Access Virtual Folder JBOSS 5.1.0

I am newbie to jboss. We have configured jboss in Oracle linux, we are using three servers for example www.mysite.com/CIMM2EVENT,www.mysite.com/CIMM2Engman,www.mysite.com/CIMM2Taylor. We are using private IP address for backend server as JBOSS and…
user2693302
  • 71
  • 1
  • 2
  • 13
0
votes
2 answers

Downgrading from Java 7 to Java 6

For whatever reason I had to change pc's as a result of the change I now have to use Java 6 (the final update) Instead of java 7. When importing my existing project to Java 6 I get the following error in my auto generated code that was generated by…
Ayvadia
  • 339
  • 1
  • 4
  • 19
0
votes
2 answers

Regex capture group match lookup

I have a regex with multiple disjunctive capture groups (a)|(b)|(c)|... Is there a faster way than this one to access the index of the first successfully matching capture group? (matcher is an instance of java.util.regex.Matcher) int…
Mmmh mmh
  • 5,334
  • 3
  • 21
  • 29
0
votes
2 answers

What is difference in implementation of SunJCE 1.6 and SunJCE 1.5?

I am migrating from JDK 1.5 to JDK 1.6. I've encountered difficult problem. Here is piece of code: SecretKeyFactory factory = SecretKeyFactory.getInstance("PBEWithMD5AndTripleDES"); SecretKey key = factory.generateSecret(keySpec); Cipher ecipher =…
Dmitry Kaigorodov
  • 1,512
  • 18
  • 27
0
votes
1 answer

Java 6 - how to make JWindow transparent?

I am just wondering... I saw many examples but they all dedicated for Java 7 only :( So my question is: Is there a more or less optimal way to make transparent JWindow (or undecorated JFrame) with Java 6?
user592704
  • 3,674
  • 11
  • 70
  • 107
0
votes
0 answers

ODBC Driver - Invalid string or buffer length

I upgraded my JDK from 1.5.0 to 1.6.0 and then i got this when i try to connect MS SQL through ODBC driver: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length. Any ideas on this. Thanks in advance.
user1587872
  • 345
  • 1
  • 3
  • 14
0
votes
1 answer

How to access local system files in jsp with hyperlink

I developed a web application using struts 1.2 , I need to access local files((C:\Testing) in jsp with a link format.When user clicks on a file name it automatically opens(no download option).File can be of any type(pdf,excel,.doc...) I tried…
0
votes
1 answer

Can we create object for private class

It is the basic doubt that I am asking. Before asking here I asked with some of my colleagues and even with google but none returned me the answer which convinced me. So please anyone clarify my doubt. Thank you.
Rajesh Acharya
  • 214
  • 2
  • 10
0
votes
2 answers

JRE6 compiled software not working properly with JR7

even thought java is backwards compatible, I have problems running my Java 6 application using JRE7. First problem: javax.sound.sampled.Clip simply doesn't work when I run using JRE7, but works perfectly when I run using JRE6. …
Pb600
  • 130
  • 1
  • 5
0
votes
1 answer

Why is my Netbeans (7.3.1.) blurry with MacOS (10.x) and Retina display?

I just installed Netbeans on my new MacBook Pro with Retina Display. And now everything inside the IDE is blurry (font, ect.). I've installed Java SE 7. How can I get it sharp without downgrading to old Java SE 6 and loose Java SE 7 for Java…
Jurik
  • 3,244
  • 1
  • 31
  • 52
0
votes
1 answer

jar: error while loading shared libraries: libjli.so [How to manually install Java 6]

I'm running into this error when I'm building android 2.3 from source code on Ubuntu 10.04. I am suspecting it is an issue with a path or something along those lines but cannot figure it out. I have seen similar people have this issue but I haven't…
user2202911
  • 2,898
  • 5
  • 20
  • 28
0
votes
0 answers

How to solve "java.sql.SQLException: Feature not implemented Query"?

I am trying to execute java application connecting with mysql but getting the following error: Caused by: java.sql.SQLException: Feature not implemented Query: SELECT id, name, active, modified_time, create_time, version, last_modified_by,…
Ruhi Singh
  • 176
  • 2
  • 15
0
votes
1 answer

What kind of IO error is thrown when Java tries to recursively walk a directory structure with a circular symbolic link?

Consider this standard directory traversal code: static void walk(File f) throws IOException{ System.out.println(f.getPath()); if(f.isFile()) return; // leaf File[] subs = f.listFiles(); // If it aint a file, it's a directory. Right?…
Vitaliy
  • 8,044
  • 7
  • 38
  • 66