¡@

Home 

java Programming Glossary: sun

Does the JVM prevent tail call optimizations?

http://stackoverflow.com/questions/105834/does-the-jvm-prevent-tail-call-optimizations

informal proposal . There is also more discussion in Sun bug #4726340 where the evaluation from 2002 ends I believe this..

How do I set the proxy to be used by the JVM

http://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm

download.oracle.com javase 6 docs technotes guides Edit Sun is dead long live Sun Updating links to the new home of the.. javase 6 docs technotes guides Edit Sun is dead long live Sun Updating links to the new home of the documentation at oracle.com..

Eclipse - no Java (JRE) / (JDK) … no virtual machine

http://stackoverflow.com/questions/2030434/eclipse-no-java-jre-jdk-no-virtual-machine

you can want to register an older SDK including a non Sun one in order to run debug your programs with a JRE similar to..

Official reasons for “Software caused connection abort: socket write error”

http://stackoverflow.com/questions/2126607/official-reasons-for-software-caused-connection-abort-socket-write-error

code What causes this exception to be thrown Regarding #1 Sun's JVM source doesn't contain this exact message but I think.. And most important Is there an official document e.g from Sun stating the above I need to have a proof that this stack trace.. to avoid it. except catching the exception or using a non Sun JVM SocketOutputStream though both don't really avoid the fact..

How do I fade an image in swing?

http://stackoverflow.com/questions/2228735/how-do-i-fade-an-image-in-swing

value for the composite's alpha parameter. There is a Sun tutorial that includes an alpha composite example . share improve..

How slow are Java exceptions?

http://stackoverflow.com/questions/299068/how-slow-are-java-exceptions

stack which cleans up automatically if the method exists . Sun and others recognized that this is possibly suboptimal and of..

What is the difference between javac and the Eclipse compiler?

http://stackoverflow.com/questions/3061654/what-is-the-difference-between-javac-and-the-eclipse-compiler

different from the javac the compiler that is shipped with Sun JDK. One notable difference is that the Eclipse compiler lets..

How to avoid Java Code in JSP-Files?

http://stackoverflow.com/questions/3177733/how-to-avoid-java-code-in-jsp-files

to maintain mingled cluttered duplicated code logic. Sun Oracle itself also recommends in the JSP coding conventions..

Java generics - type erasure - when and what happens

http://stackoverflow.com/questions/339699/java-generics-type-erasure-when-and-what-happens

when and what happens I read about Java's type erasure on Sun's website . When does type erasure occur At compile time runtime.. the class is instantiated A lot of sites including the Sun tutorial mentioned above say type erasure occurs at compile..

Howto unescape a Java string literal in Java

http://stackoverflow.com/questions/3537706/howto-unescape-a-java-string-literal-in-java

it. unescape_perl_string Tom Christiansen tchrist@perl.com Sun Nov 28 12 55 24 MST 2010 It's completely ridiculous that there's..

Unicode equivalents for \w and \b in Java regular expressions?

http://stackoverflow.com/questions/4304928/unicode-equivalents-for-w-and-b-in-java-regular-expressions

functions I discuss below is available here . UPDATE Sun ™s updated Pattern class for JDK7 has a marvelous new flag UNICODE_CHARACTER_CLASS..

Decode Base64 data in Java

http://stackoverflow.com/questions/469695/decode-base64-data-in-java

in Java Hopefully using only the libraries included with Sun Java 6. java base64 share improve this question No need.. share improve this question No need to use commons Sun ships a base64 encoder with Java. You can import it as such.. that the sun. classes are not officially supported by Sun. EDIT Who knew this would be the most controversial answer I'd..

How do you kill a thread in Java?

http://stackoverflow.com/questions/671049/how-do-you-kill-a-thread-in-java

share improve this question See this thread by Sun on why they deprecated Thread.stop . It goes into detail about..

Individual and not continuous JTable's cell selection

http://stackoverflow.com/questions/7620579/individual-and-not-continuous-jtables-cell-selection

private static void createAndShowUI String items Sun Mon Tues Wed Thurs Fri Sat JList myJList new JList items private..

Is it possible to read from a InputStream with a timeout?

http://stackoverflow.com/questions/804951/is-it-possible-to-read-from-a-inputstream-with-a-timeout

the subject here java.io.InputStream as documented by Sun any Java version . Please note this is not as simple as it looks... Below are some facts which are supported directly by Sun's documentation. The in.read method may be non interruptible...

DocumentListener Java, How do I prevent empty string in JTextBox?

http://stackoverflow.com/questions/11818080/documentlistener-java-how-do-i-prevent-empty-string-in-jtextbox

DocumentListener private JLabel mon tues wed thurs fri sat sun hourlyWage blank row2 monWage tuesWage wedWage thursWage friWage.. row2 monWage tuesWage wedWage thursWage friWage satWage sunWage total totalTips totalHours totalHourlyEarnings totalPay.. JTextField 0 add hourSat satWage new JLabel 0 add satWage sun new JLabel Sunday add sun tipSun new JTextField 0 add tipSun..

