Run java and .jar app in terminal?

I've make/install some commandline programs in the past, but my tiny experience has failed me for this java file.
Ipswitch has a java program that they provide that provides encrypted ftp transport via https. Here is the relevant passage from their guide:
To "install" MOVEit Xfer under Java, simply extract the contents of the MOVEit Xfer for Java archive file into a directory. To run MOVEit Xfer, you will either need to have a Java runtime executable in your command-line "executable path" or explicitly provide a path to that executable in the command line.
OK, the folder contains a xfer.jar file, some example .bat files and the html/support for their help guide.
Seeing as it's a .jar and not a .java file makes me think I could drop it in my /local/ folder.
I believe /local is in my PATH, but I'm finding no java love.
I had thought the .jar was executable, but I'm showing my ignorance. How would my command look like with the executable it's looking for? thanx, sam

Hi Sam,
You can indeed launch a jar file from the command line, with the following command:
java -jar yourfile.jar
As well as this you can assign "Jar Launcher" as the default app. to use when you double-click a jar file, as follows (I don't believe you need the developer tools installed for this):
http://macosx.com/tech-support/mac/how-to-execute-a-jar-file-in-os-x/9549.html

Similar Messages

  • HT5559 i'm trying to run java and i'm getting an error when verifying installation that says inactive plug-in

    I"m trying to run java and I'm getting a message that says it is unavailable.  When I verified installation it says inactive plug-in?

    http://support.apple.com/kb/HT5559?viewlocale=en_US&locale=en_US

  • HT4814 TCP and UDP ports on router firewall to allow server to server administration running mavericks and server app 3.0?

    What TCP or UDP ports do I need to open on my router firewall to allow server to server administration running maverics and server app 3.0?

    Also you may want to open tcp port 625 so that you can update the server's OD master.
    More info can be found here: http://support.apple.com/kb/ts1629  Well known TCP/UDP ports used by Apple Products.
    HTH
    - Leland

  • How to set variable to run java and j2ee

    how to set variable to run java and j2ee

    Please ask a specific and comprehensible question. Consider describing with less vagueness the actual current problem that you are encountering.

  • I have a macbook pro with OSX 10.5.8.  How do I upgrade to Mountain Lion when it is available?  I need to upgrade to run quickbooks and other apps

    I have a macbook pro with OSX 10.5.8.  How do I upgrade to Mountain Lion when it is available?  I need to upgrade to run quickbooks and other apps

    First, you need Snow Leopard (10.6): http://store.apple.com/us/product/MC573Z/A. Then you use Software Update to update it to 10.6.8. When Mountain Lion (10.8) comes out, find it in the Mac App Store.

  • Running java and C++

    hey can you please tell me how can i make and run C++ and java programs on my macbook..
    kindly guide
    thanks

    Install Xcode on the system installation disc.

  • How can i run java windows(class) app. from studio creator

    Hi experts,
    I want to run windows application(which write with java and compile javac, i have got *.class) from studio creator.
    For example;
    import java.awt.*;
    import java.awt.event.*;
    public class IlkPencere implements WindowListener,ActionListener
    public Frame p1;
    public Button btnIkinciPencere;
    public Button btnKapat;
    public int X;
    public int Y;
    public void PencereAyarla(String baslik,int genislik,int yukseklik,int konumX, int konumY,Color
    arkaPlanrengi)
    X=konumX;
    Y=konumY;
    p1=new Frame(baslik);
    p1.setLocation(konumX,konumY);
    p1.setBackground(arkaPlanrengi);
    p1.setSize(genislik,yukseklik);
    p1.setLayout(new FlowLayout());
    p1.addWindowListener(this);
    btnIkinciPencere= new Button("Ikinci Pencere");
    btnKapat=new Button("Kapat");
    p1.add(btnIkinciPencere);
    p1.add(btnKapat);
    btnKapat.addActionListener(this);
    btnIkinciPencere.addActionListener(this);
    p1.setVisible(true);
    public static void main(String args[])
    IlkPencere p=new IlkPencere();
    p.PencereAyarla("ANA PENCERE",250,100,0,0,Color.white);
    public void actionPerformed(ActionEvent e)
    if(e.getSource()==btnKapat)
    p1.setVisible(false);
    else if(e.getSource()==btnIkinciPencere)
    IlkPencere p=new IlkPencere();
    X=X+50;
    Y=Y+50;
    p.PencereAyarla("ANA PENCERE",100,100,X,Y,Color.red);
    public void windowClosing(WindowEvent e)
    System.exit(0);
    public void windowOpened(WindowEvent e)
    public void windowClosed(WindowEvent e)
    public void windowIconified(WindowEvent e)
    public void windowDeiconified(WindowEvent e)
    public void windowActivated(WindowEvent e)
    public void windowDeactivated(WindowEvent e)
    I am using java server. I want this ; Any client can run my project(create with studio creator) with explorer after click any button after this class run application windows(but this windows application must run on server)
    I don't want to install any program in client PC. Client PC which have got only explorer, may be use this application.
    Thanks,

    or can i hidden explorer tools and address bar. User must use only my application menu.
    How can i solve it.

  • I made a app in java and jar bundler, can I publish it to the App Store?

    So yah I don't want to become a developer until I know if I can publish my apps, can I? Remember it is made with Java not x code. It is still in .app form though

    You need to contact Apple's developement community, this is the wrong forum.

  • Communication between java and c++ app

    I have a java app and a c++ app, and I would like theese to exchange information, how do I do that? I know one way would be to open a socket in each app and write/read from that, but that seems really unneccessary since both apps will probably be running on the same computer. It has to be a better way...

    You can use the local file to exchange data or use JNI to invoke the C++ application method.

  • Packages needed for running GNome and GTK Apps

    On my desktop machine, a SPARC Sunblade 1500 I use the Java Desktop and successfully run such things as gedit, gnome_terminal, Eclipse, and Oracle's SQL Developer. I'm trying to determine what packages I need to have installed on my development server box so that I can run those applications there (still using my desktop as the X server).
    The server is a Sun Fire V240 running SunOS 5.10 , 11/06 , 118833-36. It has 4G of RAM. Gedit, gnome-terminal, and eclipse come up but they behave poorly. In additions some visual components appear only slowly or never at all: the gnome-terminal scroll bar doesn't show except for a gray rectangle the length of the screen. Menus in eclipse are painfully slow to appear and react.
    Any idea what is missing from the installation? Thanks for any help you can give.
    Tom True

    I apologize in advance for not being able to provide a specific answer to the
    problem you presented, but hopefully this might eliminate a few variables
    from the equation.
    When I need to find missing packages, I always use "pkginfo" on each box
    and compare lists. (pkginfo, pkginfo -x, pkginfo -l)
    When I can't find the answer there, I go ahead and bring my machines up to
    date with the latest Recommended patch cluster (following the directions on
    Jumbo patches will prevent a lot of problems i.e. use single-user mode, do
    not use -nosave option, and patch twice***see below)
    Regarding the display issues, here are some of the things I would
    check for (most of these should not matter if they differ, but it helps in
    overall troubleshooting)
    Are the locales the same ISO8859-1 vs. ISO8859-15
    (/etc/default/init)
    How is the network traffic between the two?
    Do the SB1500 and the V240 have issues resolving each other's I.P.?
    (/etc/resolv.conf /etc/inet/hosts /etc/nsswitch.conf)
    Are they both patched to the latest and greatest Recommended patch levels
    ( ***see latest README for 10_Recommended.zip for new warnings)
    differing versions of SSH? OpenSSH vs. ssh.com vs. Sun_ssh 1.1
    If they used the same internal disk drive, I would dd the good one, and take
    the copy to a V240 and see what happened on a boot -rv. Unfortunately, they
    do not in this case.
    CLUSTER_README
    NAME: Solaris 10 Recommended Patch Cluster
    DATE: May/22/07
    WARNING!! IT IS HIGHLY RECOMMENDED that the installation of this patch
    cluster be performed in single-user mode (Run Level S).
    ************** CAUTION:**************
    This cluster contains kernel patch 118833-36. Depending on the current
    kernel patch revision on the target system, this kernel patch may deliver a
    significant amount of code change. On certain configurations, some manual
    steps may be required in order to safely apply this patch. Please carefully
    review the Special Install Instructions in the 118833-36 README before
    installing this cluster. Note the following in particular :
    Use of the -nosave option with the install_cluster script is NOT
    Recommended, see 118833-36 README NOTE 74.
    Once all preliminary precautions have been taken, the cluster may be
    installed.
    Depending upon the starting patch level of the system, the cluster install
    script may need to be run up to two timeswith a reboot after each run in
    order for all the patches to be installed
    ....

  • Run Java Applet (JAR) in Visual Basic

    Hi,
    I want to start a java applet within a visual basic form.
    One opportunity would be to implement a browser control and load a html file with the applet object in it.
    Is there a way to load the applet in VB without a browser control?
    Thanks for any tips & hints

    Oh, I'm aware of this way to start the applet.
    That's not what I want to achieve.
    I want to have the possiblity to integtrate my applet in a vb application (in a window in the vb app). For example if I would use MDI Forms I want the java applet to start as a child within the main vb window.
    I thought of using a browser OCX Control and loading a html which has the object tag with the java applet.
    Thanks anyway!

  • Running java and javac

    Is there something I can do so I don't have to be in the same directory as the java.exe and javac.exe in order to use to run and compile?

    Go to the page you downloaded Java from, and read the JDK's Installation Instructions, paying particular attention to #5..

  • Running a C++/OpenCV app from terminal (which was first created in Xcode)

    Hi there,
    First of all, I'm pretty newbie to Xcode, since I've always coded in Textmate. But now I have to use XCode for using OpenCV, because I created a opencv framework. If I build&run the code in XCode, it works great, but now I have to run it from Terminal and it gives me an error (i do "./" to the release build):
    *dyld: Library not loaded: @executable_path/../Frameworks/OpenCV.framework/Versions/A/OpenCV*
    *Referenced from: /Users/Victor/Documents/PFC/src/opencv/blob/build/Release/./test3*
    *Reason: image not found*
    *Trace/BPT trap*
    If I try to compile the .cpp myself from Terminal, it says it doesn't find the opencv libraries.
    So, how do I run this? I thought that XCode would provide me a build for running it anytime without XCode.

    Ok, false alarm. As I said, I'm pretty newbie: i was building on Debug mode so the Release build didn't wrk because of that. Now it works great

  • Bought the new iPad and it's up and running, itunes and the app store are working well but when I try to open up either FaceTime or messages they won't open and a message appears cannot open try your connection.  Help what is not right.

    Have just bought the new iPad, everything working fine including iTunes, the app store and iCloud but when I try to log in to both FaceTime and imessage an error message comes up saying it cannot connect and to check my connections.  What am I doing wrong.

    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
     Cheers, Tom

  • Unable to run war and jar when both deployed on the same server

    hi,
    i getting errors viz,(LogInterceptor,EJBException in method(bean classes).ihave deployed jar successfully on the Jboss server4,and i am able to excute a simple jsp file (which call the bean from jboss) from Tomcat server where i have put my client file.But if i try to put both the same war file in the jboss and then try to excute .It doesn't execute but pops above error .What is the reason????

    Stack trace please.

Maybe you are looking for

  • HP Officejet Pro 8500 A 910 - Missing entry: RunDLLEntry

    Each time I boot up my computer, I get the following error message on the Desktop: Error in C:\Program Files\HP\HP Officejet Pro 8500 A 910\bin\HPStatusBL.dll Missing entry: RunDLLEntry I can't find this file. I uninstalled the printer and reinstalle

  • Comments rolling off the page

    OK, ironically I actually am having a problem with comments that is different from the one problem that I have seen all the posts on. A friend of mine sent me a document to review and as I started to make comments and suggest syntactical changes the

  • External hard drive choice

    Hi I would like to buy for a MBP an External Desktop Drive. This will be my first one. Could you please recommend me some good quality hard drive. Also could you please tell me when I am choosing what options to look for please? For example I would l

  • Error in SSO test

    Hi all,   I have implemented the SSO by using SSO configuration between SAP Portal 7.3 and ECC 6.0 Ehp 6 document.   The system object test is successful and trust is established.   For  SSO testing system admin-->support-->Application integration an

  • No App to shoot video?

    I see this onslaught of iPhone App's of almost every type hitting the market...but have yet to see one that lets you shoot video with the iPhone's still camera, anyone seen a video app for the iPhone on the market yet?