How netbeans installation file (bash file) contains Java code?

Posted by Daziplqa on Stack Overflow See other posts from Stack Overflow or by Daziplqa
Published on 2010-06-11T02:08:33Z Indexed on 2010/06/11 2:12 UTC
Read the original article Hit count: 376

Filed under:
|
|
|

Hi folks,

I wonder, how a bash file can contain a Java code that is responsible about the installation of netbeans IDE which is as known is a Java based program? this is the case of 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.

How this can happen?

© Stack Overflow or respective owner

Related posts about linux

Related posts about bash