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 11: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 11:37 pm

Re: OpenRadar error

Postby RJ5576 » Tue May 22, 2018 2: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: 86
Joined: Wed Feb 20, 2013 4: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 3:43 am

RJ5576 wrote in Tue May 22, 2018 2: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 11:37 pm

Re: OpenRadar error

Postby wkitty42 » Tue May 22, 2018 3: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: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: OpenRadar error

Postby Neodex » Tue May 22, 2018 5: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 11:37 pm

Re: OpenRadar error

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

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

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

Re: OpenRadar error

Postby Neodex » Tue May 22, 2018 12:46 pm

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

Re: OpenRadar error

Postby bugman » Tue May 22, 2018 1: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: 1808
Joined: Thu Mar 19, 2015 10:01 am
Version: next

Re: OpenRadar error

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

Can you run it by issuing the command "java -jar <file>.jar"?
RJ5576
 
Posts: 86
Joined: Wed Feb 20, 2013 4: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 9:11 pm

bugman wrote in Tue May 22, 2018 1: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 11:37 pm

Re: OpenRadar error

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

RJ5576 wrote in Tue May 22, 2018 4: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 11:37 pm

Re: OpenRadar error

Postby wkitty42 » Wed May 23, 2018 12:04 am

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: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: OpenRadar error

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

wkitty42 wrote in Wed May 23, 2018 12:04 am: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 11:37 pm

Re: OpenRadar error

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

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

Code: Select all
cd
cp /bin/ls ./
./ls
RJ5576
 
Posts: 86
Joined: Wed Feb 20, 2013 4: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 3:44 pm

RJ5576 wrote in Wed May 23, 2018 4: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 11:37 pm

Next

Return to OpenRadar

Who is online

Users browsing this forum: No registered users and 9 guests