LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MOVE installation (https://www.linuxquestions.org/questions/linux-newbie-8/move-installation-4175485519/)

asdfg123 11-22-2013 10:00 AM

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

John VV 11-22-2013 01:26 PM

I would re go over the textbook and your lecture notes
it looks like you missed a step

asdfg123 11-23-2013 10:40 AM

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.

John VV 11-23-2013 11:53 AM

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

knudfl 11-23-2013 02:05 PM

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>

-

John VV 11-23-2013 02:46 PM

Oracle java and openjdk is reminding me of
Microsoft JAVA and Sun JAVA , all over again

asdfg123 11-25-2013 03:12 AM

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"

knudfl 11-25-2013 06:14 AM

# 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)

-

asdfg123 11-28-2013 07:55 AM

Got the solution. Thank you so much for the help...

asdfg123 11-30-2013 12:54 AM

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

John VV 11-30-2013 02:52 AM

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 ?

asdfg123 12-02-2013 08:05 AM

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

knudfl 12-02-2013 09:42 AM

# 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".

-

John VV 12-02-2013 12:55 PM

see the other post on this two but one program
http://www.linuxquestions.org/questi...25#post5074025

silinux 01-30-2014 11:47 AM

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


All times are GMT -5. The time now is 07:51 PM.