2014년 9월 13일 토요일

Java does NOT support unsigned type.

ref: http://www.gotw.ca/publications/c_family_interview.htm

You can find the reason why Java does not include unsigned type in the Gosling's comment in the interview with Dennis Ritchie, Bjarne Stroustrup,  and James Gosling:

Gosling: For me as a language designer, which I don't really count myself as these days, what "simple" really ended up meaning was could I expect J. Random Developer to hold the spec in his head. That definition says that, for instance, Java isn't -- and in fact a lot of these languages end up with a lot of corner cases, things that nobody really understands. Quiz any C developer about unsigned, and pretty soon you discover that almost no C developers actually understand what goes on with unsigned, what unsigned arithmetic is. Things like that made C complex. The language part of Java is, I think, pretty simple. The libraries you have to look up.

Failed to load the JNI shared library jvm.dll

ref: http://wiki.eclipse.org/Eclipse.ini

Eclipse may fail to start saying "Failed to load the JNI shared library C:\Program Files ...\jvm.dll."
When this error occurs, you should check the OS, JDK, and Eclipse. The working pairings of OS, JDK, and Eclipse are:

  • 32bit OS - 32bit JDK - 32bit Eclipse
  • 64bit OS - 64bit JDK - 64bit Eclipse
  • 64bit OS - 32bit JDK - 32bit Eclipse