base64 encoding in java

http://stackoverflow.com/questions/13109588/base64-encoding-in-java

eclipse. I have the following line of code wr.write new sun.misc.BASE64Encoder .encode buf Eclipse mark this line as error... this line as error. I import the required libraries import sun.misc.BASE64Encoder import sun.misc.BASE64Decoder But again both.. required libraries import sun.misc.BASE64Encoder import sun.misc.BASE64Decoder But again both of them shown as errors. I..

ejb lookup failing with NamingException

http://stackoverflow.com/questions/1473939/ejb-lookup-failing-with-namingexception

jsight's suggestion Exception occurred in target VM com.sun.enterprise.naming.java.javaURLContext. init Ljava util Hashtable.. init Ljava util Hashtable Lcom sun enterprise naming NamingManagerImpl V java.lang.NoSuchMethodError.. naming NamingManagerImpl V java.lang.NoSuchMethodError com.sun.enterprise.naming.java.javaURLContext. init Ljava util Hashtable..

how binding attribute in JSF works

http://stackoverflow.com/questions/14911158/how-binding-attribute-in-jsf-works

Thanks. EDIT Below is the generated output. I'm using sun implementation 1.2. form id j_id_jsp_1847466274_1 name j_id_jsp_1847466274_1..

where can I get the latest JRE / JDK as a zip file, I mean, no exe installer [closed]

http://stackoverflow.com/questions/1619662/where-can-i-get-the-latest-jre-jdk-as-a-zip-file-i-mean-no-exe-installer

the latest jre jdk is available as a zip file... http java.sun.com javase downloads index.jsp http download.java.net jdk6 any.. any idea or is it safe to assume that exe installer from sun just will just unzip the whole thing without messing around..

Why should I use the Oracle JDK over the OpenJDK, or vice-versa? [closed]

http://stackoverflow.com/questions/1977238/why-should-i-use-the-oracle-jdk-over-the-openjdk-or-vice-versa

one have over the other Can I run both side by side java sun openjdk share improve this question What advantages does.. to do some testing from time to time and use java 6 sun as default. 1 As underlined by Tom Hawtin 's comment to BalusC..

Java Desktop application: SWT vs. Swing [closed]

http://stackoverflow.com/questions/2306190/java-desktop-application-swt-vs-swing

Editor in Netbeans and Eclipse good online tutorials by sun Supported by official java extensions like java OpenGL contra..

Multiple wildcards on a generic methods makes Java compiler (and me!) very confused

http://stackoverflow.com/questions/3546745/multiple-wildcards-on-a-generic-methods-makes-java-compiler-and-me-very-confu

how come The above code compiles for me in Eclipse and on sun jdk 1.6.0.17 in ideone.com but should it Is it not possible.. at all Is it typesafe Is this a compiler bug or am I misunderstanding the capture conversion rules for wildcards Appendix.. has nothing to do with multiple wildcards but rather misunderstanding what List List really means. Let's first remind ourselves..

Send email using java

http://stackoverflow.com/questions/3649014/send-email-using-java

Connection refused connect at com.sun.mail.smtp.SMTPTransport.openServer SMTPTransport.java 1706 at.. SMTPTransport.java 1706 at com.sun.mail.smtp.SMTPTransport.protocolConnect SMTPTransport.java 525.. to supply your Google username and password. import com.sun.mail.smtp.SMTPTransport import java.security.Security import..

In Java Swing how do you get a Win32 window handle (hwnd) reference to a window?

http://stackoverflow.com/questions/386792/in-java-swing-how-do-you-get-a-win32-window-handle-hwnd-reference-to-a-window

You don't have write any C JNI code. From Java import sun.awt.windows.WComponentPeer public static long getHWnd Frame.. WComponentPeer f.getPeer .getHWnd 0 Caveats This uses a sun. package. Obviously this is not public API. But it is unlikely..

Decode Base64 data in Java

http://stackoverflow.com/questions/469695/decode-base64-data-in-java

base64 encoder with Java. You can import it as such import sun.misc.BASE64Decoder And then use it like this BASE64Decoder decoder.. or a java.io.InputStream . Just beware that the sun. classes are not officially supported by Sun. EDIT Who knew.. the most controversial answer I'd ever post I do know that sun. packages are not supported or guaranteed to continue existing..

How to get image height and width using java?

http://stackoverflow.com/questions/672916/how-to-get-image-height-and-width-using-java

I encounter some issue that will lockup the thread. at com.sun.medialib.codec.jpeg.Decoder.njpeg_decode Native Method at com.sun.medialib.codec.jpeg.Decoder.decode.. Native Method at com.sun.medialib.codec.jpeg.Decoder.decode Decoder.java 87 at com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader.decode.. Decoder.java 87 at com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader.decode CLibJPEGImageReader.java..

