Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Compiling Tube (java app)

Compiling Tube (java app)
Thread Tools
Forum Regular
Join Date: Jan 2000
Location: California
Status: Offline
Reply With Quote
Nov 4, 2000, 09:20 PM
 
Could anyone help me try to compile Tube?

Tube is an open source java hotline client. I want to be able to connect to a bungie fan community site, and due to a bug in Zombie, it will not connect to the kind of server that this site is hosted by.

Tube is distributed through both .jar, .java, and as source, and is broken into two parts, the foundation code, called wasbeer, and the swing interface.

I've tried downloading the tube.jar and wasbeer.jar files, and compiling them using apple's GUI tool, and the command line tools, but I haven't had any success.

I know that Tube will run under MacOS X's Java implementation, because I know one person did it, but he wasn't very receptive to helping me through it.

If anyone could post some instructions on how to do it via command line or the MRJAppBuilder or even through Project Builder, it would help a lot. Thanks!

Tube homepage: http://awacs.dhs.org/tube/
     
PlanoChris
Guest
Status:
Reply With Quote
Nov 5, 2000, 07:56 PM
 
Ok, I got it to work. Here is what I did.

1.) download the file "tube-linux-sound-0.9.1.tar.gz" from the tube installation page (http://www.fhloston.ch/tube/index.html).

2.) made a folder to put the downloaded file into (and put it there)

3.) opened the terminal and changed to that directory and types tar zxpf tube-linux-sound-0.9.1.tar.gz

4.) that unzipped the contents into a directory called tube-0.9.1, so change into that dir.

5.) edited the file "tube" with a text editor to look like this

#! /bin/bash

JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin

TUBE=~/Documents/Tube/tube-0.9.1 (<-- Path to tube-0.9.1 dir)

WASBEER=$TUBE/wasbeer-0.5_purejava_jdk1.2_1.2sound.jar


$JAVA_HOME/java -classpath $WASBEER:$TUBE/tube-0.9.1.jar Tube

(I hope that came out formatted correctly)

6.) typed ./tube and it fired up

I did notice some errors in the console while running it, but maybe that's just something the developer will need to work on.

Best of luck to you. If you need some more information to get it going, drop me an email (cclark74@home.com)
     
PlanoChris
Guest
Status:
Reply With Quote
Nov 5, 2000, 09:40 PM
 
Ok, I got it to work. Here is what I did.

1.) download the file "tube-linux-sound-0.9.1.tar.gz" from the tube installation page (http://www.fhloston.ch/tube/index.html).

2.) made a folder to put the downloaded file into (and put it there)

3.) opened the terminal and changed to that directory and types tar zxpf tube-linux-sound-0.9.1.tar.gz

4.) that unzipped the contents into a directory called tube-0.9.1, so change into that dir.

5.) edited the file "tube" with a text editor to look like this

#! /bin/bash

JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin

TUBE=~/Documents/Tube/tube-0.9.1 (<-- Path to tube-0.9.1 dir)

WASBEER=$TUBE/wasbeer-0.5_purejava_jdk1.2_1.2sound.jar


$JAVA_HOME/java -classpath $WASBEER:$TUBE/tube-0.9.1.jar Tube

(I hope that came out formatted correctly)

6.) typed ./tube and it fired up

I did notice some errors in the console while running it, but maybe that's just something the developer will need to work on.

Best of luck to you. If you need some more information to get it going, drop me an email (cclark74@home.com)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:40 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2