What is a Jad file?

Hi guys,
Can u tell me what exactly is a JAD file?Can i exectue a JAD file directly or do i always need KToolbar to exectue it?
cheers,
Sachin

Hi,
JAD is not an executable. its is java description file. it contains configuration details about the JAR file like size, URL and other data that the application wants to access during runtime. When you pass the JAD file name to emulator it parses the data present in it and loads the JAR file from the location specified in JAD file. so you have to upload both JAD and JAR file to the device for application to work.

Similar Messages

  • How to convert a .jad file to .class file in JAVA Swings.

    Hi all,
    Sorry for the interruption.I am also facing the same problem.I am using DEJDecompiler.But my application is not J2ME But J2EE.( a Swing application).I opened .class file and made some changes but I dont know how to convert into a .class file again.
    I tried saving .jad file to .java file.Then it is showing lot of errors in Eclipse Platform.I doubt if there are any errors in the .class file already,then how could the program would run.I put all the programs in the respective platforms only and then testing.It fails.
    (2) one more question,is if I do not need to disturb any existing coding and need to create a seperate java file which will do my customisation,then what should I do.I could not get any interfaces in the program.
    Please help me as the matter is most urgent.
    Thanks in advance
    With regds
    Satheesh.K

    I tried saving .jad file to .java file.Then it is
    showing lot of errors in Eclipse Platform.I doubt if
    there are any errors in the .class file already,then
    how could the program would run.I put all the programs
    in the respective platforms only and then testing.It
    fails.So who's Java program/library are you trying to steal?
    (2) one more question,is if I do not need to disturb
    any existing coding and need to create a seperate java
    file which will do my customisation,then what should I
    do.I could not get any interfaces in the program.
    Please help me as the matter is most urgent.Wow, you urgently need to steal someones program/library. The best person to give you advice urgently is the owner of the program/library you are trying to steal.
    Thanks in advancePlease don't thank me because I'm not going to help you!
    With regds
    Satheesh.K

  • Problem in displaying image when running a jad file

    I have written a midlet which displays an image in the welcome screen and then shows the main menu for the application. WHen I try to run the code directly from the console by using the command "midp -classpath . teledoc", the code runs fine and also displays the image which is stored in the same directory as the class files. Now i made a jad file so that i can install it on the mobile phone directly but while running the jad file it gives an error that "unable to locate and read the png file". Can anyone tell me why it is happening. I am attaching the code for the midlet below. Also the jad and manifest.txt files are attached.
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import java.io.*;
    public class teledoc extends MIDlet implements CommandListener{
    private Display display;
    private List list;
    private frmreg frmsub;
    private frmconsult frmsub1;
    private frmread frmsub2;
    private frmread_con frmsub3;
    private Command cmdexit;
    private Command cmdexit1;
    private Command cmdreg;
    private Command cmdconsult;
    private Command cmdread;
    private Alert altest;
    public teledoc(){
    display=Display.getDisplay(this);
    frmsub = new frmreg("New Registration", this);
    frmsub1 = new frmconsult("New Consultation", this);
    frmsub2 = new frmread("Select User", this);
    frmsub3 = new frmread_con("Select User", this);
    try{
         Image imgmain=Image.createImage("/teledoc.png");
         Image im1[] = {Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png")};
         String options[] = {"New Registration", "Edit User Info", "New Consultation", "Edit Consultation", "Doctor's Reply", "Exit"};
         list = new List("Main Menu", List.IMPLICIT, options, null);
    cmdreg=new Command("New Registration", Command.SCREEN,3);
    cmdconsult=new Command("New Consultation", Command.SCREEN,4);
         cmdread=new Command("Edit User Info", Command.SCREEN,5);
         cmdexit1=new Command("Exit", Command.SCREEN,6);
    cmdexit=new Command("Exit", Command.SCREEN,2);                    list.addCommand(cmdexit1);
    list.setCommandListener(this);
    catch(java.io.IOException e)
    System.err.println("unable to locate");
    public void startApp(){
    try{
    Image im=Image.createImage("/teledoc.png");
    altest = new Alert("Welcome to TeleDoc", "", im, AlertType.INFO);
    altest.setTimeout(2000);
    catch(Exception e){
    System.out.println("Unable to Read PNG Image :");
    displayteledoc1();
    public void displayteledoc()
    display.setCurrent(list);
         public void displayteledoc1()
    display.setCurrent(altest, list);
    public void commandAction(Command c, Displayable s){
    //if(s==list){
    if(c==list.SELECT_COMMAND){
              switch (list.getSelectedIndex())
              case 0:
    display.setCurrent(frmsub);
              break;
              case 1:
    display.setCurrent(frmsub2);
              break;
              case 2:
    display.setCurrent(frmsub1);
              break;
              case 3:
    display.setCurrent(frmsub3);
              break;
              case 4:
              break;
              case 5:
    destroyApp(false);
              notifyDestroyed();
              break;
    if(c==cmdexit1){
    destroyApp(false);
    notifyDestroyed();
    //manifest.txt file
    MIDlet-Name: teledoc
    MIDlet-Version: 1.0
    MIDlet-Vendor: Jiva Research Institute.
    MIDlet-1: teledoc, /teledoc.png , teledoc
    MicroEdition-Profile: MIDP-1.0
    MicroEdition-Configuration: CLDC-1.0
    ////teledoc.jad file
    MIDlet-Name: teledoc
    MIDlet-Version: 1.0
    MIDlet-Vendor: Jiva Research Institute.
    MIDlet-Jar-URL: teledoc.jar
    MIDlet-Jar-Size: 18546
    MIDlet-1: teledoc, /teledoc.png , teledoc

    The problem probably isn't in you code, nor manifest nor jad file, but in the package process. Your image have to be in the root dir of the .jar file, but it isn't there. Try to see what is in you .jar with your favourite compress tool or with this command:
    %JAVA_HOME%\bin\jar -tfv <yoursuite.jar>

  • How to install .jar/.jad Files without MS Windows?

    Hello,
    it would have been nice if Nokia would also think of non-MS-Windows users....
    I have downloaded a software package from nokia.com, it consists of two files: a *.jar file and a *.jad file, How can i install them on my phone without Nokia Suite? I copied the files now to my microSD card in the phone. Can I just select the files? Does the phone detect these are programs that can be installed?
    I use a 3600 slide, thanx
    Malte
    Okay, I have now copied the two files to the phone and tried to open it,the phone says "incompatible program". But i correctly selected 3600 as my phone when I downloaded it, i talk about the "Download!" tool i want to install.
    Message Edited by pinguin74 on 03-Apr-2009 10:23 PM

    no worries, Radical24 and I are happy to help. i don't know exactly how that works, or the techincalities behind it, i know that even if you download other applications such as Windows Live or even games, then they install without needing to bypass through a PC. must be complicated though to research to do on your own, i know its too much trouble for me, so i just use PC suite to do it. 
    If you found this or someone's comments helpful or like what that person has to say, please give some Kudos to their post!
    Message Edited by adrianhughes on 05-Apr-2009 11:16 AM

  • How to handle long lines in a JAD file?

    Hi all,
    setting MIDlet permissions in a JAD file easily expands the length of one line so that they need to get wrapped into 2 or more lines. AFAIK JADs actually are manifest files and the manifest file spec says that a line continuation is marked by a line beginning with a single space. I use Ant to create the JAD file and Ant's manifest task does it exactly like this. Example:
    MIDlet-Permissions: javax.microedition.io.Connector.bluetooth.client,j
    avax.microedition.io.Connector.socketThis works on my Sony Ericsson phone and in the MicroEmu emulator, but the WTK (2.5.2) emulator complains about that by throwing an exception:
    com.sun.midp.midletsuite.InvalidJadException: Reason = 28
         at com.sun.midp.midletsuite.JadProperties.partialLoad(+259)
         at com.sun.midp.midletsuite.JadProperties.load(+8)
         at com.sun.midp.dev.DevMIDletSuiteImpl.create(+252)
         at com.sun.midp.dev.DevMIDletSuiteImpl.create(+74)
         at com.sun.midp.main.Main.runLocalClass(+20)
         at com.sun.midp.main.Main.main(+80)So who is wrong here?
    Thanks for some information!
    Best regards,
    Brian

    MIDlet-Permissions: javax.microedition.io.Connector.bluetooth.client,j
    avax.microedition.io.Connector.socketif memory serves, inability to handle stuff like above is a known WTK bug.
    Try workarounds like "glueing" permissions into single (long) line or splitting them on commas

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it?
    I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround.
    Briefly, the bug:
    I call a dll from a function node, to initialise and run a spectrometer. If I start up the PC, LabVIEW and run my vi the code runs without complaint, the first call to the dll to initialise the spectrometer doesn;t return an error but the spectrometer is not detected either.
    I've tried various solutions, see the link above, and none work
    The workaround:
    If, at any time before running the code containing the function node I open an 'open file' dialog window, select the dll and click ok/hit enter then everything is fine. When I run the main code the spectrometer is detected.
    I use an express vi to open the file dialog, I specify the start path and file name as constant inputs and just click ok/hit return when the dialog pops up. I don't do anything with the dialog outputs. In fact the vi that contains the open file dialog can be run before the project containing the bug is even open.
    I have to do this everytime I turn the PC on.
    So, either
    1) Can somewone suggest a fix for the original bug?
    2) What is the easiest way to simulate the enter keypress when the open file dialog pops up
    or
    3) Can someone tell me what the open file dialog does under the hood that somehow causes the dll to work and can it be simulated in straight LabVIEW
    I suspect that the dll itself is dodgy ( I have in the past talked to the supplier but not got very far, and I will try again but I would like a quick, temporary solution too). I'm guessing that the file dialog is making some kind of check on the file, and possibly registering its presence with the OS (winXP). I tried using the file/folder exists vi to see if checking the file like that worked but no luck.
    Any help greatly appreciated.
    Dave

    Hi David
    I am very conscious about thread hijacking but this sounded like my issue so I hope you dont mind me asking about your issue. I am hoping that you have a spectrometer from the same vendor as me and its not just me seeing an Error 1097 issue. My spectrometer is from a company called Stellarnet.
    So far I have unable to get it to work with other VIs. There is one condition where I can get it to work but its no good for me.
    Case 1
    I open the VI in a fresh labview environment with no other VIs in memory. The code runs with no issue.
    Case 2
    Labview is not opened. I double click the spectrometer VI in windows explorer.  The VI opens but it fails to run resulting in Error 1097. Personally, I dont see the difference between this and Case 1 above and yet it fails.
    Case 3
    If I already have other VI's in memory and try to load the spectrometer VI and run it fails with Error 1097. This case is the one that most important to me. I have a test executive that will load test VIs dynamically and I can't get this to work. Same problem Error 1097.
    I wanted to share what I have seen with you and to let you know that maybe somebody else has the same issue. I am convinced its the DLL but the vendor dis-agreed saying it was LabVIEW. I couldn't convince him otherwise.
    Thanks in advance
    David

  • How do I add a movie from my laptop to iTunes, what should be the file extension.

    How do I add a movie from my laptop to iTunes, what should be the file extension.

    The extension is usually .mov, .m4v, or .mp4.   But you can't just change the extension.  The movies have to be encoded in a particular fomat.  Anything downloaded from iTunes or plays in Quicktime player will be fine.

  • Help in loading a .jad file

    Hello everyone, I downloaded a couple of ".jad" files on my BB Playbook (32GB ). Is there a way to either load or run the files. They are named; "BrownApocalypseDemo.jad & Chatbuddie9jawap.jad". I used the "Air Browser" app to attempt to view/load the files.
    Solved!
    Go to Solution.

    So, after 4 days, 28 views it turns out I am the sole surviving klut's with a passion of either running or installing on their BB Playbook. Thank you! 
    The true rule, in determining to embrace, or reject any thing, is not whether it have any evil in it; but whether it have more of evil, than of good. There are few things wholly evil, or wholly good.

  • Unable to edit the MobileXI3BB.jad file for pre-configuration settings

    According the Note:1542478 - How to pre-configure connection settings for BusinessObjects XI 3.1 Mobile clients?
    We are trying to edit the MobileXI3BB.jad file to avoid the Config seeting from client side.But wonder we are not able to see the below details in our MobileXI3BB.jad:
    BOBJ_MOBILE_AUTH_SERVER: <mobile server>
    BOBJ_MOBILE_AUTH_PORT: <Port of VAS Service, for example, 11011>
    BOBJ_MOBILE_CMS: <cms address>
    BOBJ_MOBILE_AUTH_METHOD: <authentication type>
    Can any one help us how to solve this?
    Edited by: Srikencha on Jun 3, 2011 8:58 AM

    Hi,
    you won't see this code,you need to add this code to the MobileXI3BB.jad file
    BOBJ_MOBILE_AUTH_SERVER:<mobile server>
    BOBJ_MOBILE_AUTH_PORT:<Port of VAS Service, for example, 11011>
    BOBJ_MOBILE_CMS:<cms address, for example CMSCOLPAL:6400>
    BOBJ_MOBILE_AUTH_METHOD:<authentication type> where <authentication type> could be any one of these values based on your requirements: secEnterprise, secWinAD, secLDAP, secSAPR3.

  • When saving a file in [.jpg] format, i am asked to choose a quality from 1 to 100. what changes in the file created based on the quality parameter chosen?

    when saving a file in [.jpg] format, i am asked to choose a quality from 1 to 100. what changes in the file created based on the quality parameter chosen?. i would like to know what changes, so in the future i can set my camera to a setting that will give me the highest quality to begin with,allowing me to make crops and still preserve the quality.
    thank you
    dovid

    It's the level of compression. Lower number, more aggressive compression, more visual artifacts.
    Aside from that you should never use jpeg as a working format. The compression is destructive and cumulative, and the file deteriorates every time you resave it.
    Use TIFF or PSD, and if you need jpeg save out a copy as a single final step.

  • What is a imoviemobile file?

    What is a imoviemobile file? in imovie for iphone i'v generated an my projetc.imoviemobile file and i can't read it?

    I don't know if this is a few years too late but to get into a iMovieMoble file you first need to get it onto your computer if you haven't done already which it looks like you have.  The latest versions of iMovie won't interface anymore with imovie for moble, this is going to be fixed someday they say but in the mean time if you want to get your clip out you first want to copy the iMovieMoble project and then change the extention to .zip  This will then allow you to extract the zip into a folder and inside are all your renders and clips that go into making that project. I wish there were a faster way like the right click and say show package contence but it's a different kind of file than that.

  • What is a dmg file?

    What is a *.dmg file?  I am showing one in my Finder called ABEIDSNCS4_LS1.dmg and it's an image file.  My concern is that the size is 1.16 GB. What could this be and can I delete it?
    Thank you.

    .dmg files are Disk Images. Basically they act like a separate volume on a hard drive. Often when you download an application from the Internet it comes on a disk image file. Once you have run the installer, you can delete them by dragging them to the Trash and emptying the Trash. Another way would be to hold down the control key on your keyboard when you click on the .dmg file and select Move to Trash from the menu that appears. Again you'll want to empty it.
    Best of luck.

  • What is a .vob file and how can I play it in Quicktime Player?

    I have a video file .vob.  I can play it in VLC, but I would like to be able to play it in Quicktime.  Do I need to change its file type?  And to what? And how?

    VLC Player...
    http://www.videolan.org/vlc/
    VOB stands for DVD Video Object and is the core file of a DVD containing the actual movie data, an MPEG movie stream and the supported audio...
    http://techie-buzz.com/how-to/what-is-a-vob-file-how-to-open-vob-files.html

  • Copy Interruptus - what is a ".DS_Store file"?

    Hi, I'm running an old MacBook Pro (3+ years old), and I'm going to try install an SSD drive to speed this tired, but most wonderful critter up.  I've already backed up the HD (500 GB), but the SSD (240GB) is smaller so I'm trying to move files off.
    I thought I might strip out everything that wasn't applications and the operating system and later put back what I really need but I keep getting these messages about ".DS_Store" files, as I copy different folders and the copying keeps comes to a crashing halt.
    Is there something I can do or do I need to grab an expert? 
    And I apologize but I'm pretty much a luddite at the technical details & computer code, so can someone explain ssssslllllloooooowwwwwyyyyy.  LOL
    Thanks,
    Joel

    These are generated, at least in my experience, by Macs
    talking to
    non-Macs. Whenever I copy files from my Mac to a shared
    network drive
    (on a PC machine), every folder I open from the Mac gets this
    .DS STORE
    file added. No biggie and shouldn't cause any problems.
    There's no
    Captivate association/requirement - delete/ignore as needed.
    Erik
    Leah Gold wrote:
    > Does anyone know what a DS Store File is, and whether
    that file is involved in
    > the full motion sequence?
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - eLearning
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    Authorware Tips!

  • What does a blinking file folder with a question mark indicate?

    What does a blinking file folder with a question mark indicate?  I cannot get past it or do anything with the unit.

    glamiera wrote:
    What does a blinking file folder with a question mark indicate?
    That's the firmware telling you it can't find the operating system it's been assigned to boot from.
    It could be because it forgot somehow, or the operating system is no longer there or readable or the hardware holding the operating system has failed.
    Hold the power button to force a hardware shutdown, then reboot holding the option/alt key held down on the wired or built in keyboard, icons will hopefully load on the screen and if OS X appears, click the arrow to boot from it.
    Once in OS X, head to System Preferences > Startup Disk and select your boot drive so it can remind the firmware.
    If there is no OS X boot volume, just recovery or Bootcamp (if Windows installed) then you need to perform more work.
    Create a data recovery/undelete external boot drive
    To get a copy of your files off the drive.
    Step by Step to fix your Mac
    To fix your machine and find out (hardware test) if it's a hardware issue of some sort.

Maybe you are looking for