It is currently Wed Jun 19, 2013 3:01 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Opening jar files in Fedora
PostPosted: Tue Aug 21, 2012 4:08 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9349
Location: "Looking for my eraser" =P
Is there a App in the repository or yum install that will do this?
I have a few Java jar files i would like to open.

The files do not seem to open with Java.Or maybe i need an updated Java version?

Thanks.

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 

 Post subject: Re: Opening jar files in Fedora
PostPosted: Tue Aug 21, 2012 4:50 pm  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 315
same as windoze

open a terminal
navigate to the directory where the jar file is

use the command

java -jar filename.jar

if that is not working, then a straight
java
or
java -version

in a terminal will give info

_________________
Image


Top
 Profile  
 
 Post subject: Re: Opening jar files in Fedora
PostPosted: Tue Aug 21, 2012 4:59 pm  (#3) 
Online
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 2269
Location: Gimpville
Rod, you have two options to run Java in Fedora. You can install OpenJDK (& icedtea) which is probably fine for most uses or you can install Oracle Java.

http://www.mjmwired.net/resources/mjm-f ... .html#java

I tend to avoid Java because of the high security risk with the package. Their track record on keeping security holes plugged isn't exactly what I'd consider stellar.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Opening jar files in Fedora
PostPosted: Tue Aug 21, 2012 5:03 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9349
Location: "Looking for my eraser" =P
Thanks guys. :)

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Opening jar files in Fedora
PostPosted: Tue Aug 21, 2012 5:11 pm  (#5) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 315
A bit more

Assuming you have java installed, cant see why not

In win you might have a <something>.exe launcher

the linux equivalent might be a bash script <something>.sh

the contents might look along the lines of (example for imagej

#!bin/bash
java -Xmx512m -jar /home/user_name/ImageJ/ij.jar

and this will allocate extra memory etc.

a couple of ways you can run a bash file
sh filename.sh
or if you make it executable use 'dot-slash'
./filename.sh

_________________
Image


Top
 Profile  
 
 Post subject: Re: Opening jar files in Fedora
PostPosted: Wed Aug 22, 2012 9:44 am  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 9349
Location: "Looking for my eraser" =P
Thanks Rich.

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login  

* Subscribe to Gimp Chat's RSS Feed    * Subscribe to Gimp Chat's Tutorial RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group