Powered By

Powered by Blogger

Tampilkan postingan dengan label Java. Tampilkan semua postingan
Tampilkan postingan dengan label Java. Tampilkan semua postingan

Kamis, 31 Maret 2011

Install Java In Ubuntu 11.04 Natty Narwhal Via Repository

I've upgraded to Ubuntu 11.04 on my netbook a while back and as usual, I can't install Java the "official" way because the Ubuntu 11.04 Partner repository is not yet ready (it's usually available once the final Ubuntu version is released).

So what are the options for installing Java in Ubuntu 11.04 if you upgrade before the final version is released? You can download it from its website and install it manually and/or use the JDK updater script provided by Bruce Ingalls - but there are actually 2 much easier to use alternatives. Read on!


1. Install Java (JRE / JDK and the Java Plugin) In Ubuntu 11.04 Natty Narwhal using the Ubuntu 10.10 Partner repository


Press ALT + F2 and enter the following:
gksu /usr/bin/software-properties-gtk

Then, on the "Other software" tab click "Add" and add the following:
deb http://archive.canonical.com/ubuntu maverick partner

Now reload the software sources and search for "sun jre" (or "sun jdk" if you want to install Java JDK) in the Ubuntu Software Center.

If you want to install Java JRE and the Java plugin via command line, copy/paste the following command in a terminal:
sudo apt-get install sun-java6-jre sun-java6-plugin

For JDK, use:
sudo apt-get install sun-java6-jdk


2. Install Java in Ubuntu 11.04 via PPA


There is another way to install Java in Ubuntu 11.04 Natty Narwhal: via a repository provided by lffl.org.

Add the PPA and install Java in Ubuntu 11.04 using the following commands:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin

For JDK, use:
sudo apt-get install sun-java6-jdk


Thanks to lffl.org for the Ubuntu 11.04 Java PPA!

Sabtu, 30 Oktober 2010

Java (JDK) Updater - Script To Update The Java (JDK) Paths After Manual Installation

Ubuntu is kind of slow at updating JDK in the official repositories. And not only that but if you've used Ubuntu 10.10 Maverick Meerkat before the final release, you probably know that Java has only been uploaded to the Ubuntu Partner repository a few days before the final release so you could either use the Ubuntu 10.04 repository or manually install Java.

When you manually install JDK, you have to update the paths to get it to work. For this, you can use a script created by WebUpd8 reader Bruce Ingalls (this is actually a new version as we've already wrote a while back about this script) which uses Zenity and can easily update the Java (JDK) paths - all you have to do is select the folder where you've installed Java and the script will do the rest.


The script only works for Ubuntu (10.04 and 10.10) and I've packages the script in a .deb file which is available in the WebUpd8 PPA so you can install it using the following commands (for Ubuntu 10.04 and 10.10):
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install update-java

Or you can manually download the .deb (works with both Lucid and Maverick)

Once installed, you can launch it via the Applications > Other > Update Java menu item.

If you want to use the script without adding the PPA, you can download it from HERE.

In case something doesn't work, you can create a bug report using the following command:
bash -x /usr/bin/update-java > ~/bugreport.txt 2>&1


How to use install the latest Java (JDK) manually (this is just an example for the latest Java JDK):


Firstly, you'll have to download Java (JDK) from HERE. Then you'll have to move the .bin file to /usr/local/ and run it:

sudo mv jdk-6u22-linux-i586.bin /usr/lib/jvm/
sudo chmod +x jdk-6u22-linux-i586.bin
sudo ./jdk-6u22-linux-i586.bin

Then simply run the Update Java script - either from the menu (if you've installed the .deb) or manually run the script and select the folder where Java JDK has been installed and select the folder where you've installed JDK manually (in my example it should be /usr/local/jdk1.6.0_22).


Thanks to Bruce Ingalls for the script!

Jumat, 01 Oktober 2010

Sun Java Finally Uploaded To The Ubuntu 10.10 Maverick Official Partner Repository

Until today, to install Java in Ubuntu 10.10 Maverick Meerkat, you'd either have to switch to the Lucid Partner repository or use a PPA. That's not required because Sun Java (6.21) has finally been uploaded to the Ubuntu 10.10 Maverick Meerkat official Partner repository.

To install (Sun) Java in Ubuntu 10.10 Maverick Meerkat you'll have to enable the Partner repository: open Ubuntu Software Center and go to Edit > Software Sources, then on the "Other Software" enable the Partner repository (it should be the first on the list; it looks like this: "http://archive.canonical.com/ubuntu maverick partner".).

Then, click "Close" and when asked, click "Reload" and finally install Sun Java6 in Ubuntu 10.10 by searching for it in Ubuntu Software Center.

Sabtu, 11 September 2010

How To Install Java (JRE And Java Plugin) In Ubuntu 10.10 Maverick Meerkat [Repository]

Java is usually available for Ubuntu users in the Partner repository. But it's not there for Ubuntu 10.10 Maverick Meerkat.

Sun Java wasn't available in the Ubuntu official Partner repository but it has just been uploaded and you can now install Java in Ubuntu 10.10 Maverick Meerkat using this repository. Read on!


Install Java (JRE and the Java Plugin) In Ubuntu 10.10 Maverick Meerkat


To install Java in Ubuntu 10.10, follow these steps:

1. Press ALT + F2 and enter this:
gksu /usr/bin/software-properties-gtk

2. Then go to the "Other Software" tab and the first repository on the list should be "http://archive.canonical.com/ubuntu maverick partner" - enable this repository (both lines). Then click "Close" and when prompted, click "Reload".

3. Then simply search for "sun java" in Ubuntu Software Center and install JRE and the Java plugin, or install it from a terminal using the following command:
sudo apt-get install sun-java6-jre sun-java6-plugin

//The post has been updated with new instructions since Sun Java is now available in Ubuntu 10.10 Maverick Meerkat!

Kamis, 13 Mei 2010

Automatically Rename Your TV and Anime Shows And Fetch Subtitles Using FileBot [Windows, Linux, MacOS X]

filebot linux

FileBot is a JAVA application for renaming your TV shows and anime (the name is auto-detected), download subtitles for your TV shows or simple file verifications.

Being a JAVA app, FileBot runs on Windows, Linux and Mac OS X.


Besides renaming your TV shows, FileBot can also:
  • Fetch episode lists from TVRage, AniDB, TV.com, IMDb or TheTVDB
  • Reverse rename files using internal history or the original torrent file
  • Download subtitles from OpenSubtitles, Subscene, Sublight or SubtitleSource
  • Auto-extract zip and rar archives
  • It comes with an integrated subtitle viewer for srt, ass and sub files
  • Easily create and verify sfv, md5 and sha1 files
  • Aware of checksums that are embedded in the filename
  • Directly compare two or more directory trees


FileBot doesn't even require installing and you can run it directly from its website. But you can run it locally (on your computer) if you want to, just make sure to also download Mediainfo native libraries for your operating system.

In Ubuntu, you can install Mediainfo via a PPA (the following command is for Ubuntu 9.10 Karmic Koala and 10.04 Lucid Lynx):
sudo add-apt-repository ppa:shiki/mediainfo
sudo apt-get update && sudo apt-get install mediainfo

For older Ubuntu version, see the details for adding the PPA, here.


Once you install MediaInfo, download the FileBot executable .jar file from its website. Once downloaded, to run the .jar file in Ubuntu right click it, select "Properties" and on the "Permissions" tab, check the "Execute: Allow executing the file as program" box, then right click the .jar file again and select "Open with Sun Java 6 Runtime".



[Screenshot credits: FileBot website - I have absolutely no TV show on the computer where I'm typing this; thanks to ubuntublog.ch for the tip!]

Selasa, 20 April 2010

Java Update Script For Ubuntu - Version 0.2b

Bruce Ingalls sent us a new and much improved version of his Java Update script for Ubuntu. The script uses Zenity for a GUI so it's very easy to use.

Initially the script only updated JDK (which included JRE), but now can also update Java Runtime Environment separately.


To use it, download JDK or JRE from HERE (by the way, there's a new version available!), extract and install it, then run this script to set the correct paths across your system.

Download and run Update Java script:
sudo apt-get install zenity
wget http://webupd8.googlecode.com/files/update-java
chmod +x update-java
sudo ./update-java

Or manually download it from HERE.


Credits for the script and many thanks: Bruce Ingalls.

Senin, 01 Februari 2010

Sikuli Lets You Program Your Computer Using Screenshots [Windows, Linux, Mac OS X]

Sikuli is a really interesting cross-platform (works on Windows, Linux and Mac OS X) application which automates tasks using screenshots. That means that you can basically program your computer to perform certain actions using scripts made of screenshots. You can also send certain keyboard keys, enter text and so on. Here is an example of a Sikuli script:


sikuli script

Sikuli Script automates anything you see on the screen without internal API's support. You can programmatically control a web page, a desktop application running on Windows/Linux/Mac OS X, or even an iphone application running in an emulator.


Sikuli seems like an amazing idea, however I've read that on Windows it worked for some while other had issues with it; the developers posted Mac OSX screenshots so I think Mac users will not have any issues getting it to work. I for one have tried it in Linux but it doesn't want perform any actions I program it to do. But maybe I did something wrong so I invite you to test it and share your opinion. Please note that to run Sikuli in Linux, you need to install Java6 and libcv1 (for Ubuntu: sudo apt-get install libcv1).


If you haven't quite understand what Sikuli is about, take a look at the following screencast:



Download Sikuli

Jumat, 04 Desember 2009

Jajuk Cross Platform Music Player, Updated To Version 1.8.3

jajuk

Jajuk, a fully-featured cross-platform (works on Windows, Linux and Mac OS X) music player written in Java was recently updated to version 1.8.3 which is basically a bug-fixing release, but since a lot of versions were released since we last posted about Jajuk, I though I'd update you with it's current features and so on.

Jajuk supports most audio formats (MP3, OGG, FLAC, AAC, WMA, APE, etc...) and among it's current features are:

  • Advanced rating system : banning system, clever rating based both on user preference (set in one click) and automatic analysis
  • Find duplicate tracks: inbuilt feature to find duplicate tracks across your audio collection
  • Allows to quickly copy a selection of tracks to an external device
  • File management: cut/copy/past/rename; create/delete files/directory in the files perspective from within Jajuk
  • "Shuffle" smart function to play shuffled selection, track by track, inside an album or album by album
  • "Best Of" smart function to play your favourite tracks
  • "Novelties" smart function to play your collection newest albums
  • Devices synchronization: unidirectional or bidirectional, full or partial
  • Unmounted devices support: navigate into unmounted devices (CDs for example) to get a complete view of your collection at any time (nice feature if you have plenty of music CDs)
  • Most tags supported (Ogg,ID3 V1/V2, WMA, Flac...) / tag editor and online(CDDB) retagging
  • Dockable perspectives and views
  • Full keyboard controls
  • Cllection charts and stats
  • Wikipedia view displays artist discography
  • Artist biography from Artist view
  • Visual catalog of all albums by covers
  • Skins!

And these are just a few of the Jajuk features!

You can even try the live version before you download it.

About the memory usage, oh well, since it's a Java application with a lot of features, don't expect it to use few system resources, especially if you have a large music collection. On my PC with ~40.000 songs, it needs about ~127 MB of RAM:

jajuk

Download Jajuk (packages available for: Windows (win32), Linux (.rpm and .deb), Mac OSX and Java cross-platform installer).

Selasa, 03 November 2009

Cross-Platform Remote Control For Transmission: transmission-remote-java [Bittorrent]

transmission-remote-java

transmission-remote-java is a µTorrent like cross platform remote control for the Transmission BitTorrent client (transmission-daemon).


Features:

* Supports all or almost all the remote functionality of Transmission.
* Optional add .torrent prompt to choose wanted files and priorities, set destination directory and peer limit.
* Start, stop, remove, delete,recheck, move torrents.
* Filtering and sorting.
* Show torrent file metainfo (avilable also as external tools).
* Authentication support.
* Proxy support.
* Country of peers displayed by text and flag using GeoIP.
* Multiple settings profiles.
* Backwards compatible with older versions of Transmission.
* More!

Download transmission-remote-java

Selasa, 20 Oktober 2009

Edit Photos And Create Icons With HeliosPaint [Multi-Platform]


HeliosPaint is a complete program of drawing and image editing with a wide palette of tools to unleash your creativity. You can use it to create icons, edit photos and so on. Being a Java application, it is cross-platform, working on Windows, Linux and Mac OSX.

Draw lines or hand lines to create polygons with unbelievable shapes and paint the inside with a click, write or draw with spray are the basic utilities. But HeliosPaint has more. We can cut a piece of the image in the form of a rectangle or other geometric shape or automatically select a shape with the magic wand tool. And as for the retouching of photographs, HeliosPaint can rotate or deform giving perspective, and even add filters to change colors, appear to blur or painted in oil.

Among HeliosPaint features are:

  • Curved, straight and freehand lines with choice of width, dash pattern, line joint and arrow heads.
  • Paint Brush with adjustable size and edge feathering.
  • Eraser with adjustable size and edge feathering.
  • Spray Can with adjustable size and edge feathering or global spray option.
  • Paint Can with local and global replace. Colour bleed sensitivity allows nearby similar colours to be painted.
  • Shape tool for creating freehand, regular polygon, star, moon and heart shapes.
  • Text entry with choice of font, style, underline and rotation.
  • Image filters: RGB levels, HSB levels, contrast, gamma, invert, gray, black and white, colour filter, sharpen, blur, edge feathering, edge detection, oil painting effect, emboss, unsharp mask, chrome, sepia tone, threshold.
  • Image colour and transparency adjustment by flat, round, rectangular and 'fit to shape' gradient patterns. This allows areas of the image to be darkened, brightened and colour enhanced.
  • Image flip, scale up, scale down, rotate, shear, perspective view.
  • Text and image paste from clipboard. Image and image segment copy/cut onto clipboard.
  • Scissors, lasso and wand for selecting and moving an area of the image. Sensitivity of lasso and wand is adjustable. Transparency of overlaid area is adjustable. Scissors can cut out various shapes including regular polygons, stars and hearts. When part of the image is selected, all paint operations apply only to that area.
  • Save selected area as transparent gif or transparent png file.
  • Supports images up to 12 megapixels in size (a high end computer is recommended for working with very large images)

The application is capable of opening and saving images in popular formats: BMP, GIF, JPG / JPEG, PCT / PICT, PCX, PGM, PNG, PPM, PSD, RAS, TGA, TIF / TIFF, WBMP and XPM and even offers the possibility to export the image to PDF format.

Obviously, it does not have anywhere near the features of the almighty Photoshop or GIMP, but it can serve well for small touch-ups or to prepare your images, for example, to upload them to a blog, a social network or an Internet forum.

Download HeliosPaint | via bitelia

Rabu, 23 September 2009

Portable Application For Basic Text Editing, To Do Lists, RSS Reading, and More [ Windows, Linux ]

Makagiga is a free, easy-to-use, cross-platform java application for doing a variety of tasks, such as text editing, todo listing, RSS reading, and simple image viewing. Plugins are used to implement its various capabilities. It can perform file import/export, backing up files, Internet searching (Google, Wikipedia), and more.



Installing plug-ins in Makagiga is very easy:

All you have to do is download a plugin you want to install, create the plugins directory in the folder where Makagiga is installed:

Linux: /usr/share/makagiga/plugins
Windows: C:\Program Files\Makagiga\plugins

then unzip the plugin you downloaded and finally, restart Makagiga.


Makagiga is portable, open-source and works for Windows and Linux (.deb and .rpm files available) - Download Makgiga.

Minggu, 23 Agustus 2009

JDownloaded 0.7 (7.569) Released

jdownloader 0.7 (7.569)

JDownloader, the open source, platform independent Rapidshare, Megaupload (and others) download application, has been updated to version 0.7 (7.569).

JDownloader simplifies downloading files from One-Click-Hosters like Rapidshare.com or Megaupload.com - not only for users with a premium account but also for users who don't pay. It offers downloading in multiple paralell streams, captcha recognition, automatical file extraction and much more. Of course, JDownloader is absolutely free of charge. Additionally, many "link encryption" sites are supported - so you just paste the "encrypted" links and JD does the rest.


The most important, noticeable change is that JDownloader 0.7 (7.569) is a lot faster than the previous versions. Another interesting change is that now it supports anti-captcha for more than 60 websites. Read on to see a list of other important changes.

What's New in 0.7

  • After lots of complains about performance we redesigned the gui to be much faster.
  • Better Browser integration - The famous Firefox Extension Flashgot now supports JDownloader and is bundled together with it.
  • New, and most important, faster themes. Install Substance Themepack to get more Style and Themes.
  • Updated JDChat, Scheduler, LanguageFileEditor.
  • You can now continue downloading while updating.
  • The new External Interface provides an API for Websites to interact with JDownloader.
  • More supported Hosters and Decrypter than ever before.

[thanks Adrian for the tip]