Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #25835 > unrolled thread
| Started by | Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> |
|---|---|
| First post | 2011-02-08 22:16 +1300 |
| Last post | 2011-02-08 02:07 -0800 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
Works for me Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-08 22:16 +1300
Re: Works for me Paul Cager <paul.cager@googlemail.com> - 2011-02-08 02:07 -0800
| From | Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> |
|---|---|
| Date | 2011-02-08 22:16 +1300 |
| Subject | Works for me |
| Message-ID | <iir1l0$7os$1@lust.ihug.co.nz> |
root@theon:~ # dpkg-query -s sun-java6-jdk
Package: sun-java6-jdk
Status: install ok installed
Priority: optional
Section: non-free/java
Installed-Size: 59940
Maintainer: Debian Java Maintainers <pkg-java-
maintainers@lists.alioth.debian.org>
Architecture: amd64
Source: sun-java6
Version: 6.22-1
Provides: java-compiler, java-sdk, java2-compiler, java2-sdk, java5-sdk,
java6-sdk
Depends: sun-java6-bin (>= 6.22-1), libc6, libx11-6
Pre-Depends: debconf (>= 0.5) | debconf-2.0
Suggests: sun-java6-demo, openjdk-6-doc, sun-java6-source
Description: Sun Java(TM) Development Kit (JDK) 6
The JDK(TM) is a development environment for building applications,
applets, and components using the Java programming language.
.
The JDK includes tools useful for developing and testing programs
written in the Java programming language and running on the Java
Platform.
.
NOTE: You must accept Sun's EULA prior to successfully installing
this package
Homepage: https://jdk-distros.dev.java.net
ldo@theon:java_try> cat test.java
class test
{
public static void main(String[] args)
{
System.out.print("Got...");
double c = 2.2250738585072011e-308;
System.out.println(" here.");
} /*main*/
}
ldo@theon:java_try> javac test.java
ldo@theon:java_try> java test
Got... here.
[toc] | [next] | [standalone]
| From | Paul Cager <paul.cager@googlemail.com> |
|---|---|
| Date | 2011-02-08 02:07 -0800 |
| Message-ID | <4f6864f9-6dee-41c3-becb-9a07b75615d8@q14g2000vbf.googlegroups.com> |
| In reply to | #25835 |
On Feb 8, 9:16 am, Lawrence D'Oliveiro <l...@geek- central.gen.new_zealand> wrote: > root@theon:~ # dpkg-query -s sun-java6-jdk > Package: sun-java6-jdk > Status: install ok installed > ... > Architecture: amd64 That proves that you have installed Sun's Java, but does not mean that you are using it by default. A "java -version" (or an "update-java- alternatives") would have helped prove your point.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web