y****e 发帖数: 1012 | 1 Debian wheezy, openjdk
调用org.apache.collections我安装了相应的deb,
include one jar in /usr/share/java/, then resolve successfully!
但是 cannot resolve java.io.File?
问下大家是不是 我 配置 哪里 有问题?
谢谢~~ |
h**********c 发帖数: 4120 | 2 file is 1.7
you jre or jdk is probably 1.6 |
y****e 发帖数: 1012 | 3 thanks,
should i try download sun java instead of openjdk, would eclipse
automatically update lib path or I have to do it manually?
thx
【在 h**********c 的大作中提到】 : file is 1.7 : you jre or jdk is probably 1.6
|
h**********c 发帖数: 4120 | 4 while, first updatedb (yum install mlocate)
locate java
try to find which java you installed.
getenv
which java
I am not familiar with debian. These are RHL style command.
In Eclipse there are options to select jre and javac. |
y****e 发帖数: 1012 | 5 thank man!
【在 h**********c 的大作中提到】 : while, first updatedb (yum install mlocate) : locate java : try to find which java you installed. : getenv : which java : I am not familiar with debian. These are RHL style command. : In Eclipse there are options to select jre and javac.
|
r*****l 发帖数: 2859 | 6 Frankly, I never rely on distro's package manager to install java, tomcat,
eclipse, etc.
I always download distro independent versions and install them manually.
【在 y****e 的大作中提到】 : Debian wheezy, openjdk : 调用org.apache.collections我安装了相应的deb, : include one jar in /usr/share/java/, then resolve successfully! : 但是 cannot resolve java.io.File? : 问下大家是不是 我 配置 哪里 有问题? : 谢谢~~
|