Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3960

Re: Error while compilling program on Linux

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Error while compilling program on Linux
Date 2011-05-11 03:06 -0700
Organization Canadian Mind Products
Message-ID <hnnks650kafu2la2j87luj1j91ie343tb4@4ax.com> (permalink)
References <14db58a7-1f7f-4a8d-89d4-b27559860fff@d1g2000yqm.googlegroups.com>

Show all headers | View raw


On Mon, 9 May 2011 22:54:41 -0700 (PDT), ruds <rudranee@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>This program was working perfectly 10 days ago and now suddenly it has
>started giving errors.
>What might be the problem?

see http://mindprod.com/jgloss/javacexe.html
to find out what he default settings are and what setting you are
using.

In Ant it looks like this:

  <javac source="1.5" target="1.5" srcdir="com/mindprod/amper"
sourcepath="${basedir}" classpath="${basedir}" debug="on"
includeAntRuntime="false">
    <compilerarg value="-Xlint:unchecked" />
    <compilerarg value="-Xlint:fallthrough" />
    <compilerarg value="-Xlint:deprecation" />
  </javac>

see http://mindprod.com/jgloss/ant.html

If you are compiling other than a single directory of files at a time,
you should be using ANT or equivalent.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
How long did it take after the car was invented before owners understood 
cars would not work unless you regularly changed the oil and the tires?
We have gone 33 years and still it is rare to uncover a user who 
understands computers don't work without regular backups.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Error  while compilling program on Linux ruds <rudranee@gmail.com> - 2011-05-09 22:54 -0700
  Re: Error  while compilling program on Linux Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-05-10 08:04 +0000
  Re: Error  while compilling program on Linux Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-05-10 09:47 +0100
  Re: Error  while compilling program on Linux Martin Gregorie <martin@address-in-sig.invalid> - 2011-05-10 20:46 +0000
    Re: Error while compilling program on Linux ruds <rudranee@gmail.com> - 2011-05-10 22:49 -0700
  Re: Error  while compilling program on Linux Roedy Green <see_website@mindprod.com.invalid> - 2011-05-11 03:06 -0700
    Re: Error  while compilling program on Linux Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-05-11 14:47 +0100
      Re: Error  while compilling program on Linux Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-05-11 15:31 +0000
        Re: Error  while compilling program on Linux Lew <noone@lewscanon.com> - 2011-05-11 16:01 -0400

csiph-web