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

Subclassing sun.* class in same package gives IllegalAccessError

Foreword: What am I going to show you is WRONG and I'm well aware of how bad I am for breaking encapsulation by doing such foolish thing. I'm not trying to solve any more general I/O problem. It's just an experiment. I'm trying to sub-class…
woky
  • 4,686
  • 9
  • 36
  • 44
5
votes
1 answer

Why does jProfiler show Unsafe.park/unpark as using CPU cycles?

We're running a service using quite a lot of ExecutorServices. When profiling the service using jProfiler 7.1 (sampling, Runnable), we can see that sun.misc.Unsafe.park + unpark is currently the calls using most of the CPU time in the…
R4zorax
  • 504
  • 3
  • 10
5
votes
1 answer

OutOfMemoryError - how to kill the JVM after the hprof created

I want my java to exit when catching OutOfMemoryError, I'm using the -XX:+HeapDumpOnOutOfMemoryError to dump hprof file. I can't use kill -9 because the JVM needs to be up while dumping the hprof file, is there any way to stop the JVM after…
shaiis.com
  • 244
  • 4
  • 10
5
votes
1 answer

Where do I download javacomm for linux now that Oracle decommissioned Suns download site?

I cannot for the life of me figure out where exactly I can download the javacomm library. There is a download link on this page http://www.oracle.com/technetwork/java/index-jsp-141752.html that takes me to a page that states: The Sun Download…
lukejduncan
  • 121
  • 4
5
votes
3 answers

Stack Overflow on SUN Sparc

/* attack.c */ /* compile: cc -o attack attack.c */ #include #include /* lsd - Solaris shellcode */ static char shell[] = /* 10*4+8 bytes */ "\x20\xbf\xff\xff" /* bn,a */ "\x20\xbf\xff\xff" /* bn,a …
Arlen
  • 6,641
  • 4
  • 29
  • 61
5
votes
1 answer

package sun.security.ec does not exist

I'm trying to use sun.security.ec module in Java on Win7. When trying to compile, it gives this error: package sun.security.ec does not exist Where does sun.security.* reside in terms of a .jar file? Where can I download the .jar file?
trigger
  • 141
  • 1
  • 2
  • 3
5
votes
1 answer

Java WS Authenticator in a multi-threaded environment

At the moment I am struggling with a bug in Sun's class java.net.Authenticator. It seems that the Authenticator class has a system wide static Authenticator. This results in the following problem in my multi-threaded application. Thread 1 -…
Kros
  • 848
  • 1
  • 10
  • 24
5
votes
1 answer

Sun Java jstat does not work .. sometimes !

I frequently use jstat to obtain GC related statistics. However, there are times when I simply cannot obtain any of the statistics from a JVM. It just says that it cannot find the process id, even though its the correct id. Digging slightly deeper,…
souser
  • 5,868
  • 5
  • 35
  • 50
5
votes
1 answer

ThreadLocal pondering (Or: Is sun's javadoc wrong?)

I've been reading about ThreadLocal, trying to understand how it works and why we need it. So far what I've been able to learn is the following: ThreadLocal class allows to hold 1 instance of an object at the thread level The instance is created by…
Maxim Veksler
  • 29,272
  • 38
  • 131
  • 151
5
votes
1 answer

What is the purpose of sun.jvm.hotspot.HelloWorld?

I just stumbled upon the class sun.jvm.hotspot.HelloWorld. The source of this class is present since Java 6. The latest version can be found here. Does someone know the purpose of this class? Is this some kind of developer playground class while…
Martin Seeler
  • 6,874
  • 3
  • 33
  • 45
5
votes
1 answer

What is the cause of JVM exit code 1073807364?

I've built a RCP-based application, and one of my users running on Windows XP, Sun JVM 1.6.0_12 had a full application crash. After the app was running for two days (and this is not a new version or anything), he got the nice gray JVM force exit…
sharakan
  • 6,821
  • 1
  • 34
  • 61
5
votes
5 answers

which non-sun java(s) can i use to run Clojure?

I'm automating the process of building development-VMs for a project and having a really hard time getting sun-java-6 to install in a non-interactive environment because it really wants to ask about licenses. what are my other options are far as…
Arthur Ulfeldt
  • 90,827
  • 27
  • 201
  • 284
5
votes
2 answers

Redirect output to different files for sun grid engine array jobs (SGE)

I am trying to execute a sun grid engine array job and I need a different output file per task: test.1.out test.2.out,etc.. If I write my script like this: #!/bin/bash #$ -S /bin/bash #$ -N name #$ -t 1-4000 #$ -o…
user1297712
  • 73
  • 2
  • 7
5
votes
4 answers

dTrace scripts and tools

I've recently began using dTrace and have noticed just how awesome it is. Its the perfect tool for profiling without placing the burden on programmers to set up hundreds of probes in their applications. I've found some nice one liner and sample…
Robert Gould
  • 68,773
  • 61
  • 187
  • 272
5
votes
2 answers

Diffrence between JRockit in BEA Weblogic and Sun Java Implementation

We have different JRE implementation from 2 vendors one is Jrockit from BEA and other is from Sun. In my project the document clearly states to use the Jrockit implementation from BEA. So i want to know the differences and upperhand of Jrockit over…
Punith Raj
  • 2,164
  • 3
  • 27
  • 45
1 2
3
15 16