comp.lang.java.programmer http://groups-beta.google.com/group/comp.lang.java.programmer [EMAIL PROTECTED]
Today's topics: * Basic Struts logging - 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/fd2223a4c1cd5aa8 * blanking a java.util.Date in 1.5 - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b61c04b0e8db0fbf * Need help w. jsp taglib. - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4adb28fcf8257b5c * How to get jsp and servlet interaction. - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/517cc3bfcef61520 * Problems with JProgressBar!!! - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5dbadddd537e2772 * Why can't static methods be overridden? - 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1f211d387a7676de * SDK resource for Fedroa OS? - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/cbd57d346871950 * Literature on boolean naming/usage conventions? - 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/dabf0085d6427c15 * Java implementation of crypt() wanted! - 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c9d4b7c65f13df2a * writeObject and readObject problem - 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e6fc9480a3a7f42a * Obtaining derived classes - 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/daa11ba437b8878b * compiling java source - 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/9ed74ee3ba9401e9 * Improving website responsiveness. - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f719ebe188f50463 * Opening URL's with a query component - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/815afae09d41facb * A question about practical Java programming books - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d9f92694ab8e3228 ========================================================================== TOPIC: Basic Struts logging http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/fd2223a4c1cd5aa8 ========================================================================== == 1 of 2 == Date: Tues, Sep 21 2004 9:09 pm From: fishfry <[EMAIL PROTECTED]> In article <[EMAIL PROTECTED]>, fishfry <[EMAIL PROTECTED]> wrote: > I'm learning Struts and I've got a simple example app running. I wanted > to get logging working, so in the perform() method of my Action I put > the code: > > ActionServlet as = getServlet(); > as.log("hello world"); > > This compiled with no errors and ran without any problem; but the string > was not written to either of the log files catalina.out or > localhost_log.2004-09-21.txt (this is on Tomcat). > > Any hints or clues about how to get simple logging working? I looked at > log4j and commons-logging but I want to start simpler. Ok my next try was to include the lines import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; in my Action, per the Struts documentation. However these got compile errors. I verified that commons-logging.jar is in the lib directory, in the same place as struts.jar. So, why can the compiler find struts.jar ok, but not the logging stuff? == 2 of 2 == Date: Wed, Sep 22 2004 1:11 am From: Stefan Siegl <[EMAIL PROTECTED]> fishfry wrote: > Ok my next try was to include the lines > > import org.apache.commons.logging.Log; > import org.apache.commons.logging.LogFactory; > > in my Action, per the Struts documentation. However these got compile > errors. I verified that commons-logging.jar is in the lib directory, in > the same place as struts.jar. So, why can the compiler find struts.jar > ok, but not the logging stuff? Could you provide the error message? When I used Struts I used log4j directly to log information. This worked really fine for me. Here is a snippet of my old code. I just used log4j to print information to the main console where the Tomcat is running in. You can configure log4j in more detail to log elsewhere. public final class MyAction extends BaseAction implements Constants { /** log4j logging instance */ private static Logger logger; static { logger = Logger.getLogger(LoginAction.class); logger.setLevel(Level.ALL); } // just use the logger. [...] } hth Stefan ========================================================================== TOPIC: blanking a java.util.Date in 1.5 http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b61c04b0e8db0fbf ========================================================================== == 1 of 1 == Date: Tues, Sep 21 2004 9:26 pm From: [EMAIL PROTECTED] (Chris Murphy) Thanks for that Paul, but my problem is not with toString(), but with the date itself (which is actually stored as a number of milliseconds since some fixed date). Changes to the output of toString() between 1.4 and 1.5 correctly reflect the fact that something has changed. By 'something has changed' I suspect that the equals() contract is not being kept across VM versions. A program that I have written stores dates in a database, and these dates were stored using 1.4. This same program will give completely different date calculation results whether run in 1.4 or 1.5. This has nothing to do with how the dates are formatted for toString(). I can potentially see programs out there that work with dates previously stored in 1.4 having similar troubles. ========================================================================== TOPIC: Need help w. jsp taglib. http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4adb28fcf8257b5c ========================================================================== == 1 of 1 == Date: Tues, Sep 21 2004 9:26 pm From: Steve Burrus <[EMAIL PROTECTED]> Abrasive Sponge wrote: > Try > Date: <c:out value="${date}" /> Hi "Abrasive Sponge", this is steve Burrus and I just wanted to quickly report to u that I got the jsp viewed successfully in my browser!! ========================================================================== TOPIC: How to get jsp and servlet interaction. http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/517cc3bfcef61520 ========================================================================== == 1 of 1 == Date: Tues, Sep 21 2004 9:36 pm From: Steve Burrus <[EMAIL PROTECTED]> I need some help/assistance from someone with this problem of mine of trying to get a jsp which displays a table with some table data in it, i.e., some of my favorite movies, to interact successfully with a servlet!!! Now, in the servlet, I have used--probably for the very 1st time ever--the servlet method "RequestDispatcher" and both of the getAttribute() and the setAttribute() methods, but alas, when I try to view the jsp in my web browser, I only get the jsp title showing!!! Now whasssssssssup with that anyway???!! Here is first my servlet code : /* Here is a particular servlet which is used with a jsp that will * print out a movie list. */ import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class MovieServlet extends HttpServlet { public void service (HttpServletRequest request, HttpServletResponse resp) throws IOException, ServletException { PrintWriter out = resp.getWriter(); String [] movieList = { "Patton", "Some Like It Hot", "Bank Shot","Beyond Atlantis", "Titanic"}; java.util.List mymovie = new java.util.ArrayList(); mymovie.add(movieList); request.setAttribute("movieList", mymovie); String[] items = (String[]) request.getAttribute("movieList"); for(int i = 0; i < items.length; i++){ String movie = items[i]; out.println(movie); } RequestDispatcher steve = request.getRequestDispatcher("mymovies.jsp"); steve.forward(request, resp); } } and then my jsp code : <%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core" %> <html><head> </head><body> <b><i>My Personal Movie List</b></i><br><br><br> <table> <c:forEach var = "movie" items = "${movieList}"varStatus = "movieLoopCount"> > <tr> <td>Count : ${movieLoopCount.count}</td> </tr> <tr> <td>${movie}</td> </tr> <tr><td>Patton</td></tr> </c:forEach> </table> </body></html> ========================================================================== TOPIC: Problems with JProgressBar!!! http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5dbadddd537e2772 ========================================================================== == 1 of 1 == Date: Tues, Sep 21 2004 10:03 pm From: Babu Kalakrishnan <[EMAIL PROTECTED]> C.Steamer wrote: > > This is where I use the progress bar > > > > panel.getProgressBar().setIndeterminate(true); > > int totalFiles = countNonHiddenFiles(file); > > panel.getProgressBar().setIndeterminate(false); > > > panel.getProgressBar().setMinimum(0); > > panel.getProgressBar().setValue(0); > > panel.getProgressBar().setMaximum(totalFiles); > > Are the above calls (the ones on the progressbar) made in the Event Dispatch Thread ? If not, try moving them to the EDT using a SwingUtilities.invokeLater wrapper. BK ========================================================================== TOPIC: Why can't static methods be overridden? http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1f211d387a7676de ========================================================================== == 1 of 3 == Date: Tues, Sep 21 2004 10:10 pm From: [EMAIL PROTECTED] Quite often I have a hierarchy of classes where I want a specific accessor method to be present in all classes. Therefore I specify it in the base class. But the information that this function returns only depends on the actual class, so it should static, shouldn't it? I ran into the neccessity to do so sometimes during design and started wondering why Java actually forbids it. Is there a specific OO reason? Regards, Bernd == 2 of 3 == Date: Wed, Sep 22 2004 12:29 am From: Owen Jacobson <[EMAIL PROTECTED]> On Tue, 21 Sep 2004 22:10:19 -0700, bernd_no_junk wrote: > Quite often I have a hierarchy of classes where > I want a specific accessor method to be > present in all classes. Therefore I specify > it in the base class. But the information > that this function returns only depends on the > actual class, so it should static, shouldn't it? > > I ran into the neccessity to do so sometimes > during design and started wondering why Java > actually forbids it. > > Is there a specific OO reason? This seems to be related to the recent discussion about invoking static methods through instances. Consider if derived classes could override static (class-scope) methods: class A { static void something () {} } class B extends A { static void something () {} } ... A anA = new B (); anA.something (); // This is valid, modulo B.something ()'s existence Which 'something' should be invoked, here? Currently the rules say that A.something should be invoked, but if it were possible to override something in derived classes you can bet people would then want to be able to call derived static methods through base class references, which I can only assume the Sun guys feel is much less straightforward than the current mechanism. For what it's worth I agree with them. -- Some say the Wired doesn't have political borders like the real world, but there are far too many nonsense-spouting anarchists or idiots who think that pranks are a revolution. == 3 of 3 == Date: Wed, Sep 22 2004 1:37 am From: Tor Iver Wilhelmsen <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: > Is there a specific OO reason? It would have been clearer if Sun hadn't made the error of letting you access static members via instance references. The latter can fool people into thinking that they are more dynamic than they are. The likely reason is that Java doesn't have "class objects" unlike some other languages; if it had, static methods would be "virtual" methods in these objects. (The class java.lang.Class is a metaclass.) ========================================================================== TOPIC: SDK resource for Fedroa OS? http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/cbd57d346871950 ========================================================================== == 1 of 1 == Date: Tues, Sep 21 2004 10:11 pm From: La'ie Techie <[EMAIL PROTECTED]> On Fri, 10 Sep 2004 16:48:38 -0700, Ashish Khasgiwala wrote: > Can some one please point me to some good J2SE SDK, JVM resource for > Fedora OS.. I use the official Sun version on Fedora Core 2 without any problems. La'ie Techie ========================================================================== TOPIC: Literature on boolean naming/usage conventions? http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/dabf0085d6427c15 ========================================================================== == 1 of 2 == Date: Tues, Sep 21 2004 10:24 pm From: Joona I Palaste <[EMAIL PROTECTED]> Andrew Thompson <[EMAIL PROTECTED]> scribbled the following: > On 15 Sep 2004 07:13:34 -0700, Andre Anneck wrote: >> if ( on ) <--// Supposedly literatur say's so. > Stuff literature, use common sense. >> if ( on == true ) <--// Supposedly literatur say's NOT to use this. > So, for the opposite, you could write.. > if ( on != true ) > if ( on == false ) > if ( on == !true ) ..or > if ( !on == true ) > ..depending upon the time of day > and your own inclination. Or even... if (!on != !false) -- /-- Joona Palaste ([EMAIL PROTECTED]) ------------- Finland --------\ \-- http://www.helsinki.fi/~palaste --------------------- rules! --------/ "Show me a good mouser and I'll show you a cat with bad breath." - Garfield == 2 of 2 == Date: Tues, Sep 21 2004 10:26 pm From: Joona I Palaste <[EMAIL PROTECTED]> Joona I Palaste <[EMAIL PROTECTED]> scribbled the following: > Andrew Thompson <[EMAIL PROTECTED]> scribbled the following: >> On 15 Sep 2004 07:13:34 -0700, Andre Anneck wrote: >>> if ( on ) <--// Supposedly literatur say's so. >> Stuff literature, use common sense. >>> if ( on == true ) <--// Supposedly literatur say's NOT to use this. >> So, for the opposite, you could write.. >> if ( on != true ) >> if ( on == false ) >> if ( on == !true ) ..or >> if ( !on == true ) >> ..depending upon the time of day >> and your own inclination. > Or even... > if (!on != !false) Erm, sorry, logic error there. I meant: if (!on != false) or if (!on != !true) -- /-- Joona Palaste ([EMAIL PROTECTED]) ------------- Finland --------\ \-- http://www.helsinki.fi/~palaste --------------------- rules! --------/ "B-but Angus! You're a dragon!" - Mickey Mouse ========================================================================== TOPIC: Java implementation of crypt() wanted! http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c9d4b7c65f13df2a ========================================================================== == 1 of 2 == Date: Tues, Sep 21 2004 10:29 pm From: Mark Murphy <[EMAIL PROTECTED]> Original Poster, please don't worry about this thread. These types of discussions keep Usenet moving in the right direction. Keep with it! Mark Marcus wrote: > As a newb, you probably haven't yet bumped up against the problem of > looking for a solution that is a proverbial needle in a haystack. > Gawd! He said he got 8,130 hits! Correction, I am a new to Java. I wrote my first program 23 years ago. As for the needle in the haystack. Looking at the first three returns on a search in not a haystack. > But guess what, no one is asking you to do "research." Someone might > just actually know the answer and would have the common decency to > actually answer. Indirectly you are. > If Andrew had remained silent, the original poster would never had > known--he'd just know that the answer didn't appear. No bandwidth, > same result. He also probably would have felt that newb were unwelcome. And that the Java community only helped there own. > But guess what? change it to "crypt java" and you get a bunch of > irrelevant links. Well he was specific enough to ask for a Java version of Unix crypt, why shouldn't he be just as specific with the search. "java UNIX crypt" == 2 of 2 == Date: Wed, Sep 22 2004 1:00 am From: "Zsolt" <[EMAIL PROTECTED]> As the original author of this thread I would like to add my comments: I did search (via google) for java,crypt and unix but didn't find anything reasonable. An other reason to ask in this news group was that I hoped there was a solution possible using just the jdk (or jce) or an other defacto standard library. Zsolt "Mark Murphy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Original Poster, please don't worry about this thread. These types of > discussions keep Usenet moving in the right direction. Keep with it! > > Mark Marcus wrote: > > > As a newb, you probably haven't yet bumped up against the problem of > > looking for a solution that is a proverbial needle in a haystack. > > Gawd! He said he got 8,130 hits! > > > Correction, I am a new to Java. I wrote my first program 23 years ago. > As for the needle in the haystack. Looking at the first three returns on > a search in not a haystack. > > > But guess what, no one is asking you to do "research." Someone might > > just actually know the answer and would have the common decency to > > actually answer. > > Indirectly you are. > > > > If Andrew had remained silent, the original poster would never had > > known--he'd just know that the answer didn't appear. No bandwidth, > > same result. > > He also probably would have felt that newb were unwelcome. And that the > Java community only helped there own. > > > But guess what? change it to "crypt java" and you get a bunch of > > irrelevant links. > > Well he was specific enough to ask for a Java version of Unix crypt, why > shouldn't he be just as specific with the search. "java UNIX crypt" > ========================================================================== TOPIC: writeObject and readObject problem http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e6fc9480a3a7f42a ========================================================================== == 1 of 3 == Date: Tues, Sep 21 2004 11:15 pm From: Gordon Beaton <[EMAIL PROTECTED]> On Tue, 21 Sep 2004 23:15:35 -0400, juicy wrote: > try { > x = ois.readObject(); > ois.close(); > > oos.writeObject(x); > oos.flush(); > > oos.close(); > client.close(); [...] > > i get an message: > Descriptor not a socket: socket write error > what cause the error occur? How to solve it? When you close the ObjectInputStream, it closes the underlying SocketInputStream and ultimately the Socket itself. Your subsequent attempt to write to the ObjectOutputStream encounters a closed Socket. So don't close either of the streams until you have finished communicating with that client. /gordon -- [ do not email me copies of your followups ] g o r d o n + n e w s @ b a l d e r 1 3 . s e == 2 of 3 == Date: Wed, Sep 22 2004 12:16 am From: "juicy" <[EMAIL PROTECTED]> ok.. after the server write the object, i get the object at client like below if(b.getLabel()=="Connect") { try{ Socket socket=new Socket(host, port); oos = new ObjectOutputStream(socket.getOutputStream()); ois = new ObjectInputStream(socket.getInputStream()); } catch(Exception e){} } if(b.getLabel()=="Write"){ try{ oos.writeObject((Object)event);} catch(Exception e){} } if(b.getLabel()=="Read"){ try{ Event get=(Event)ois.readObject(); oos.close(); ois.close();} catch(IOException e){} catch(ClassNotFoundException e){}//an exception occured here The client still can't read the object and ClassNotFoundException occurred. What's wrong with my code this time? == 3 of 3 == Date: Wed, Sep 22 2004 12:34 am From: Andrew Thompson <[EMAIL PROTECTED]> On Wed, 22 Sep 2004 03:16:00 -0400, juicy wrote: > catch(IOException e){} > catch(ClassNotFoundException e){}//an exception occured here This is very shoddy practice. <http://www.physci.org/codes/javafaq.jsp#stacktrace> .. > The client still can't read the object and ClassNotFoundException > occurred. > What's wrong with my code this time? <http://www.physci.org/codes/javafaq.jsp#exact> Which has some hand tips, and points to here.. <http://mindprod.com/jgloss/runerrormessages.html#INDEX> <http://mindprod.com/jgloss/runerrormessages.html#CLASSNOTFOUNDEXCEPTION> Did you import java.awt.Event in your server? One more thing, you might find people can help you a lot more easily if you provide an SSCCE <http://www.physci.org/codes/sscce.jsp> HTH -- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.lensescapes.com/ Images that escape the mundane ========================================================================== TOPIC: Obtaining derived classes http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/daa11ba437b8878b ========================================================================== == 1 of 3 == Date: Tues, Sep 21 2004 11:35 pm From: "Tony Morris" <[EMAIL PROTECTED]> "EjP" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Is there a way to get a list of classes derived from a particular base > class? No, since the concept doesn't exist - a superclass cannot know about it's subclasses. You might load a package (java.lang.reflect.Package) and query its classes (only those that have been loaded) to determine if they are a subclass, but I suspect that this is in vain in achieving what is more likely than not, a workaround to a design issue that you have. http://www.xdweb.net/~dibblego/java/faq/answers.html#q32 Good luck. -- Tony Morris http://xdweb.net/~dibblego/ == 2 of 3 == Date: Wed, Sep 22 2004 12:30 am From: Owen Jacobson <[EMAIL PROTECTED]> On Tue, 21 Sep 2004 22:08:43 -0500, EjP wrote: > > Is there a way to get a list of classes derived from a particular base > class? > > Something like > > Class c = Class.forName("BaseClass"); > Class d[] = c.getDerivedClasses(); //I know this doesn't work > > Any advice would be appreciated. The concept of "list of derived classes" is very vaguely-defined, and can change over the course of execution as classes are loaded. What is the real problem you are trying to solve? -- Some say the Wired doesn't have political borders like the real world, but there are far too many nonsense-spouting anarchists or idiots who think that pranks are a revolution. == 3 of 3 == Date: Wed, Sep 22 2004 1:08 am From: Michael Borgwardt <[EMAIL PROTECTED]> EjP wrote: > Is there a way to get a list of classes derived from a particular base > class? No, since there's not even a way to get a list of *all* classes. ========================================================================== TOPIC: compiling java source http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/9ed74ee3ba9401e9 ========================================================================== == 1 of 2 == Date: Tues, Sep 21 2004 11:43 pm From: Andrew Thompson <[EMAIL PROTECTED]> On Wed, 22 Sep 2004 09:32:47 +0600, perkal wrote: > I need to compile a simple java source file from within a java program. String args[] = new String[] { options, directory, fileName }; com.sun.tools.javac.Main.compile(args); The javac package is amongst packages that Sun does not publicly document and recommends developers do not use, as they reserves the right to change them at any time. (The smart money says they have no reason to do that though.) HTH -- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.lensescapes.com/ Images that escape the mundane == 2 of 2 == Date: Wed, Sep 22 2004 12:56 am From: jungi <[EMAIL PROTECTED]> perkal wrote: > Hi all, > > I need to compile a simple java source file from within a java program. Does > anyone know how to do this? Is there somekind of an API that ISVs use to > develop compilers, like jbuilder, etc.? > > TIA, > perkal > > good article about this topic can be found here: http://java.sun.com/developer/JDCTechTips/2003/tt0722.html#2 --jungi ========================================================================== TOPIC: Improving website responsiveness. http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f719ebe188f50463 ========================================================================== == 1 of 1 == Date: Wed, Sep 22 2004 12:52 am From: Tor Iver Wilhelmsen <[EMAIL PROTECTED]> Rico <[EMAIL PROTECTED]> writes: > for x=1 to 3000 > select * from table where item = 'x' If you use Statement, that will be horrendously slow. Use a PreparedStatement for select * from table where item = '?', and setInt(1, x); ========================================================================== TOPIC: Opening URL's with a query component http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/815afae09d41facb ========================================================================== == 1 of 1 == Date: Wed, Sep 22 2004 1:20 am From: [EMAIL PROTECTED] (Hayden) I'm trying to open a stream on a URL of the form: http://www.example.com/search?eg=en I've tried: URL url = new URL("http://www.example.com/search?eg=en"); URLConnection connection = url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream())); But an IOException is thrown in the last line... I've also tried: URL tempUrl = new URL("http://www.example.com/"); URL url = new URL(tempUrl, "search?eg=en"); Still, IOException. Any ideas?? Cheers, Hayden ========================================================================== TOPIC: A question about practical Java programming books http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d9f92694ab8e3228 ========================================================================== == 1 of 1 == Date: Wed, Sep 22 2004 1:07 am From: "Mirco Novena" <[EMAIL PROTECTED]> hello Jim "Jim" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > More specifically I am looking for a book ( > or online resources, I prefer books though !) > which covers the following topics: > The java compiling and running environments, > command line arguments, tips and practical > considerations for setting environmental > variables in different platforms: Unix/Linux, > Windows, proper ways of designing directory > structures and packages, the meaning of > compile and run-time error messages; basics > of IDEs and concepts of work space and > projects, introduction to the popular IDEs, > etc > have a look here: http://java.sun.com/developer/onlineTraining/new2java/programming/learn/ or for more online tutorials (java center): http://java.sun.com/learning/new2java/index.html or (overview): http://java.sun.com/learning/index.html I like books, but I've seen a lot of java programming books, but all you really need is on the web (-> sun or others pages): plenty of examples. cheers mirco ======================================================================= You received this message because you are subscribed to the Google Groups "comp.lang.java.programmer". comp.lang.java.programmer [EMAIL PROTECTED] Change your subscription type & other preferences: * click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe Report abuse: * send email explaining the problem to [EMAIL PROTECTED] Unsubscribe: * click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe ======================================================================= Google Groups: http://groups-beta.google.com
