Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

applet build

Thread view: 
Bill Cunningham - 10 Feb 2006 21:43 GMT
   I have the src and jars for jgui applet at www.javazoom.net under
applets. It's a winamp clone. there is an xml build file and the only thing
I know to do with this is use ant to compile these .java sources and jars to
make the .class files. This xml file is a little hard for me to read so does
anyone have any tips on compiling this with j2dk 1.5.0_06 on 98se without
using ant? I'd just like to use the compiler to compile the classes and run
the applet with j2re without having to go through the trouble of setting up
ant.

Bill
Douwe - 10 Feb 2006 22:00 GMT
Why not use Ant ? ... What is your goal; understanding how one can
build classes without using a tool like Ant, or is it; I just want to
build the damm tool  and run it.

If it is the First then you should try to find out what the class is
with the main method and compile this. Lets say the file is found in
./src/net/javazoom/JGui.java and on top of this file it sais: package
net.javazoom; then make sure you are in ./src/ folder and type;

 javac net/javazoom/JGui.java

this would tell the compiler to compile the JGui.java class and all
classes that are directly or indirectly referenced by this class. If it
compiled you should be able to start it by calling

 java net.zoom.JGui

This will work if all java files are in just one folder (like the
./src/ folder) of they are spread over multiple directories you will
have more trouble compiling it. I would then personaly advise you to
use Ant ;)

----

If it is the second then you should realy use Ant or download the
binaries.
Bill Cunningham - 10 Feb 2006 22:44 GMT
> Why not use Ant ? ... What is your goal; understanding how one can
> build classes without using a tool like Ant, or is it; I just want to
> build the damm tool  and run it.

   Both

> If it is the First then you should try to find out what the class is
> with the main method and compile this. Lets say the file is found in
[quoted text clipped - 13 lines]
> have more trouble compiling it. I would then personaly advise you to
> use Ant ;)

   Sounds simple. I'll try it.
> ----
>
> If it is the second then you should realy use Ant or download the
> binaries.

   I can't find any binaries. Only the source.

Bill
Thomas Fritsch - 11 Feb 2006 02:08 GMT
>> If it is the second then you should realy use Ant or download the
>> binaries.
>
>    I can't find any binaries. Only the source.

Go to http://ant.apache.org/ -> binary distributions --> ...
Download "...-bin.zip" (not "...-src.zip").

Signature

"TFritsch$t-online:de".replace(':','.').replace('$','@')

Roedy Green - 11 Feb 2006 02:54 GMT
On Sat, 11 Feb 2006 03:08:20 +0100, "Thomas Fritsch"
<i.dont.like.spam@invalid.com> wrote, quoted or indirectly quoted
someone who said :

>>> If it is the second then you should realy use Ant or download the
>>> binaries.
[quoted text clipped - 3 lines]
>Go to http://ant.apache.org/ -> binary distributions --> ...
>Download "...-bin.zip" (not "...-src.zip").

for hints on installing and  getting ant to work, see
http://mindprod.com/jgloss/ant.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Bill Cunningham - 12 Feb 2006 00:55 GMT
> >> If it is the second then you should realy use Ant or download the
> >> binaries.
[quoted text clipped - 6 lines]
> --
> "TFritsch$t-online:de".replace(':','.').replace('$','@')

   I mean the binaries for the Jgui applet.

Bill


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.