Java Garbage Collection Log messages

http://stackoverflow.com/questions/895444/java-garbage-collection-log-messages

credible sources. An automatic 1 to all answers which cite sun documentation. My questions are What does PSYoungGen refer to.. 1097728K 0.0682690 secs java logging garbage collection sun share improve this question Most of it is explained in the..

Java equivalent of C#'s Rfc2898DerivedBytes

http://stackoverflow.com/questions/1012363/java-equivalent-of-cs-rfc2898derivedbytes

LGPL. Given the availability of HMacSHA1 in the standard SUN JCE cryptographic provider such an implementation is quite simple..

Validating a certificate in java throws an exception - unable to find valid certificate path to requested target

http://stackoverflow.com/questions/10411433/validating-a-certificate-in-java-throws-an-exception-unable-to-find-valid-cert

C trustedca KeyStore anchors KeyStore.getInstance JKS SUN anchors.load fin server .toCharArray X509CertSelector target..

How to add Distinct in Hibernate Criteria

http://stackoverflow.com/questions/10731723/how-to-add-distinct-in-hibernate-criteria

there are 2 different tests with the same type I.e SUN so I want only one of them for which I use Distinct in my hibernate..

Check if a dll library is already loaded? (Java)

http://stackoverflow.com/questions/1139386/check-if-a-dll-library-is-already-loaded-java

poster of the question seems to have problems with a non SUN compatible JVM or a too restrictive SecurityManager. Link to..

Changing JList row color at runtime

http://stackoverflow.com/questions/1664924/changing-jlist-row-color-at-runtime

improve this question Based on ListDemo sample from SUN. If you enter some text in the textfield which isn't in the..

Java stack overflow error - how to increase the stack size in Eclipse?

http://stackoverflow.com/questions/2127217/java-stack-overflow-error-how-to-increase-the-stack-size-in-eclipse

the maximum stack size . The default value is 512 kByte SUN JDK 1.5 don't know if it varies between vendors and versions..

How to combine two or many tiff image files in to one multipage tiff image in JAVA

http://stackoverflow.com/questions/3165792/how-to-combine-two-or-many-tiff-image-files-in-to-one-multipage-tiff-image-in-ja

have read the JAI API documentation and tutorials given by SUN. I am new to JAI. I know the basic core java. I dont understand.. I dont understand those documentation and turorial by SUN. So friends Please tell me how to combine 5 tiff image file..

Mocking Java enum to add a value to test fail case

http://stackoverflow.com/questions/5323505/mocking-java-enum-to-add-a-value-to-test-fail-case

It involves all kinds of reflection magic and usage of SUN internal classes. I admit that I haven't read it completely..

Buffered RandomAccessFile java

http://stackoverflow.com/questions/5614206/buffered-randomaccessfile-java

I'm sure is shared by many and never addressed properly by SUN. Please no reference to MemoryMapping as files can be way bigger..

How to develop screen capture to video application

http://stackoverflow.com/questions/6236119/how-to-develop-screen-capture-to-video-application

PURPOSE OR NON INFRINGEMENT ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED.. THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE PROFIT OR DATA.. OUT OF THE USE OF OR INABILITY TO USE SOFTWARE EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. This software..

Override Swing Nimbus L&F primary color per component instance

http://stackoverflow.com/questions/6922368/override-swing-nimbus-lf-primary-color-per-component-instance

Copyright 2007 Sun Microsystems Inc. All rights reserved. SUN PROPRIETARY CONFIDENTIAL. Use is subject to license terms. import.. Copyright 2007 Sun Microsystems Inc. All rights reserved. SUN PROPRIETARY CONFIDENTIAL. Use is subject to license terms. import..

Really force file sync/flush in Java

http://stackoverflow.com/questions/730521/really-force-file-sync-flush-in-java

144009 1 sync 26.81 0.052739 1 65539 write Java 1.6 SUN JRE java.io API MB s 128.6755466197537 time seconds usecs call.. 3201 1059 read 0.62 0.815251 815251 1 fsync Java 1.6 SUN JRE java.nio API MB s 127.45830221558376 5.52 0.980061 490031..

Differences between JVM implementations

http://stackoverflow.com/questions/747360/differences-between-jvm-implementations

handling Where are the differences between JRockit IBM JVM SUN JVM Open JDK Blackdown Kaffe ..... Deals one of them with Tail..

Java Memory explained (SUN JVM)

http://stackoverflow.com/questions/858250/java-memory-explained-sun-jvm

Memory explained SUN JVM I tried to find a interpretation of the memory segments..

Max amount of memory per java process in windows?

http://stackoverflow.com/questions/987219/max-amount-of-memory-per-java-process-in-windows

with the allocation class helper source code WinXP SP2 SUN JVM C java version java version 1.6.0_02 Java TM SE Runtime..