Problem connecting to server

256 views
Skip to first unread message

biron...@gmail.com

unread,
Oct 29, 2012, 11:26:11 AM10/29/12
to psimulator2...@googlegroups.com
Hi, I just tried running Psimulator2 on Ubuntu12.04.
The first problem I had was I was using JRE 6. For anyone who gets an error like this:
$ java -jar psimulator2_frontend.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: psimulator/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: psimulator.Main. Program will exit.

here is the solution, info how to change your JRE version etc (on ubuntu/debian) here:

I then followed the video, and tried to connect to the the server with the default values (127.0.0.1, port 12000), but I get "Connection establishing wasn't successful. Try again." I tried various ports & checked with netstat -ant; there didn't seem to be any clashes...

Any suggestions would be great.

I noticed psimulator2 allows simulation of Linux routers, making it very useful for people trying to learn networking without relying on proprietary technologies (eg Cisco) :)













dwn...@gmail.com

unread,
Mar 8, 2013, 8:40:23 AM3/8/13
to psimulator2...@googlegroups.com, biron...@gmail.com

Hi! Have you figured out how to connect to server in Psimulator2? I'm really in need to find out!
 
Thomas1 

Stanislav Řehák

unread,
Jun 27, 2013, 11:24:28 AM6/27/13
to psimulator2...@googlegroups.com
Hi,
I just tried to install Psimulator2 on my Windows 7 and it was without a problem.
I was able to send ping from pc2 to pc2 with example.xml configuration file. For more read this thread:
https://groups.google.com/forum/#!topic/psimulator2-developers/3g2ltGvDSl0

haldyr


--
Tuto zprávu jste obdrželi, protože jste přihlášeni k odběru skupiny Psimulator2 developers ve Skupinách Google.
Pokud chcete zrušit odběr skupiny, aby vám z ní již nechodily e-maily, zašlete e-mail na adresu psimulator2-devel...@googlegroups.com.
Další možnosti najdete na adrese https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages