【发布时间】:2010-06-11 02:08:33
【问题描述】:
我想知道,bash 文件如何包含负责安装 netbeans IDE(众所周知是基于 Java 的程序)的 Java 代码? 这是netbeans的情况:
$ file netbeans-6.8-ml-java-linux.sh
netbeans-6.8-ml-java-linux.sh: POSIX shell script text executable
$ more netbeans-6.8-ml-java-linux.sh
#!/bin/sh
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
这怎么会发生?
【问题讨论】: