Here's some in-a-nutshell information on how to deal with Java on Ubuntu server 8.10:
To find out what's on an Ubuntu system for Java:
$ update-java-alternatives -l
Running
$ java -version
shows that the OpenJRE 6 is installed by default. Aha, it's a JRE. To install and probably run Glassfish, however, you need a JDK. Off we go and install it with:
$ sudo apt-get install sun-java6-jdk
(and get demo, doc, source, too, while you're at it)
Ok, but now, how to make this JDK the default Java on the machine. Some tools are available, fortunately, and without much background research, we make use of them to make the switch:
$ sudo update-java-alternatives -s java-6-sun
Now, calling
$ java -version
shows Sun's java to be active.
Now you can download Glassfish, install and configure it. That's very well documented already.
Articles about technology, systems architecture, systems design, lean/agile organizations, and the like.
Subscribe to:
Post Comments (Atom)
How to solve the "volume doesn't distinguish between upper- and lowercase letters" with an Apple Photos library?
Preface Although this article's title focuses on the problem I had with the Photos library, I will start with the initial problem statem...
-
How do Azure Service Fabric (ASF) and CloudFoundry (CF) compare? This is by no means neither an authoritative nor a complete comparison of...
-
Here are my favorite IT and IT related books, mostly geared towards Software Developers and Architects: Programming The Clean Coder: A ...
-
I've recently read the Web 2.0 article from Tim O'Reilly . I fully agree to everything he writes there, and it is definitely true fo...
No comments:
Post a Comment