Questions tagged [sun]

Sun Microsystems is a computer company, bought by Oracle in January 2010. It is most famous for its line of computers based on its own SPARC processors, the Solaris operating system and the invention of the Java platform.

Sun Microsystems, Inc. was a company that sold computers, computer components, computer software, and information technology services and that created the programming language, and the Network File System (NFS). Sun significantly evolved several key computing technologies, among them Unix, RISC Processors, Thin Client Computing, and virtualized computing. Sun was founded on February 24, 1982. At its height, Sun headquarters were in Santa Clara, California (part of Silicon Valley), on the former west campus of the Agnews Developmental Center.

More info:

http://en.wikipedia.org/wiki/Sun_Microsystems

http://www.oracle.com/us/sun/index.htm

240 questions
11
votes
6 answers

Makefile error: Unexpected end of line seen

Trying to install Git, I ran configure and make, but got the following error message: make: Fatal error in reader: Makefile, line 221: Unexpected end of line seen The Makefile looks like: 218: GIT-VERSION-FILE: FORCE 219: …
Winston C. Yang
  • 1,497
  • 2
  • 18
  • 27
11
votes
1 answer

What impact, if any, does the -d64 switch have on Sun JVM resident memory usage?

I've got this webapp that needs some memory tuning. While I'm already profiling the application itself and trimming things down, the JVM itself seems overly bloated to me on our busiest instance. (The lower volume instances do not have this…
Stu Thompson
  • 38,370
  • 19
  • 110
  • 156
10
votes
3 answers

Java Virtual Machines (JVM) and their performance comparison

I was wondering if there somebody knows if there are some benchmarks which compare the following jvms. sun jvm vs. openjdk jvm vs. rockit jvm vs. j9 jvm vs. apache harmony. Which one is has the best performance?
markovuksanovic
  • 15,676
  • 13
  • 46
  • 57
9
votes
4 answers

Position of the Sun (azimuth) in Lua

There is only one function in LUA I could find online, but it gives wrong values (measured with professional online tools). It appears that from the sunrise till some time after the noon the math works, but after, the Sun's angle goes back to the…
Edi Budimilic
  • 4,526
  • 3
  • 19
  • 22
8
votes
6 answers

java.lang.AssertionError thrown by compiler when adding generated method with parameters

I am modifying an existing class using internal sun APIs (com.sun.tools.javac) with an annotation processor. I am able to generate and add a MethodDecl to a ClassDecl using the following code: JCTree.JCClassDecl classDecl = ... JCTree.JCMethodDecl…
bramhaag
  • 628
  • 1
  • 9
  • 24
7
votes
4 answers

Maven compilation fails while eclipse is successful

I am using maven3.03 and Eclipse 3.5 on Windows XP. I converted old web project to be in maven configuration style. When i compile the project in eclipse everything compile.Note: The classpath contains: Maven Dependencies and JDK(1.6_018). When i…
ronk
  • 203
  • 1
  • 5
  • 13
7
votes
5 answers

Is the original Java ideal dead?

I feel that while I love J2ME and Java it's hypocritical of them to have two APIs for Java. Java was designed with "One code, many platforms" in mind, and now it's more like "One API for every OS, and one API for everything smaller than a netbook."…
William
  • 8,630
  • 23
  • 77
  • 110
7
votes
2 answers

Is it safe to distribute tools.jar along with a Java application bundle?

Although tools.jar is not a component in JRE, but it comes with all major implementations of JDK such as Oracle JDK and OpenJDK. Not being standard component of JRE means that when I distribute a Java application which uses tools.jar, I have to…
user972946
7
votes
3 answers

rt.jar com.sun.istack.internal packages

jre comes with many libraries in rt.jar one of which is com.sun.istack.internal*. I needed the documentation of com.sun.istack.internal.Nullable(which I found being used by google in its CacheBuilder) and first I thought was to go to docs.oracle.com…
mawia
  • 9,169
  • 14
  • 48
  • 57
7
votes
1 answer

How do I subscribe to supplementary server channel to install sun jdk 6 on RHEL 4.x

I want to install sun jdk 6 on RHEL 4.x using yum install java-1.6.0-sun-devel but found that I have to subscribe to supplementary server channel. How do I do that? Thanks in Advance!
mssrivatsa
  • 343
  • 1
  • 3
  • 10
6
votes
2 answers

Where can I get the source of packages start with `sun` in JDK?

I'm learning java nio, and found the implementation classes are under sun.nio, which seems not provide sources in the jdk1.6/src.zip. Is there packages open source? And where to find the sources of them?
Freewind
  • 193,756
  • 157
  • 432
  • 708
6
votes
3 answers

com.sun.awt package usage

I found a java code and want to use it in my project. It contains these imports that my JDK does not have : import com.sun.awt.AWTUtilities; import com.sun.jna.Native; import com.sun.jna.platform.WindowUtils; I referred to sun site and found this…
sajad
  • 2,094
  • 11
  • 32
  • 52
6
votes
4 answers

Are there reliable alternatives to Sun's JVM for desktop & enterprise development?

With the recent announcements from Oracle side, we have started to work on a plan for phasing out migration from the Sun JVM to the whatever reliable and free alternative we will end up with. Open JDK will obviously become a major option, now that…
mahonya
  • 9,247
  • 7
  • 39
  • 68
6
votes
2 answers

unable to import org.sun.management.OperatingSystemMXBean in java class?

I see the org.sun.management in JRE System library but I am unable to import in my eclipse. Any reasons why it is allowed. even maven compilation fails here are the screenshots. I am using Java 8. I am trying to do this: if (operatingSystemBean …
brain storm
  • 30,124
  • 69
  • 225
  • 393
6
votes
2 answers

Source for sun.awt.AppContext and others?

I attached the src.zip that came with my JDK, but it seems to be missing a few files. It's as if I don't have any of the sun.*; packages. I would understand if they maybe got changed out for java.awt.AppContext, but that doesn't exit. I found…
Vince
  • 14,470
  • 7
  • 39
  • 84
1
2
3
15 16