Is it possible to create stand-alone programs of java with java ME 8

Hello

Java ME compare to java SE, I feel that midlets are similar to applets.

When you work with java, I generally stand-alone programs.

Now, I wonder if it is possible to also create stand-alone programs for java ME, if classes are only using java ME API.

I already noticed that netbeans does not build a project that does not contain a moped, but perhaps, it is possible to create a jar file

using the command javac and jar. Or y at - it specific a reason why netbeans does not generate a project without midlets?

The reason for the request is that I often make small tools in java that ae so called from a script of linux. I guess this could be useful on the invoice pro forma raspberry as well.

Thanks in advance

Jef

Hi Jef-

Java ME compare to java SE, I feel that midlets are similar to applets.

Sort of - similar life cycle methods - if on a conceptual level, Yes.

Now, I wonder if it is possible to also create stand-alone programs for java ME, if classes are only using java ME API.

In a way, Yes. If you build a project, you will notice a file JAD and JAR files in the project's dist directory.  JAD is the descriptor to a MIDlet - in mobile devices, the JAD

file is loaded first to determine if the MIDlet has enough privileges to load and run, before the corresponding JAR file is downloaded.

However, the JAD file can also be included in the manifest of the JAR and copied to the device manually embedded JAR and run there.

I already noticed that netbeans does not build a project that does not contain a moped, but perhaps, it is possible to create a jar file

using the command javac and jar. Or y at - it specific a reason why netbeans does not generate a project without midlets?

You can create JAR files and include them in embedded Java ME projects, but just like cmdlets, use the system (EMS) demand management IP of raspberry, you have a moped to run.

Perhaps mean you that you do not want to launch the AMS and load a moped from the command line on the invoice proforma?

If so, take a look at this section of the Getting Started Guide for the Raspberry Pi.

Tom

Tags: Java

