LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 904|回复: 2

为什么这两个命令执行的结果不一样?

[复制链接]
发表于 2008-3-16 09:47:01 | 显示全部楼层 |阅读模式
~>java
bash: wine: command not found
~>`which java`
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)

where options include:
    -d32          use a 32-bit data model if available

    -d64          use a 64-bit data model if available
    -client          to select the "client" VM
    -server          to select the "server" VM
    -hotspot          is a synonym for the "client" VM  [deprecated]
                  The default VM is client.


=========================
我原来用wine调用过windows下的java,可是wine都卸载了还不行。。。
发表于 2008-3-16 14:50:40 | 显示全部楼层
也许是设了alias,看看alias命令的输出
回复 支持 反对

使用道具 举报

发表于 2008-3-16 14:54:30 | 显示全部楼层
直接安装linux下的不就好了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表