Board index FlightGear Support Tools OpenRadar

OpenRadar error

OpenRadar is a standalone radar screen which connects to the FlightGear multiplayer servers. It is currently being developed.

OpenRadar error

Postby Neodex » Mon May 21, 2018 10:39 pm

When I try to install OpenRadar, I extract the zip fileand I open the .jar file (I am on mac) I am given an error saying: "The Java JAR file "OpenRadar.jar' could not be launched." How do I fix this?
Neodex
 
Posts: 14
Joined: Mon May 21, 2018 10:37 pm

Re: OpenRadar error

Postby RJ5576 » Tue May 22, 2018 1:32 am

You don't have execute permission on the file. Open a terminal, change to the directory containing your JAR file, and enter (without the quotes) "chmod +x <jarfile>". Then you should be able to execute it.
RJ5576
 
Posts: 88
Joined: Wed Feb 20, 2013 3:24 am
Location: Between KSEA and KPDX
Callsign: RJ5576
Version: 2018.1.1
OS: Linux Mint Sylvia

Re: OpenRadar error

Postby Neodex » Tue May 22, 2018 2:43 am

RJ5576 wrote in Tue May 22, 2018 1:32 am:You don't have execute permission on the file. Open a terminal, change to the directory containing your JAR file, and enter (without the quotes) "chmod +x <jarfile>". Then you should be able to execute it.


I opened up my directory using "cd/Users/Neodex/Downloads/OpenRadar" and entered "chmod +x openradar.jar". The exact same error still occurs though.
Neodex
 
Posts: 14
Joined: Mon May 21, 2018 10:37 pm

Re: OpenRadar error

Postby wkitty42 » Tue May 22, 2018 2:58 am

go do that terminal thing again and this time use "ls -la openradar.jar" and let us see the output... your change may not have taken...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 5634
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: OpenRadar error

Postby Neodex » Tue May 22, 2018 4:19 am

the output reads: -rwxrwxr-x@ 1 Neodex staff 2015492 29 Mar 06:46 openradar.jar
Neodex
 
Posts: 14
Joined: Mon May 21, 2018 10:37 pm

Re: OpenRadar error

Postby bugman » Tue May 22, 2018 5:35 am

Try redownloading and reinstalling. It sounds launched like a corrupted or truncated file.

Regards,
Edward
bugman
Moderator
 
Posts: 1697
Joined: Thu Mar 19, 2015 9:01 am
Version: next

Re: OpenRadar error

Postby Neodex » Tue May 22, 2018 11:46 am

I have reinstalled numerous times and get the same error every time.
Neodex
 
Posts: 14
Joined: Mon May 21, 2018 10:37 pm

Re: OpenRadar error

Postby bugman » Tue May 22, 2018 12:45 pm

Which version of Java are you using? This can sometimes be a problem. Maybe wagnerw would have a better idea of what is happening.

Regards,
Edward
bugman
Moderator
 
Posts: 1697
Joined: Thu Mar 19, 2015 9:01 am
Version: next

Re: OpenRadar error

Postby RJ5576 » Tue May 22, 2018 3:21 pm

Can you run it by issuing the command "java -jar <file>.jar"?
RJ5576
 
Posts: 88
Joined: Wed Feb 20, 2013 3:24 am
Location: Between KSEA and KPDX
Callsign: RJ5576
Version: 2018.1.1
OS: Linux Mint Sylvia

Re: OpenRadar error

Postby Neodex » Tue May 22, 2018 8:11 pm

bugman wrote in Tue May 22, 2018 12:45 pm:Which version of Java are you using? This can sometimes be a problem. Maybe wagnerw would have a better idea of what is happening.

Regards,
Edward


I first tried using the latest version of Java, however I also tried to use Java SE 9.
Neodex
 
Posts: 14
Joined: Mon May 21, 2018 10:37 pm

Re: OpenRadar error

Postby Neodex » Tue May 22, 2018 8:13 pm

RJ5576 wrote in Tue May 22, 2018 3:21 pm:Can you run it by issuing the command "java -jar <file>.jar"?


No I get the same error.
Neodex
 
Posts: 14
Joined: Mon May 21, 2018 10:37 pm

Re: OpenRadar error

Postby wkitty42 » Tue May 22, 2018 11:04 pm

you're on a mac? can mac's run executables from storage and data directories? don't they have to be in an executable or programs directory?
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 5634
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: OpenRadar error

Postby Neodex » Wed May 23, 2018 1:09 am

wkitty42 wrote in Tue May 22, 2018 11:04 pm:you're on a mac? can mac's run executables from storage and data directories? don't they have to be in an executable or programs directory?

Not sure, how would I check/fix this?
Neodex
 
Posts: 14
Joined: Mon May 21, 2018 10:37 pm

Re: OpenRadar error

Postby RJ5576 » Wed May 23, 2018 3:06 am

Execute the following commands from a terminal and tell us what happens:

Code: Select all
cd
cp /bin/ls ./
./ls
RJ5576
 
Posts: 88
Joined: Wed Feb 20, 2013 3:24 am
Location: Between KSEA and KPDX
Callsign: RJ5576
Version: 2018.1.1
OS: Linux Mint Sylvia

Re: OpenRadar error

Postby Neodex » Wed May 23, 2018 2:44 pm

RJ5576 wrote in Wed May 23, 2018 3:06 am:Execute the following commands from a terminal and tell us what happens:

Code: Select all
cd
cp /bin/ls ./
./ls


The output reads:
Applications
Creative Cloud Files
Desktop
Documents
Downloads
Library
Movies
Music
My Games
Pictures
Public
cache
Creative Cloud Files
Neodex
 
Posts: 14
Joined: Mon May 21, 2018 10:37 pm

Next

Return to OpenRadar

Who is online

Users browsing this forum: No registered users and 4 guests

cron