Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: HOWTO: JBidWatcher

  1. #1
    Join Date
    Apr 2005
    Beans
    1,365
    JBidWatcher is a nice eBay tool for searching, bidding and snipping on eBay, which I came across after some frustration with bidwatcher, availabe from repositories. As the author describes it:
    A Java-based application allowing you to monitor auctions you're not part of, submit bids, snipe (bid at the last moment), and otherwise track your auction-site experience. It includes adult-auction management, MANY currencies (yen, pound, dollar (US, Canada, Australian, and New Taiwanese), Swiss Francs, and euro, presently), drag-and-drop of auction URLs, a unique and powerful 'multisniping' feature, a relatively nice UI, and is known to work cleanly under Linux, Windows, Solaris, and MacOSX from the same binary.
    Official Website: http://www.jbidwatcher.com/

    Requirements: you have to have Sun version of Java.

    1. Download the latest version here

    2. You may have it anywhere. However I crated a directory /usr/local/share/java and copied it there. It's up to you though.

    Code:
    sudo mkdir /usr/local/share/java
    sudo cp JBidWatcher-0.9.9.jar /usr/local/share/java
    3. Make a bash script to run it.
    Code:
    sudo gedit /usr/local/bin/jbidwatcher
    and paste the following:
    Code:
    #!/bin/sh
    java -jar /usr/local/share/java/JBidWatcher-0.9.9.jar
    Make the script executable:
    Code:
    sudo chmod +x /usr/local/bin/jbidwatcher
    You are almost set. Just run from command line
    Code:
    jbidwatcher
    and enter your ebay user name and password.

    4. You can make a .desktop file for JBidWatcher to have it in your menu:

    Code:
    sudo gedit /usr/local/share/applications/jbidwatcher.desktop
    and insert the following text:
    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Name=JBidWatcher
    Comment=Ebay watching and bidding tool
    Exec=jbidwatcher
    Icon=jbidwatch.xpm
    Terminal=false
    Type=Application
    Categories=Utility
    GenericName=JBidWatcher
    I use xfce and I've got menu entry in menu as soon as I created it. I am not sure if it will work in Gnome without activating it in some way.

    Overall it is up to you where to store jar file. The author suggests your home dir, but I like to keep it clean and tidy.

    The site has a Quick Start Guide, available here

    It is my first HOWTO here, so let me know if anything is wrong or unclear. Enjoy your bidding!
    Last edited by foxy123; November 28th, 2005 at 09:53 PM.

  2. #2
    Join Date
    Mar 2006
    Location
    Portsmouth, VA
    Beans
    36
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: JBidWatcher

    This was very helpful.. thank you. Excellent program and very perfect How-to

  3. #3
    Join Date
    Feb 2006
    Beans
    20
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: JBidWatcher

    I get the following errors any help


    tom@tomnix:~/Desktop$ sudo jbidwatcher
    Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
    at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
    at java.awt.Font.tk(libgcj.so.7)
    at java.awt.Font.getPeerFromToolkit(libgcj.so.7)
    at java.awt.Font.<init>(libgcj.so.7)
    at javax.swing.plaf.FontUIResource.<init>(libgcj.so.7 )
    at javax.swing.plaf.metal.DefaultMetalTheme.<clinit>( libgcj.so.7)
    at java.lang.Class.initializeClass(libgcj.so.7)
    at javax.swing.plaf.metal.MetalLookAndFeel.createDefa ultTheme(libgcj.so.7)
    at javax.swing.plaf.metal.MetalLookAndFeel.<init>(lib gcj.so.7)
    at javax.swing.UIManager.<clinit>(libgcj.so.7)
    at java.lang.Class.initializeClass(libgcj.so.7)
    at JBidWatch.main(JBidWatch.java:594)
    Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit
    at java.lang.Class.forName(libgcj.so.7)
    at java.lang.Class.forName(libgcj.so.7)
    at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
    ...11 more

  4. #4
    Join Date
    Feb 2006
    Beans
    20
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: JBidWatcher

    Curiously though if i right click on it and choose, open with Sun Java 5.0 Runtime it works ?

  5. #5
    Join Date
    Apr 2005
    Beans
    1,365

    Re: HOWTO: JBidWatcher

    Quote Originally Posted by TomH
    Curiously though if i right click on it and choose, open with Sun Java 5.0 Runtime it works ?
    why would you like to run it with sudo?
    ASUS K53S Ubuntu 14.10 64-bit
    ASUS 1015PX Netbook Lubuntu 14.10
    Two Dell laptops with 14.04

  6. #6
    Join Date
    Feb 2006
    Beans
    20
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: JBidWatcher

    sorry just put sudo in a a trial, if i just run jbidwatcher it gives the same errors.

    Have managed to fit it now anyways by telling ubuntu which java its using

    Tom

  7. #7
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: JBidWatcher

    I installed sun java, but bidwatcher refuses to run:
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at java.lang.Class.initializeClass(libgcj.so.7)
    at FilterManager$AuctionListHolder.<init>(FilterManag er.java:67)
    at FilterManager.loadFilters(FilterManager.java:89)
    at JBidWatch.<init>(JBidWatch.java:1021)
    at JBidWatch.main(JBidWatch.java:636)
    Caused by: java.lang.IllegalArgumentException: classname: java.io.InputStream;
    at java.awt.datatransfer.DataFlavor.getRepresentation ClassFromMime(libgcj.so.7)
    at java.awt.datatransfer.DataFlavor.<init>(libgcj.so. 7)
    at java.awt.datatransfer.DataFlavor.<init>(libgcj.so. 7)
    at JDropListener.getDataFlavor(JDropListener.java:72)
    at JDropListener.setupFlavors(JDropListener.java:98)
    at JDropListener.<init>(JDropListener.java:60)
    at JBidMouse.<init>(JBidMouse.java:74)
    at AuctionsUIModel.<clinit>(AuctionsUIModel.java:48)
    at java.lang.Class.initializeClass(libgcj.so.7)
    ...4 more
    Any idea what is causing this?

  8. #8
    Join Date
    Apr 2005
    Beans
    1,365

    Re: HOWTO: JBidWatcher

    Quote Originally Posted by stani
    I installed sun java, but bidwatcher refuses to run:

    Any idea what is causing this?
    it looks like Jbidwatcher is trying to use a open-source Java alternative rather then Sun's Java (see a post above). There is a command something like 'java alternative' or else, I do not remember, frankly speaking. It allows you to choose what Java to use. Try to search the forum for that. Sorry that I cannot be more of help.

    BTW, if you find the solution, could you post it here as well, so other people could use it in future?
    ASUS K53S Ubuntu 14.10 64-bit
    ASUS 1015PX Netbook Lubuntu 14.10
    Two Dell laptops with 14.04

  9. #9
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: JBidWatcher

    Thanks!

    The code is:
    sudo update-alternatives --config java

  10. #10
    Join Date
    Feb 2007
    Location
    New York
    Beans
    894
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: JBidWatcher

    In GNOME, just add a menu entry for "java -jar /home/username/Programs/jBidWatcher". Easy.

    (Though double-clicking a .jar file should ideally launch the program without any additional effort, and GNOME popping up a balloon notification asking you if you'd like a launcher to be automatically created would be even easier.)
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	jBidWatcher launcher.png 
Views:	73 
Size:	112.2 KB 
ID:	55076  

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •