Running application(.jar) without installing sdk

I have developed a javafx desktop application for my college students and gave them the application packaged into a jar file....Now the problem is that they want to run the application without installing the entire sdk.....Is there any way to run it without installing the entire sdk.....
Hope Philho gives a useful answer as he does to all my other questions......

Alas, I don't have all the answers... And I must leave some work to do to other people! ;-)
AFAIK, there are only two solutions: install the SDK (not a big problem, is it?), or the official way: use a JNLP file that will run the application while automatically downloading the runtime.

Similar Messages

  • Run swing applet without installed plug-in

    Is any possible way to run swing applet without installed java plug-in? Does exist way how to load swing classes from server?

    Is any possible way to run swing applet without
    installed java plug-in? Does exist way how to load
    swing classes from server?It is impossible to run a swing applet without the plug-in.
    There may be a solution : include the swing library in your applet,
    so you don't need the plugin anymore (personnaly i prefer having
    the plugin downloaded once and the use it as needed).
    For the load from a server you will need to be more specific, but
    don't forget : the applet don't run on the server, so it won't request
    Swing classes from the server.

  • Run exe file without installing labview

    i created my labview into exe file. I need to run this exe file on another computer which have no labview application. There's anerror when i try to run it.What do i have to do without installing labview application into another computer?
    Solved!
    Go to Solution.

    As Freelance_LV already asks, there are possibly additional components you require for your EXE to run.
    The easiest thing to point out is required hardware devices and their drivers. If that is available (or not used), the EXE should run with the correct LV RTE (runtime engine). You can think of the LV RTE as of the .NET framework.
    Please note that most drivers and runtime engines from National Instruments are free of charge for deployment. But there are some runtime engines which are liable to costs.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Can I run a soft without install sql server?

    I just wrote a winform C# program and use SQL server 2012 for data. 
    Can I run this program on other machine without install sql server ? 
    If I can't. Are there other program simpler than sql server help me run it ?
    THANK ALL !

    Agree with Nicolas. You need to modify connection string to point to proper server name. This might help in getting proper name of instance.
    http://sqlserver-help.com/2011/06/19/help-whats-my-sql-server-name/
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Run applications ( .jar files) by bash on linux

    On linux:
    I have a swing application and its jar file. I created an executable file using bash script to run the jar file
    #!/bin/bash
    java -jar myapp.jar
    this runs in console normally but when i clicked the executable file, the application runs too but immediately closes. I think the problem is that this can't recognize the swing-layout.jar (swing library) so that the swing components (JFrame,Jbutton) cannot be showed!
    There must be a way for the executable file to recognize the libraries (swing, layouts) for the application by using bash script ?

    There can be number of reasons for that. I suggest you following way:
    1. Modify your script in following way:
    #!/bin/bash
    java -jar myapp.jar 2>/tmp/log.err 1>/tmp/log.out
    After unsuccesful execution check content of /tmp/log.* files and see details of the error.
    Often such errors are caused by environment. May be you just don have java in your PATH .. May
    be DISPLAY is not set .. I don't know.
    To workaround env issue you need to dump environmentin from console:
    declare -x >env.sh
    After that include update your .sh script in following way and see the difference:
    #!/bin/bash
    . env.sh
    java -jar myapp.jar 2>/tmp/log.err 1>/tmp/log.out

  • Run labview executable without installing

    Hi
    We need t run a LabVIEW executable without the need to install the runtime engine first.
    In fact we use a LabVIEW program to distribute LabVIEW within our company.
    We add our own library and a special license request form and make it possible to install a LabVIEW development environment
    with only the push of one button.
    In LV8.2 however this no longer works. First the runtime environment has to be installed before we can run our LabVIEW application.
    Previous LabVIEW versions worked OK.
    Are we missing an option in the installer somewhere or can somebody show the way to make this work again otherwise we have to keep 8.01 until infinity....
    greetings from the Netherlands

    Hi Albert,
    Long time no see... Perhaps at the user group meting okt. 5?
    We (Andre) did some experiments with this just last week. He copied everything from the normal installation directory (program files) runtime directory to a new directory on a clean PC. In the same directory he put an executable, and it did run properly (although I think he also copied the models directory to get proper control images).
    Only thing is that at the startup of the exe, we get a dialog "Installing...". Still working on that. This might even work from a CD...
    He made a big effort to remove all previous LabVIEW stuff, but to be honest, we didn't try it on a completelly "clean" system.
    Regards,
    Wiebe.
    "Albert Geven" <[email protected]> wrote in message news:[email protected]..
    Hi We need t run a LabVIEW executable without the need to install the runtime engine first.In fact we use a LabVIEW program to distribute LabVIEW within our company.We add our own library and a special license request form and make it possible to install a LabVIEW development environmentwith only the push of one button.In LV8.2 however this no longer works. First the runtime environment has to be installed before we can run our LabVIEW application.Previous LabVIEW versions worked OK.Are we missing an option in the installer somewhere or can somebody show the way to make this work again otherwise we have to keep 8.01 until infinity....

  • Run MSOnline Module without installing Microsoft Online Services Sign-In Assistant

    Hi guys,
    I would to check if it is possible to run Azure Active Directory Powershell (MSOnline) without installation of 
    Microsoft Online Services Sign-In Assistant
    Azure Active Directory Module for Windows PowerShell (64-bit version)
    I'm coming from the point of application deployment where the objective is to reduce additional installation to the server and to package the DLL, PSD1 (if required) of the Azure AD Module and run it like a portable app.
    Did anyone manage to do that? 
    i found the modules installed in one of my testing machine C:\Windows\System32\WindowsPowerShell\v1.0\Modules\MSOnline and i tried to run the module in a new server without any installation of those mentioned above, it gives Type Initialization error. I
    believe it is caused by lacking of Microsoft Online Service Sign-In Assistant. 
    Where are the dlls stored for MS Online Sign-In Assistant so that i can try to copy to the new server and test? 
    Thanks in advance!
    Cheng

    Hello,
    Thank you for your post. We are checking on the query and would get back to you soon on the same.
    I apologize for the inconvenience and appreciate your time and patience in this matter.
    Regards,
    Neelesh

  • Running windows apps without installing XP

    So we all know that virtual pc does not work on the intel macs.
    I'd rather not install windows xp as a secondary install as i don't have an SP2 disc.
    Are there any other solutions? All i want to do is run one or two simple apps that won't run on mac os.
    MacBook 2.0Ghz 2GB ram   Mac OS X (10.4.7)  

    You have quite a few options, actually:
    Parallels (http://www.parallels.com/)
    or...
    CrossOver (http://www.codeweavers.com/products/cxmac/)
    Parallels more or less provides the same functionality as Virtual PC, while CrossOver will actually allow you to run select Windows applications natively in OS X. Hope that helps.

  • Is it possible to run AIR apps without installing them?

    Hi there,
    Just have a sudden thought. Most Adobe AIR apps I have seen required installation before execution. Is it actually launch the application directly from the .air file without installatoin?
    You know, some users are quite reluntant to "install" software onto their machine, and moreover in some environment "installation" requires special priviliege. For some tiny utilities, (e.g. a simple calculator, you name it), it would be really handy for users to be able to exceute them directly after downloading the .air file, or even directly from web pages.
    Thanks,
    Kenneth

    I see. Thanks for your help.
    Really wish Adobe would consider adding direct execution feature to AIR.

  • Running application jar and connecting to cache

    Hi
    I created a runnable jar that I run using
    java -jar RunnableJar.jarIn this application i create a named cache with objects.
    NamedCache productInformationNamedCache = CacheFactory.getCache("cachename");
    config for this cache is:
    <cache-mapping>
          <cache-name>cachename</cache-name>
          <scheme-name>default-replicated</scheme-name>
    </cache-mapping>Everything works when I run jar, this and other caches start and process data but when it finishes it closes all caches and besides that during the execution of the jar i can't connect to this caches using other application and invoking:
    NamedCache productInformationNamedCache = CacheFactory.getCache("cachename");Isn't it how it's supposed to work. Correct me if wrong.
    My question is how to make this application persist cache objects and how to connect to it from other application. Im using eclipse and building a runnable jar.
    Thanks

    Hi,
    Are you packaging Coherence into your jar? Or is it on your class path?
    The reason I ask is I'm trying to work out what Cache Configuration it's using. I'm guessing the one from the coherence.jar?
    -- Brian
    Brian Oliver | Architect | Oracle Coherence Engineering
    Oracle Fusion Middleware

  • Running a Jar without knowing the JDK version

    Hy all,
    Its me again, with another beginners question:
    What i have is a jar, compiled with jsdk1.6.0_03. this jar runns correctly by using this jdk, if
    i now try to doubleklick and start it it wont of corse not, because our systems are configured
    to use jdk1.3 or even lower.
    Now what am i searching for?
    - Is there a possible/ standard way to somehow add a jdk to the jar and use that one?
    - Is there a possible way to determind which jdk shall be used without modifing system properties but
    may modifie the manifest?
    Well thats already all i need to know, there is something i have to offer and may be interesting for someone:
    Loading Pictures from a Jar:
    Assume the following little project package- structure:
    MyProject (Classpath & Root folder of the Project)
    - src (Source Folder of the Project that somewho acts as the root- package)
    - MyClass.java (This shall use the picture)
    - res (There are the pictures we want to load in MyClass.java)
    - winner.jpg (The picture we want to load
    Therefor we start in MyClass.java:
    InputStream is = this.getClass().getResourceAsStream("res/winner.jpg");
    byte[] imageData = readData(is); //The method readData(InputStream is) follows below
    ImageIcon icon = new ImageIcon(imageData);From now you can set the ImageIcon or use its getImage(); Method to get the ImageIcon itself,
    The Image or you can even use the imageData byte[] to do other stuff
    The Method readData:
    private byte[] readData(InputStream is) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try {
                byte[] buffer = new byte[is.available()];
                int len = 0;
                while((len = is.read(buffer)) != -1) {
                    baos.write(buffer, 0, len);
                is.close();
            } catch(IOException e) {
                System.out.println("read error: " + e.getMessage());
            return baos.toByteArray();
    }Note that i am not sure if this is the best/ fastest way to manage this issue, but its for sure a possible solution.
    Regards
    Balsi

    Thank you very much for your fast replie,
    And thanks for the hint with available, i will search other solutions then.
    (Thought it would be better then just knowing any picture is lower than 5000 and init a array with 6000 then)
    Just read the documentation and saw that this method's java doc would have told me to NOT use this solution.
    Well... that was the nice part, here comes the other one:
    - Who do you think you're helping by telling "your source sucks, it's not thought to do it thatway" without any solutions
    so i and others may could learn from your knowledge? noone, just post solutions to problems or let it be.
    - Compiling it in the java -version given by the system is surely the simplest solution, already happened and the
    mentioned jar is delivered, but was that my question?
    Dont hate me because of this;)
    Or well do so, its the internet, i dont care;)
    Regards & Thanks again
    Balsi
    P.s. the question going to the way of the functionallity of Install Anyware (determining the java version of a system, using thatone or use a own one)
    is still open..

  • How can I use charsets.jar without installing it in the client JRE?

    Hi! I've an applet that needs to do some CP850. Since many of the clients are from english speaking countries, they do not have the appropriate JAR that supports the CP850 encoding. Now, I have the charsets.jar which has this encoding. If I install it in the client jre/lib/ext folder, my applet works perfectly, but I don't want to do that. Instead, I want the applet to read it from its own jar or, including the charsets.jar in the archive parameter. I have tried both, adding the whole of charsets.jar to my applet jar using jar -xc dependences\charsets.jar, and also, by putting it in the archive parameter of the applet. None of them works, and I don't know why. If someone can tell me why it didn't work, and how can I make it to work, I'll be very thankfull.
    I've been trying also to use a URLClassLoader, but here I got access exceptions:
    URL urlCharsets = new URL("http://url.com/jars/charsets.jar");
    URL[] urls = {urlCharsets };
    URLClassLoader classloader = new URLClassLoader(urls);
                        classloader.loadClass("sun.io.ByteToCharCp850");Security Access exception here... and the charsets.jar that I'm loading IS signed. No idea what to do here.
    Best regards and happy new year!
    Message was edited by:
    obirenokenobi

    Hi,
    Assuming your applet jar and the charset jar are ine the same location on your
    server, I'll suggest to use this:
    <applet code="myapplet/myapplet.class" archive="myapplet.jar,charset.jar" height="400" width="550"></applet>Hope that help,
    Jack

  • Running a windows app on imac without installing windows

    Hi, how can I install a windows based application on my mac and run the program without installing windows? I have tried a program called crossover which is supose to be an emulator but it doesn't seem to work. Any ideas please.
    nev5ter

    Windows programs can't run natively:
    (Borrowed from Kappy)
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • Including visa32.dll without installing the complete Pci-MXI cd

    Hi,
    I have an application made in Borland C Builder 6. this application inculudes some visa function.
    Therefore I need the visa32.dll and NiViSv32.dll in my project.
    Because i am developing the application in my room and not in the Lab where we have the VXI Rack, then i don't want to install the CD you deliver call PCI_MXI-2/VXI because there is no need. The problem is that i can't run the program without installing the software in the mentioned CD.Why can't I run my application only using the visa32.dll and NiViSv32.dll.
    May be you can tell me if i am missing another file that is deliver with the CD.
    Thanks
    Yair.

    Yari - I had the same problem (using MS VS C++). Older versions of visa32.dll (up to the last year or two) also had another dll named NiViIO32.dll in addition to NiViSv32.dll. These three dlls did exactly what you want. The latest visa32.dll doesn't use (depend on) NiViIO32.dll and instead depends on the VISA package. Your best bet (and what I did) is to download the VISA run-time engine (go to ni.com, select "Drivers and Updates" under "Technical Support, and then select the "VISA" Product Line, "VISA Run Time Engine" Software and the VISA Software Version and Operating System you use). It's a lot better than loading the full VISA system and MAX.
    Hope this helps,
    Ed Perkins
    Honeywell Int'l.

  • Running javafx from java without jfx sdk installed

    I need to run jfx application on client's computer(without jfx sdk installation and outside the browser) from a java code.
    I also need to path parameters from java to javafx and to get return value.
    What i did:
    1) put a.html, a_browser.jnlp and a.jar files on the server.
    2 )run javafx application from java by swt.browser.setUrl(server address/a.html)
    To pass parameter:
    I know single option to pass parameter - create a1.html, a2.html ... an.html for each possible parameter value and javafx will read this parameter by FX.getArgument("parameter"). This solution is ok in my case. But i don't know how to return value back to java.
    thank you

    Problem solved. I used
    Context context = FXLocal.getContext();
    FXClassType instance = context.findClass("loginscrean.PlayerAdapter");
    ObjectValue obj = (ObjectValue)instance.newInstance();
    PlayersObserver po = (PlayersObserver)obj.asObject();
    po.RestartPlayersList();
    in java method which was trying to connect and in RestartPlayersList(); I used FX.deferAction(function() {  method content  });
    I dont't know whether it is a right way of doing it but seems to be working.
    P.S. The reason why application hanged was being careless with synchronization which as a result caused a dead lock.

Maybe you are looking for