Archive for February 8th, 2010

How to Zip and Unzip files in UNIX

Monday, February 8th, 2010

Here is how to Zip and Unzip files in UNIX

  • unzip myFile.zip - This command will uncompress compressed files with the .zip extension.
  • tar xvf myFile.tar - This command will uncompress compressed files with the .tar extension.
  • gunzip myFile.gz           - This command will uncompress compressed files with the .gz extension.

How to install JavaFX on Linux server

Monday, February 8th, 2010
Installing the JavaFX SDK on Ubuntu Linux or OpenSolaris
  1. Access the URL http://java.sun.com/javafx/downloads/  and Download  JavaFX 1.2.3 SDK for Linux platformon your local machine 
  2. And Upload by using ftp or file manager under the  /usr/local directory
  3. cd  /usr/local
  4. chmod a+x javafx_sdk-1_2-linux-i586.sh
  5. sh javafx_sdk-1_2-linux-i586.sh
  6. Then it ask the yes or no then enter the "yes" means accept the license terms.
        
    The shell script installs the JavaFX SDK in the current directory. 
  7. Then create link 
  8. root@server[]# ln -s /usr/local/javafx-sdk1.2/ javafx
  9. root@server[] export JAVAFX_HOME=/usr/local/javafx
  10. root@server[]# export PATH=$PATH:/usr/local/javafx/bin
  11. Then you can check it javafx  installed or not by using the command
  12. root@server[]# which javafx

    /usr/local/javafx/bin/javafx

  13. root@server[]#   javafx -version

    javafx 1.2.3_b36

  14. For information about samples and documentation in the SDK, see the README file in the top level of the SDK directory.
  15. Done