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

Difference com.sun.jersey and org.glassfish.jersey

What is the difference between com.sun.jersey and org.glassfish.jersey? Currently I have my REST service working on com.sun.jersey and I want to write tests, but I can't find a good tutorial for this (nothing seems to work). However, I can find good…
user1226868
  • 1,708
  • 5
  • 18
  • 29
81
votes
10 answers

The following artifacts could not be resolved: javax.jms:jms:jar:1.1

I am trying to compile a maven project, but I systematically get the following error message: [ERROR]Failed to execute goal on project ...: Could not resolve dependencies for project ...:war:1.0.0: The following artifacts could not be resolved:…
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
44
votes
3 answers

Alternative to sun.misc.Signal

I started research to find an alternative to the sun.misc.Signal class, because it could be unsupported in upcoming JDKs (we're currently working on 1.6). When I build the project I get: warning: sun.misc.SignalHandler is Sun proprietary API and…
plancys
  • 3,833
  • 2
  • 19
  • 26
36
votes
4 answers

Where can I find old versions of the JDK and JRE?

To test compatibility, I need to find old versions of the JRE and JDK. Where can I find download links to these files?
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
34
votes
10 answers

Why are so many new languages written for the Java VM?

There are more and more programming languages (Scala, Clojure,...) coming out that are made for the Java VM and are therefore compatible with the Java Byte-Code. I'm beginning to ask myself: Why the Java VM? What makes it so powerful or popular…
sdudo
  • 1
  • 2
  • 4
33
votes
4 answers

Why does the Sun JVM continue to consume ever more RSS memory even when the heap, etc sizes are stable?

Over the past year I've made huge improvements in my application's Java heap usage--a solid 66% reduction. In pursuit of that, I've been monitoring various metrics, such as Java heap size, cpu, Java non-heap, etc. via SNMP. Recently, I've been…
Stu Thompson
  • 38,370
  • 19
  • 110
  • 156
30
votes
7 answers

It is a bad practice to use Sun's proprietary Java classes?

The compiler display warnings if you use Sun's proprietary Java classes. I'm of the opinion that it's generally a bad idea to use these classes. I read this somewhere. However, aside from the warnings are there any fundamental reasons why you should…
JARC
  • 5,288
  • 8
  • 38
  • 43
29
votes
4 answers

Can standard Sun javac do incremental compiling?

Recently I started to use Eclipse's java compiler, because it is significantly faster than standard javac. I was told that it's faster because it performs incremental compiling. But I'm still a bit unsure about this since I can't find any…
calavera.info
  • 1,170
  • 2
  • 15
  • 30
24
votes
4 answers

Are invisible references still an issue in recent JVMs?

I was reading Java Platform Performance (sadly the link seems to have disappeared from the internet since I originally posed this question) and section A.3.3 worried me. I had been working on the assumption that a variable that dropped out of scope…
Bill Michell
  • 8,240
  • 3
  • 28
  • 33
21
votes
1 answer

Accessing com.sun.tools.javac.util from Java 9

I'm trying to access the List class from com.sun.tools.javac.util. This works fine with Java 8, but when switching to Java 9 I get the following error: Package 'com.sun.tools.javac.util' is declared in module "jdk.compiler", which does not export it…
bramhaag
  • 628
  • 1
  • 9
  • 24
18
votes
1 answer

How can I tell whether Java is Sun / Oracle / OpenJDK?

Possible Duplicate: Which JRE I am using I'm trying to figure out whether the Java installation in my HPC environment is running the Sun JVM, or Oracle, or OpenJDK. Since I don't have administrator access and I didn't install Java, is there a…
Daniel Standage
  • 8,136
  • 19
  • 69
  • 116
16
votes
8 answers

Are there equivalences between Microsoft and Oracle/Sun technologies?

is it possible to say what are the Microsoft equivalents technologies compared to Sun? For example: Microsoft | Oracle/Sun --------------------------------------------------------------- Visual Studio |…
Junior Mayhé
  • 16,144
  • 26
  • 115
  • 161
16
votes
9 answers

How can I suppress java compiler warnings about Sun proprietary API

I'm using the encode() method from the sun.misc.BASE64Encoder package. How do I suppress the compiler warnings that it generates? sun.misc.BASE64Encoder is Sun proprietary API and may be removed in And as a followup, why don't I see this warning…
tomdee
  • 2,319
  • 5
  • 25
  • 39
13
votes
7 answers

What Happened To Java (Specifically The Language)?

Back in 2000 (when .NET was unleashed upon us IIRC) it was an innovative cutting edge language (last time I used it was 2003). From what I read though, Sun has only evolved the language exceedingly slowly. I've even read that where the language has…
Ben Aston
  • 53,718
  • 65
  • 205
  • 331
12
votes
1 answer

Connect to Sun LDAP with ADO

I want to connect (and get user's group) to a Sun LDAP server with a Delphi program. I think ADSI works only with Microsoft LDAP. I try it with ADO, but I can't connect. Can someone show some code how I would do this?
Partizan22
  • 129
  • 3
1
2 3
15 16