Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
I need to install VanetMobisim on ubuntu 11.04. I have the java installed
java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (6b22-1.10.4-0ubuntu1~11.04.2)
OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)
javac -version
javac 1.6.0_22
but when I try to install the apache ant oups!! problem. I get an error
sudo apt-get install ant
Lecture des listes de paquets... Erreur*!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-i386_Packages
E: Les listes de paquets ou le fichier «*status*» ne peuvent être analysés ou lus.
Installing packages : Ubuntu 11.04 is obsolete.
You'd probably need a new /etc/apt/sources.list
.. with links to "the old archive" :
Code:
deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-security universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-backports universe multiverse
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 4
If this command works OK : $ java -jar VanetMobiSim-1.1.jar
.. with no errors from your java, you can continue ..
The reply should be : Usage: Runner modelSource.xml .
( My $ java -version : java version "1.6.0_41"
Java(TM) SE Runtime Environment (build 1.6.0_41-b02) ).
Besides that : I don't know.
I guess you can find some examples with Google.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 6 . ( @wrightjennifer00 is not a Vanet* user, the post was spam.)
Install : You don't need to, one file only is generated : VanetMobiSim-1.1.jar
Anyway the compiling is done by : (Ref. READ_ME.)
1) mkdir <new-dir> && cd new-dir/
2) unzip VanetMobiSim-1.1.zip
3) unzip CanuMobiSim_1_3_4_src.zip
4) ant patch
5) ant all
6) .. Testing : cd jar/ && java -jar VanetMobiSim.jar ../samples/trafficLights.xml
hi, thkx for reply but the pb is still there(I'm not able to do the ant patch)
I tried sudo apt-get install ant but I got error
may be because of ubuntu 11.04
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 9 . Please change /etc/apt/sources.list to
Code:
deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-security universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-backports universe multiverse
The 'ant' install command is $ sudo apt-get update && apt-get install ant
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.