LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-12-2014, 05:47 AM   #1
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Rep: Reputation: Disabled
problem in building j-nam-0.1 on ubuntu


Hello friends

I tried to build j-nam-0.1 on ubuntu using
$ ant build command

but i am facing error
build-project:
[echo] jnam: /home/rohini/j-nam-0.1/build.xml
[javac] Compiling 57 source files to /home/rohini/j-nam-0.1/bin
[javac] /home/rohini/j-nam-0.1/src/edu/colorado/cs/svn/SvnVersionParser.java:32: package com.sun.org.apache.xerces.internal.impl.xs.dom does not exist
[javac] import com.sun.org.apache.xerces.internal.impl.xs.dom.DOMParser;
[javac] ^
[javac] /home/rohini/j-nam-0.1/src/edu/colorado/cs/svn/SvnVersionParser.java:129: cannot find symbol
[javac] symbol : class DOMParser
[javac] location: class edu.colorado.cs.svn.SvnVersionParser
[javac] DOMParser parser = new DOMParser();
[javac] ^
[javac] /home/rohini/j-nam-0.1/src/edu/colorado/cs/svn/SvnVersionParser.java:129: cannot find symbol
[javac] symbol : class DOMParser
[javac] location: class edu.colorado.cs.svn.SvnVersionParser
[javac] DOMParser parser = new DOMParser();
[javac] ^
[javac] 3 errors

BUILD FAILED
how to remove these errors.
I have java6 on my system

Thanks
 
Old 02-13-2014, 04:36 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"jnam-0.1/" : The file README >>>
"J-Nam is written in Java (Java Runtime Environment (JRE) version 5.0 is required)
using the Java Swing API."

I tried with jdk-1.5.0_16 / ant-1.6.5, on CentOS 5.10 : A similar error appeared >>>
"" error: cannot find symbol
symbol: class DOMParser
location: class edu.colorade.cs.svn.SvnVersionParser
DOMParser parser = new DOMParser(); ""

"jnam-0.1/" : The files are from 2006. May be they will compile on an even older OS ?
Unless jnam-0.1 is buggy.

-
 
1 members found this post helpful.
Old 02-13-2014, 04:47 AM   #3
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Original Poster
Rep: Reputation: Disabled
Thanks knudfi for reply.

so what is the solution?

A want a topology generator to produce different topology in ns2.34.

how to use gt-itm with Extended- nam.
 
Old 02-13-2014, 06:09 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 .
Quote:
A want a topology generator to produce different topology in ns2.34.
Well, you can write the tcl files by hand. Or edit an exsisting tcl file.

Some tools :
NSG → NSG2.1.jar → https://sites.google.com/site/pengjungwu/nsg
Download link https://docs.google.com/file/d/0B6OG...dVk/edit?pli=1

For scenery / movement etc. there are ns-2.34/indep-utils/cmu-scen-gen/cbrgen.tcl
,,, ns-2.34/indep-utils/cmu-scen-gen/setdest/setdest

Extended-nam : Don't know.

-
 
1 members found this post helpful.
Old 02-13-2014, 06:42 AM   #5
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Original Poster
Rep: Reputation: Disabled
ok kndufi
 
  


Reply

Tags
j-nam



Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns-2.34 problem executing 'nam' on ubuntu 9.10 ElijahJ Linux - Software 12 06-02-2014 07:32 AM
nam not working in ubuntu 10.04 reemlus Linux - Newbie 3 01-12-2014 08:36 AM
[SOLVED] error while executing nam in ns2.34 on ubuntu 10.04 Aska123 Linux - Software 2 04-12-2013 06:04 AM
nam not working in n2.33 in ubuntu 10.04 manjunath11 Linux - General 4 05-02-2011 02:00 AM
Problem building the PSP Toolchain under Ubuntu (gcc problem) L-28C Linux - Software 2 09-23-2008 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration