| RSS

< Browse > Home /

How to Run Java .jar File in Ubuntu

Java logoImage via Wikipedia

You can run a .jar file by typing this command:

java -jar java_jar_file.jar

Common mistake is typing the command line without -jar option which produces something like:


MissingFieldException[ The following required field is missing from the launch file: ]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Reblog this post [with Zemanta]

< Browse > Home /

Dropbox for File Synchronization

I found that Dropbox is a good file synchronization for my desktop. It is useful to keep my work always up-to-date either in my office desktop or my own PC at home. It's not just that, you can use it for other purpose like this or this.

To install it on Ubuntu, just go to this link and select deb package corresponding to your system, either 32bit or 64bit Ubuntu.
Reblog this post [with Zemanta]

< Browse > Home /

avast! Antivirus for Ubuntu

Logos II -- Which one is your favorite?


Virus attacks are common in Windows systems and happen less in Linux systems. But, for prevention, you can install an antivirus in Ubuntu just in case of bad things happened.

One of antivirus that I installed on my Ubuntu system is avast! Antivirus. You can install it with this command:


wget http://files.avast.com/files/linux/avast4workstation_1.3.0-2_i386.deb && sudo dpkg -i avast4workstation_1.3.0-2_i386.deb

Then you can access it in Accessories → avast! Antivirus.

Reblog this post [with Zemanta]

< Browse > Home /

CHM reader untuk Ubuntu

Ada berbagai jenis CHM (Microsoft Compiled HTML Help) reader yang tersedia untuk sistem operasi Ubuntu, seperti gnochm, xchm, kchmviewer, dan sebagainya. Dari berbagai pilihan tersebut, saya lebih suka menggunakan xchm untuk membaca file Compiled HTML Help dalam Ubuntu.

Ubuntu menggunakan desktop Gnome. Sebenarnya, gnochm lebih didukung oleh Gnome. Namun saya kurang suka menggunakan gnochm karena dari pengalaman saya font yang ditampilkan tidak proporsional. Kadang terlalu besar, kadang terlalu kecil. Selain itu, seringkali gnochm mengalami crash dan aplikasi tertutup dengan paksa.

Saya kemudian mencoba aplikasi CHM reader lain, yaitu xchm. Aplikasi ini lebih bagus dalam menampilkan file CHM dan lebih nyaman digunakan untuk membaca file CHM.

Jika tertarik, anda bisa memasangnya di sistem Ubuntu dengan cara mengetikkan perintah ini di terminal:

sudo apt-get install xchm

Selamat membaca! :-)