Similar Questions

  • How do you run a stand-alone program after its installation on the CD - RW disc

    How do you run a stand-alone program after its installation on the CD - RW disc

    How do you run a stand-alone program after its installation on the CD - RW disc

    Programs are not * install * to a CDRW at least that the CDRW is seen as a disc using the writing software to package such as DirectCD (Roxio) or OnCD (Nero). A disk used with writing software by packages cannot be used on any PC.

    Files are copied to a CD - RW for storage and retrieval. If the program installs, it install in general in C:\Program Files or similar and often drop files into \Windows and other places, too.

    -steve

  • Is it possible to create the icon PDF format display with the cover of the document image, when sending via "Mail" on a mac?

    Is it possible to create the icon PDF format display with the cover of the document image, when sending via "Mail" on a mac?

    InDesign has no control on how Apple Mail displays a PDF it creates.

    My experience is that Mail displays a preview of a single PDF page, but not a multiple page PDF. In addition, for a single page PDF, the user may tip if the PDF shows a preview by right-clicking the icon/preview.

  • Is it possible to create a database of the Clone with the same name of source db?

    Is it possible to create a database of the Clone with the same name of source db with RMAN...


    DB version is 11.2.0.2

    &

    Is it possible to clone a 11.2.0.2 database at 11.2.0.3 home location directly on a new server. If it starts in upgrade mode, it's ok...

    Hello;

    Here's what I have:

    Frequently asked Questions about the restoration or duplication between different Versions and platforms [ID 369644.1]

    This thread:

    Re: Duplicate RMAN

    Never done it myself, but I think that his

    alter database open reselog upgrade;
    

    I can predict all the details of this are understood to do a test on a system I can trash.

    Best regards

    mseberg

  • using a VI to open another stand alone program

    Hey guys,.

    I would like for my program to be started by the user and some bring to pour some selections that would then open up a new program stand alone. Where each individual program would actually the bulk of the program as a whole and perhaps utalize its own probably producer consumer model. Once the secondary program ends, I would like it to return to the original program for the user to make new selections and open an another prgram.

    to me, this feels do able as having essentially a main loop that calls functions only.

    If someone could just link me an article or something that would be great. I was looking around and found something on this call chain VI, is part of what I need?

    also, I'm always open to suggestions if this seems to be difficult to follow way or a wrong way to do it.

    Thank you guys

    You can do this visually adjusting the Visual parameters on your VI.

    I usually use a custom configuration and call before Panel.Window.State property on your VI, it should look like this:

    Do the reverse on your slot - VI and you will get a break. You will also need to make some changes to the section of the appearance of the properties of the VI window.

    This will give you a visual appearance and the type of break you're looking for.  Also, you probably want to use a structure of the event as your main loop function.

    Kind regards

    Tim

  • The message indicates that after running a stand-alone program

    I met a strange problem when starting to run the program, which is an installation program created to 8.5.

    The window displays

    even I'm not using Web server. How to do around this issue?

    Thank you

    Ott

    In LabVIEW, all settings in tools-> Options are saved to ...\Program NIUninstaller Instruments\LabVIEW 8.5\LabVIEW.ini

    If you create an executable .exe this .exe has its own ini - file, located in the same direcory as the executable file. The name of this ini - file is .ini. In .ini, you can do the same parameters as in LabVIEW.ini.

    So, if you speak of an executable: changes in LabVIEW.ini via the tools-> Options dialog box has no effect .ini

  • Access Oracle BPM process through Java stand-alone program

    Hello

    I'm trying to access BPM processes by Java program.
    I use Oracle BPM Studio 10.3.1.0.

    Code:

    package integration;

    Import fuego.lang.Decimal;
    Import fuego.lang.DynamicObject;
    Import fuego.papi.Arguments;
    Import fuego.papi.CommunicationException;
    Import fuego.papi.InstanceInfo;
    Import fuego.papi.ProcessService;
    Import fuego.papi.ProcessServiceSession;
    Import fuego.papi.OperationException;

    import Java.Math.BigDecimal;

    to import java.util.Iterator;
    import java.util.Map;
    import java.util.Properties;

    public class IntegrationManager {}
    public IntegrationManager() {}
    }

    Public Shared Sub main (String [] args) {}
    Prepare the IntegrationManager = new IntegrationManager();

    Properties configuration = new Properties ();
    Configuration .setProperty (ProcessService.DIRECTORY_ID, 'default');
    configuration .setProperty (ProcessService.PROJECT_PATH, "C:/OracleBPMWorkspace/Test");
    try {}

    ProcessService processService = ProcessService.create (setting);
    } catch (OperationException e) {}
    e.printStackTrace ();
    }
    }
    }


    I'm special suite:
    Exception in thread "main" java.lang.NoClassDefFoundError: fuego/directory/DirectoryException
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName(Class.java:247)
    at fuego.papi.ProcessService.getFactory(ProcessService.java:431)
    at fuego.papi.ProcessService.create(ProcessService.java:335)
    at Integration.IntegrationManager.main (IntegrationManager.java:55)

    East fuegopapi - client.jar in your classpath?

    You should find it in $BPM_HOME/client/Grandpa/lib

  • Looking for a RESEARCH COMPANION (XP) as a stand-alone program or app!

    I need a standalone app/program ALL AS ASSISTANT in SEARCH of XP.  Why is it so hard to find?  Puggle is close, but non-des.  All I need is (the real thing or a clone of) research companion to fit on a USB key, etc..  I want to Windows 7 and Vista!  It is not that hard to find!  What MS is going to sue anyone who does something like XP S-C function?  There is no need to index anything, just instead there need to look through everything, just like the S-C and have ALL the options as S-C a/a.  I didn't ask cela it to hear all extolling the virtues of Windows 7 search - so do not!  Instead, I JUST ask an app or program I can put on a USB key.  Clear as mud?  Geeze, I still use XP on the network to find my W7 and Vista machines.

    PS - I don't have time to get a tutorial 'finding '.  Let's just get the XP S-C at the moment, and then mabye later...

    Hello

    I would ask you to post your suggestions and comments on the website below:
    www.Connect.Microsoft.com

    I hope this helps.

  • Is it possible to create a 5.1 dolby video with HDV in first Elements 9 clips

    I'm trying to take the stereo input of HDV clips and use them for the front left and front right.  I want to add stereo music to two rear channels and add an explanatory text for the center channel.  Is this possible in Prime Elements 9?

    Thanks for the pointers...

    Welcome to the forum.

    Unfortunately, before cannot encode to DD 5.1 SS for export/Share.

    PrPro, be optional Minnetonka Audio / SurCode DD 5.1 SS plugin (about US$ 250) to encode the Audio in AC3 DD multichannel.

    Pre can Import DD 5.1 SS, but stereo mix (2 channels).

    Good luck

    Hunt

  • Creation of stand-alone executable file with similar library files without errors of link

    I have an Executive Test that is run on two different test systems. Each stand has another card ARINC429. The old card use 429dll32.lib, while the most recent map use pci429.lib. Test Exec code only loads a single library file (using LoadExternalModule) depending on what the test bench has the card, but since there are many similar functions in both, ICB does not test Exec be built as a stand-alone executable.

    In CVI 5.0.1 I opens the "Create stand-alone executable file" and select "add files to the executable. I check the 429dll32.lib and the pci429.lib to include in the creation of executable, and then click 'OK '. When I click 'OK' to create the executable I have several link errors, one for each function both .lib files have in common.

    Is it possible for each of these .lib files to be included in the compilation without having to create two separate executables?

    eatmontr:

    If you use LoadExternalModule(), you need not include the .lib files in the Executive test project.  Refer to the CVI for LoadExternalModule help.

    Here's the info on the help:

    LoadExternalModule loads an external object module file. You need not list the file in your project or loaded as a module of an instrument.

    The file may be an object (.obj) file, a library file (.lib) or a library (.lib) import DLL.

    Here are a few articles to OR who can help.

    To access the plug-ins with CVI (with sample program) http://zone.ni.com/devzone/cda/epd/p/id/133

    How do I call dll if I have two functions with the same named in two different dll? http://digital.NI.com/public.nsf/allkb/5299ED8D43F3B5FE852563BF0056EBA6

  • How can I control external devices using a stand-alone touchscreen with a LabVIEW app

    For my senior project my group design and created a vehicle for extended range hybrid with 90 Li + battery which is charged by a 15 kW generator and/or who is also charged by a 5 kW fuel cell. Currently, our system is able to measure the tension on batteries and display them on a laptop via LabVIEW. To process these data, we use a cRIO FPGA. What we would like to do now, is having a touch screen for the pilot to choose which loads of source of battery power so that monitor a pressure reading from the fuel tank.

    What kind of touch screens to LabVIEW to be downloaded on and used for controls?

    A cRIO has the necessary capacity to supply such a screen and handle the transfer of the data from the sensor fuel and relay (for turning on and off will deepen)?

    Do I need an additional license to create stand-alone applications and how I would go about creating a stand-alone application?

    Sorry for the question as much. Any help with the answer. Thank you!

    This looks like a very interesting project.  If you are interested, National Instruments organizes an contest of Design student where you can win cash or a trip to Austin for NIWeek.

    steve215 wrote:

    What kind of touch screens to LabVIEW to be downloaded on and used for controls?

    NEITHER sells computers touch screen that can be used to control LabVIEW applications.  You can find more information here: HMIS and industrial touch panels and here: LabVIEW Real-time and Touch Panel Deployment and replication resources. Our computers 6-inch touchscreen , run Windows CE, programming on them is a little different from the programming on a full Windows operating system.  You can find useful getting started with LabVIEW Touch Panel Module .

    You can use third-party with the LabVIEW Touch Panel Module devices, although it takes a deployment license for it.  More information can be found in the getting started guide.

    If you were able to send the information of cRIO on a network (which according to your description, seems unlikely), you can use a smartphone to control your application.  More information on our community of Smartphone group.

    steve215 wrote:

    A cRIO has the necessary capacity to supply such a screen and handle the transfer of the data from the sensor fuel and relay (for turning on and off will deepen)?

    If you use the 6-inch touchscreen panels, they need 18 to 32 VDC (the fuse becomes an open circuit if the input level exceeds 33 VDC).  The transfer of data from the switching relay can be monitored and changed with the touch screen.

    steve215 wrote:

    Do I need an additional license to create stand-alone applications and how I would go about creating a stand-alone application?

    If you have traveled the road of the touch panel, you need to purchase the LabVIEW Touch Panel Module and a touchscreen.  Touchscreens OR have a touch panel deployment license.  Guides step by step to create the stand-alone application are in the getting started with LabVIEW Touch Panel Module .

    Kind regards

    Elizabeth K.

    National Instruments | Sales engineer | www.NI.com/support

  • How to move a stand-alone series C of Cisco UCS managed service profile without losing any data?

    Hello

    We currently have a stand-alone series cisco C with 2012 Windows Server installed on the local disks.  We need to go this Cisco UCS server managed with a service profile, but can not lose existing data and the method of operating system boot.

    Does anyone know how to do this?

    Thank you

    Hi Adrien,.

    To be able to accomplish this together the local drive to 'any Configuration' policy this way UCSM won't overwrite the current raid on the server configuration.

    See the link below

    http://www.Cisco.com/c/en/us/TD/docs/unified_computing/UCS/SW/GUI/config...

    Let me know if that helps

  • GemFire Server stand-alone or embedded in the spring (and having spring acting as a client)

    What are the advantages, disadvantages of server running in the context of the spring gemfire request vs stand-alone?

    Thank you

    Jack

    Hi Jack,

    I think you can consider those as the same advantages/disadvantages of having data in-process and out-of-process management strategies.

    Basically, you will share the JVM memory between your own application objects and you're caching the entries, which may or may not be a good approach, according to the case of the use and the amount of data.

    For example, running several web applications on an application server and having many of them store a large number of entries in cache on the same JAVA virtual machine can lead to errors of memory so that is not properly sized.

    An alternative in this case would be to have each web application acting as a client and seen their access stand alone hiding nodes (each with their own JVM) that can only contain data (being a stand-alone cache server), leaving the client to decide if he wants to not keep the entry LRU – least recently used-, for example.

    Although there is nothing wrong with having embarked on these applications, servers or have their work as peers, always take into account that, as was said, memory will be shared by your own objects and the cache entries. An immediate advantage of this approach is that access to the data in these cases are very fast.

  • Move P6 E8.1 Stand Alone for new PC?

    We have a stand alone version of P6 with Oracle Express local base installed on a single PC. We need to transfer to a new computer. I installed PC on the new machine, but finds it difficult to understand how to transfer the data across.

    I'm completely new to both Primavera and Oracle for any help that can be given would be welcome.

    Thank you

    Hello
    You have different options to transfer your data.
    (1) your projects in SET or XML files to export and import into your new PC. (will not export obs, put on the page, ect)
    (2) backup of your database with the exp method and imported into your new computer
    (3) to migrate all your information database from the old computer to your new computer with the migrate.bat tool (in the press kit)

    Best regards!

  • create a stand-alone executable of a vision-generating project

    Hello

    I created an application for inspection. This application must run on another machine and I want to make a standalone executable out of my vision generator project.

    Just to be sure:

    Is it possible to export my Vision Builder Labview project and create a standalone executable?

    I currently installed

    LabVIEW 2010

    Vision Builder 2010

    I guess I need the Vision Development Module to generate the exported project exe file and run it on another machine I need a for the vision development module run-time license. Is this correct or am I missing something?

    Thank you!

    Hello

    my name is Johannes of National Instruments.

    You are right with you supported. You can generate LabVIEW Code out of the VBAI Inspection. But to do so, you will need the Vision Development Module installed - and cause the Vision Acquisition Software (should be already installed if you have images with the VBAI). Out the LabVIEW source code, you can create a stand-alone executable. But this executable runs only if you have installed the Vision Development Module Run Time on the target and activated the cause (run-time license).

    For the target you don't need another license for the acquisition of vision software - which is included in the Vision Development Module Run Time.

    Johannes

Maybe you are looking for