LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2013, 11:00 AM   #1
asdfg123
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Rep: Reputation: Disabled
MOVE installation


Hello,

I have installed ns 2.34 and sumo 0.17. But while installing MOVE i am getting this error. Please help me in resolving this error.

Exception in thread "main" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Window.<init>(Window.java:546)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:174)
at vanetsim.<init>(vanetsim.java:13)
at vanetsim.main(vanetsim.java:100)

Please tell me the solution as i have urgent project submission
 
Old 11-22-2013, 02:26 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,819

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
I would re go over the textbook and your lecture notes
it looks like you missed a step
 
Old 11-23-2013, 11:40 AM   #3
asdfg123
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
I used the following command

"java -jar MOVE.jar"

as mentioned in the document but the same error continues.

Please tell me the initial steps to install MOVE. I think i am not following the right command.
 
Old 11-23-2013, 12:53 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,819

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
what version of java is installed on this unknown operating system ?
Oracles java 1.6 ?
Oracles java 1.7 ?
Open JDK 1.6 ?
Open JDK 1.7 ?

And what Operating System ?

and how was the version of java installed ?
is it different than the default installed ?
if so was "alternatives " set ?

And what version of java is called for to be used in the documentation for move ?

and you do know that there is NO installing of this java jar
you run the program
http://lens.csie.ncku.edu.tw/Joomla_...18-rapid-vanet

Last edited by John VV; 11-23-2013 at 01:00 PM.
 
1 members found this post helpful.
Old 11-23-2013, 03:05 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
MOVE will work with Oracle java 1.7 ( or 1.6 ).


Quote:
Please tell me the initial steps to install MOVE.
There is no install. You can have `MOVE.jar' wherever you like.
and do $ java -jar MOVE.jar


So your question would be : How to install a usable Oracle java.
The answer is : Please specify your OS :
1) $ uname -m <Enter>
2) $ cat /etc/*release* <Enter>

-
 
1 members found this post helpful.
Old 11-23-2013, 03:46 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,819

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Oracle java and openjdk is reminding me of
Microsoft JAVA and Sun JAVA , all over again
 
Old 11-25-2013, 04:12 AM   #7
asdfg123
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
The java version installed is as follow....

java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.10.04.2)
OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)

and the operating system installed is..

i686
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
 
Old 11-25-2013, 07:14 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 7 .

Ubuntu 10.04 - i686
http://www.webupd8.org/2012/01/insta...buntu-via.html
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer

$ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Server VM (build 24.45-b08, mixed mode)

-
 
Old 11-28-2013, 08:55 AM   #9
asdfg123
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Got the solution. Thank you so much for the help...
 
Old 11-30-2013, 01:54 AM   #10
asdfg123
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
I have installes sumo-0.17.1 but MOVE is not working with it. So, i want to uninstall sumo-0.17.1 but when i am using the command sudo make uninstall i am getting the error

make: *** No rule to make target `uninstall'.

I tried to remove the files manually but i am not getting the permission to remove it.

Please give me the required solution
 
Old 11-30-2013, 03:52 AM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,819

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
HOW ??? did you install sumo ?????
the programs web page has this for ubuntu
http://sourceforge.net/apps/mediawik...itle=Downloads
Code:
sudo add-apt-repository ppa:sumo/stable
sudo apt-get install sumo sumo-tools sumo-doc
if you did that , then there is NO source code nor Makefile to run the uninstall option on

then use "apt-get" to uninstall the program



and if you installed EVERY and i do mean EVERY dependency that sumo must have installed to build the source code
then there might not be a "uninstall" option in the source code - not every program Makefile has an Install and uninstall option


asdfg123 a question
Is the English language your primary language ?
or are you using Google translate ?
or is the English language a second or third language ?

Last edited by John VV; 11-30-2013 at 03:54 AM.
 
Old 12-02-2013, 09:05 AM   #12
asdfg123
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
I installed SUMO-0.17.1 using the following steps. Kindly give me solution where i am wrong..


The packages bellow are necessary to build SUMO with gui:

$ sudo apt-get install libgdal1-dev proj libxerces-c2-dev
$ sudo apt-get install libfox-1.6-dev libgl1-mesa-dev libglu1-mesa-dev

Ubuntu 12.04 does not ship with libgdal.so, only with libgdal1.7.0.so. So, create a symbolic link:

$ sudo ln -s /usr/lib/libgdal1.7.0.so /usr/lib/libgdal.so

Installation:

Decompress the tarball:

$ tar -xzvf sumo-src-0.12.3.tar.gz

Move the decompressed directory to '/usr/local/src':

$ sudo mv -v sumo-0.12.3 /usr/local/src

Enter the source directory and call configure, make and make install:

$ cd /usr/local/src/sumo-0.12.3

$ ./configure --with-fox-includes=/usr/include/fox-1.6 \
--with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr \
--with-gdal-libraries=/usr --with-proj-gdal

$ make
$ sudo make install
 
Old 12-02-2013, 10:42 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 12 .
Quote:
Kindly give me solution where I am wrong
Quote:
I installed SUMO-0.17.1
Quote:
$ cd /usr/local/src/sumo-0.12.3
* That's two different versions.
* The default build directory is /home/<your-user-name>/<sumo> !

* This will do : $ ./configure
** I.e. no reason to confuse the configuration with further references,
as those files will always be found automatically.

If version 0.17.1 : Use the repo, post #11 : $ sudo apt-get install sumo


Quote:
$ tar -xzvf sumo-src-0.12.3.tar.gz
`tar' was updated year 2004 ! : Now it is $ tar -xvf
* `tar' will automatically detect .Z, .tar.gz, .tgz, tar.bz2
* And recently : Also automatically detection of tar.xz


Quote:
Ubuntu 12.04 does not ship with libgdal.so, only with libgdal1.7.0.so.
So, create a symbolic link :
$ sudo ln -s /usr/lib/libgdal1.7.0.so /usr/lib/libgdal.so
`libgdal1.7.0.so' or `libgdal1.7.0.a' will be used by 'configure' :
No need for a link "libgdal.so".

-
 
Old 12-02-2013, 01:55 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,819

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
see the other post on this two but one program
http://www.linuxquestions.org/questi...25#post5074025
 
Old 01-30-2014, 12:47 PM   #15
silinux
LQ Newbie
 
Registered: Jan 2014
Posts: 20

Rep: Reputation: Disabled
hello, i work on traffic light signaling in sumo ,, so i want count fuel consumption and trip time of vehicle ? so how can i do that ,, its thankful to share your ideas,, thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Move installation to other hard disk xmfclick Ubuntu 5 11-25-2011 12:18 PM
How to move my ZW installation to a new box? The MoD Linux - General 1 09-03-2009 01:19 PM
Is it OK to move an installation from one machine to another? naxos2 Debian 6 04-24-2007 09:48 AM
How to move installation to a new Hard Drive? mlitty Linux - General 1 01-18-2007 09:34 PM
REALPLAYER INSTALLATION for MANDRAKE Move ihsanart Linux - Newbie 0 09-13-2004 04:24 AM


All times are GMT -5. The time now is 03:11 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration