由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - one java question under ubuntu
相关主题
How to install Java JDK under ubuntu?Fedora开发队伍看来是乌合之众啊
怎样用vim编译java请教一个基础C++问题 (转载)
Red Hat Enterprise Linux 5.3 发布 支持Core i7弱问编译器是executable吗?
我最近用WPS,比open office强很多啊,要是开发个linux版本的是不是会火?about compiling new glibc/gcc in fc14
shell script questiongij?
其实ibus还行说说理想的编程语言该是啥样子
Oracle 这个死狗,买了 Sun 就来告 Android 侵权 java 了编程语言有两种,拼关键字的,拼标点的
Eclipse for Java和Eclipse CDT的安装问题Mono Wins Product of the Year Award
相关话题的讨论汇总
话题: javac话题: openjdk话题: when话题: ubuntu话题: java
进入Linux版参与讨论
1 (共1页)
f******e
发帖数: 582
1
I am using ubuntu and I try to compile a .java program which has generics,
like “Stack mydata”. When I compile, I got errors like
“generics are not supported..”
When I type “javac –version”, it has “javac 1.6.0_24”. Is this the new
version of javac?
I notice that openjdk-6-jak has been installed. Openjdk-7-jdk is available.
However, when I run “apt-get install openjdk-7-jdk”, it cannot find the
package.
What is wrong? Is it something wrong with my javac? Thanks a lot.
l*********s
发帖数: 5409
2
Stack ? It is a copied code or you own creation? I don't think java
generic supports primitive types like c++ does.
w*r
发帖数: 2421
3

new
.

【在 f******e 的大作中提到】
: I am using ubuntu and I try to compile a .java program which has generics,
: like “Stack mydata”. When I compile, I got errors like
: “generics are not supported..”
: When I type “javac –version”, it has “javac 1.6.0_24”. Is this the new
: version of javac?
: I notice that openjdk-6-jak has been installed. Openjdk-7-jdk is available.
: However, when I run “apt-get install openjdk-7-jdk”, it cannot find the
: package.
: What is wrong? Is it something wrong with my javac? Thanks a lot.

1 (共1页)
进入Linux版参与讨论
相关主题
Mono Wins Product of the Year Awardshell script question
怎样创造一个 segv (转载)其实ibus还行
彻底晕了。Oracle 这个死狗,买了 Sun 就来告 Android 侵权 java 了
求 Lahey fortran compilerEclipse for Java和Eclipse CDT的安装问题
How to install Java JDK under ubuntu?Fedora开发队伍看来是乌合之众啊
怎样用vim编译java请教一个基础C++问题 (转载)
Red Hat Enterprise Linux 5.3 发布 支持Core i7弱问编译器是executable吗?
我最近用WPS,比open office强很多啊,要是开发个linux版本的是不是会火?about compiling new glibc/gcc in fc14
相关话题的讨论汇总
话题: javac话题: openjdk话题: when话题: ubuntu话题: java