Results 1 to 10 of 10
  1. #1
    Kobefernandez is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Java Runtime Environment Help

    Hi can someone help me with these problem Java Runtime Environment Help-capture.jpg

  2. #2
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    275
    Rep Power
    4

    Default Re: Java Runtime Environment Help

    Are you trying to run .jar file?

  3. #3
    Kobefernandez is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Re: Java Runtime Environment Help

    Yes.

  4. #4
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    275
    Rep Power
    4

    Default Re: Java Runtime Environment Help

    Open .jar file with winzip of winrar and try to find META-INF\MANIFEST.MF file. Inside that file try to find line that stars with Main-Class: following with the name of the class with main method. If that class file exists inside .jar file then something is wrong with it. There is little you can do about it.

  5. #5
    Kobefernandez is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Re: Java Runtime Environment Help

    I open the manifest file with notepad Java Runtime Environment Help-capture1.jpg and now what's next?

  6. #6
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    275
    Rep Power
    4

    Default Re: Java Runtime Environment Help

    Ok, you can't run midlet application from windows unless you are using emulator (java wireless toolkit for example). This .jar file is for CLDC devices (cell phones...).

  7. #7
    Kobefernandez is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Re: Java Runtime Environment Help

    ahh... now I know what is the problem... By the way can you give me a good emulator free, safe and clean to open that file??

  8. #8
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    275
    Rep Power
    4

  9. #9
    Kobefernandez is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Re: Java Runtime Environment Help

    ok done download and install and now how to run?

  10. #10
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    275
    Rep Power
    4

    Default Re: Java Runtime Environment Help

    Are you trying just to run this .jar? In that case sorry for misleading you. Since this is a forum for java learners, somehow I assumed that you want to develop some code. The trick is that you have emulator in WTK which is used to test your code. I'm not sure if you can use it without source code. You can try to create project from .jad/.jar file (File menu). It should, but I doubt it would work as midlets are often device specific. Other way is to google for some other solutions (there are a few of them on the net) or you just can send this .jar to your java enabled phone and then try it.

Similar Threads

  1. Java Runtime Environment Settings
    By DFuru in forum New To Java
    Replies: 7
    Last Post: 12-03-2011, 12:35 AM
  2. Replies: 4
    Last Post: 09-25-2011, 03:21 PM
  3. Replies: 1
    Last Post: 07-05-2011, 03:27 AM
  4. A fatal error has been detected by the Java Runtime Environment:
    By jayanti kumari in forum Advanced Java
    Replies: 8
    Last Post: 08-16-2010, 07:31 AM
  5. Replies: 0
    Last Post: 06-18-2008, 12:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •