Skip to Content.
Sympa Menu

ndt-users - RE: Janalize compile problem

Subject: ndt-users list created

List archive

RE: Janalize compile problem


Chronological Thread 
  • From: "Clint Simmons" <>
  • To: <>
  • Subject: RE: Janalize compile problem
  • Date: Fri, 4 Jan 2008 09:45:08 -0600


Rich,

Sorry for the LONG delay in my reply -everyone.

Upgrading from (sun) j2sdk1.4.2_16 to (sun) jdk1.5.0_14 fixed the
compile issues.

I have no idea how to actually utilize janalyze now that's its compiled
:)
If anyone has any pointers, scripts or code to make things easier it
would be greatly appreciated.

Startup:
"/usr/local/sbin/web100srv -r -a -i eth0 --snaplog &"

Thanks,
Clint Simmons
Network Engineer
Equifax Enabling Technologies

-----Original Message-----
From: Richard Carlson
[mailto:]

Sent: Friday, December 07, 2007 10:34 AM
To: Clint Simmons;

Subject: Re: Janalize compile problem

Hi Clint;

I've been swamped with other things and I saw that Jakub responded to
this too, so this may be a solved problem. In any case.,, Are you
sure that you are picking up the Sun sdk version of javac (which
javac)? I've had problems using the non-Sun version that gets
installed with one of the gcc packages. Resetting the PATH variable
to list the Sun sdk's bin dir before /usr/bin solved this for me.

Rich

At 04:52 PM 12/5/2007, Clint Simmons wrote:

>In a last resort I've decided to see if anyone else is having the same
>compile issues I'm having with "janalyze"?
>
>
>NDT-3.4.4
>2.6.20-web100
>GNU Make 3.81
>gcc 4.1.1 20070105
>
>Upgraded from j2sdk1.4.2_14 to j2sdk1.4.2_16 trying to resolve the
issue
>with no luck.
>
>
>
>make[2]: Entering directory `/usr/home/ndt/ndt-3.4.4/janalyze'
>javac JAnalyze.java DBConfFrame.java FilterFrame.java Helpers.java
>LoadingDBFrame.java LoadingFrame.java MaxPeakInfo.java MinPeakInfo.java
>PeakInfo.java PropertyListener.java ResultsContainer.java
>ResultsList.java SimpleTextPane.java SnaplogFrame.java SwingWorker.java
>JAnalyze.java:85: <identifier> expected
> private Collection<ResultsContainer> results = new
>Vector<ResultsContainer>();
> ^
>JAnalyze.java:309: '(' or '[' expected
> Collection<ResultsContainer> newResults = new
>Vector<ResultsContainer>();
> ^
>JAnalyze.java:338: '(' or '[' expected
> Collection<ResultsContainer> newResults = new
>Vector<ResultsContainer>();
> ^
>JAnalyze.java:577: '(' or '[' expected
> Vector<Double> time = new Vector<Double>();
> ^
>JAnalyze.java:578: '(' or '[' expected
> Vector<Double> userTime = new Vector<Double>();
> ^
>JAnalyze.java:579: '(' or '[' expected
> Vector<Double> systemTime = new Vector<Double>();
> ^
>JAnalyze.java:580: '(' or '[' expected
> Vector<Double> cuserTime = new Vector<Double>();
> ^
>JAnalyze.java:581: '(' or '[' expected
> Vector<Double> csystemTime = new Vector<Double>();
> ^
>FilterFrame.java:27: <identifier> expected
> private Collection<ResultsContainer> results;
> ^
>FilterFrame.java:28: <identifier> expected
> private Collection<String> disabled = new HashSet<String>();
> ^
>FilterFrame.java:30: <identifier> expected
> private final Map<String, Integer> ips = new HashMap<String,
>Integer>();
> ^
>FilterFrame.java:37: <identifier> expected
> public FilterFrame(JAnalyze mainWindow,
Collection<ResultsContainer>
>results) {
> ^
>FilterFrame.java:203: ')' expected
>^
>FilterFrame.java:207: <identifier> expected
> private Collection<String> disabled;
> ^
>FilterFrame.java:209: <identifier> expected
> IPCheckBoxActionListener(JCheckBox checkBox, String ip,
>Collection<String> disabled) {
>
>^
>FilterFrame.java:237: ')' expected
> }
> ^
>ResultsContainer.java:68: <identifier> expected
> private Collection<PeakInfo> peakInfos = new Vector<PeakInfo>();
> ^
>ResultsContainer.java:971: ';' expected
> for (PeakInfo peakInfo: peakInfos) {
> ^
>ResultsContainer.java:976: illegal start of expression
> }
> ^
>ResultsList.java:10: <identifier> expected
> private Vector<ResultsContainer> results = new
>Vector<ResultsContainer>();
> ^
>ResultsList.java:12: <identifier> expected
> public ResultsList(Collection<ResultsContainer> results) {
> ^
>ResultsList.java:22: ')' expected
>^
>22 errors
>make[2]: *** [JAnalyze.class] Error 1
>make[2]: Leaving directory `/usr/home//ndt/ndt-3.4.4/janalyze'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/home/ndt/ndt-3.4.4'
>make: *** [all] Error 2
>
>The java Admin and Applet along with the rest compile with no problems.
>
>Thanks,
>Clint Simmons
>Network Engineer
>Equifax Enabling Technologies

------------------------------------



Richard A. Carlson e-mail:

Network Engineer phone: (734) 352-7043
Internet2 fax: (734) 913-4255
1000 Oakbrook Dr; Suite 300
Ann Arbor, MI 48104




Archive powered by MHonArc 2.6.16.

Top of Page