Results 1 to 8 of 8
  1. #1
    sariq
    Guest

    Default jar files opening in nokia pc suit

    earlier i was using jav5 which is a java application with .jar extension. it was opening with double clicking it. then i installed Nokia PC suit its icon changed to nokia application icon (4 squares), now when i doubleclick it it opens with Nokia Application installer and goes to PC suit.

    i can still run it from command prompt by browsing to jave5 directory and using command
    Code:
    java -jar jave5.jar
    is there any way to open it by doubleclicking, without uninstalling nokia PC suit?

  2. #2
    Right Off the Assembly Line Shikher_neo's Avatar
    Join Date
    Oct 2006
    Posts
    47

    Default Re: jar files opening in nokia pc suit

    Well Sariq it is simple!
    Right click on the file , select Properties and then in the Open With Segment,Select the program that you want your file to open with(most probably Win Zip or RAR)and click on apply.Done!
    Please reply me at shikhergupta@yahoo.co.in telling whether your problem was solved.

  3. #3
    -- No Easter Eggs here -- hemant_mathur's Avatar
    Join Date
    Apr 2006
    Location
    Front of my pc
    Posts
    945

    Default Re: jar files opening in nokia pc suit

    ^^ Why do u want to be replied on ur e-mail ?? Hope not for spam reasons. I say dont reply on his mail address instead reply here only so that others can know if the solution worked properly or not.
    E6850 3.0 Ghz, 4gb 667 Mhz RAM, Asus p5n Esli Mobo, Nvidia 8600GT 512mb, 400gb WD HDD, Samsung Syncmaster 920NW, Vista x64

  4. #4
    Wise Old Owl JGuru's Avatar
    Join Date
    Dec 2005
    Location
    Space-time continuum
    Posts
    1,646

    Default Re: jar files opening in nokia pc suit

    @Sariq, Follow this procedure to execute JAR file, just by double-clicking:

    From the Explorer menu 'View'->'Folder Options'

    In the Folder Options dialog click on tab 'File Types'

    Here scroll down & select the JAR file, Click on the 'Edit' button.

    This presents a dialog box, Here under 'Actions', select "Open with Nokia PC suite"
    Now click on 'Edit' button. This presents a dialog box.

    Here under "Application used to perform Action"

    Type the 'Javaw path' like this : "C:\Progra~1\Java\jdk1.5.0\bin\javaw.exe" -jar %1

    Click on 'OK' button. This makes changes to the Registry. Also solves your problem!!
    * Imagination is more important than knowledge.
    -Albert Einstein

  5. #5
    sariq
    Guest

    Default Re: jar files opening in nokia pc suit

    @JGuru : thanks, earlier i thought you are the Guru of Only Linux

    can anybody explain why -jar is required in applivcation name. i was earlier trying C:\Progra~1\Java\jdk1.5.0\bin\javaw.exe and it was giving error like "function main not found"

  6. #6
    Wise Old Owl aadipa's Avatar
    Join Date
    Feb 2004
    Location
    Palghar, Mumbai
    Posts
    996

    Default Re: jar files opening in nokia pc suit

    without -jar option, it will look for a class file.
    with -jar option, it will look in menifest for startup class file inside given jar file.
    i generally prefer quality over quantity
    1 aadi + 1 aadi = 1 full ;)

  7. #7
    Wise Old Owl JGuru's Avatar
    Join Date
    Dec 2005
    Location
    Space-time continuum
    Posts
    1,646

    Default Re: jar files opening in nokia pc suit

    @Sariq, The -jar option is necessary for executing the JAR files. Without it it will look
    for .class file!! With the -jar option, it will open up the JAR file, look into the manifest
    for startup class file & load the class file to execute the JAR file. JAR files use the
    same algorithm like ZIP file. So a JAR file can be compressed also.
    @Aadipa, is also correct.
    * Imagination is more important than knowledge.
    -Albert Einstein

  8. #8
    Microsoft MVP Vishal Gupta's Avatar
    Join Date
    Jul 2005
    Location
    AskVG.com
    Posts
    5,173

    Default Re: jar files opening in nokia pc suit

    Quote Originally Posted by sariq
    @JGuru : thanks, earlier i thought you are the Guru of Only Linux
    JGuru => Java Guru

Similar Threads

  1. like nokia pc suit
    By ismart in forum Mobiles and Tablets
    Replies: 6
    Last Post: 16-01-2009, 11:52 PM
  2. .txt files are not opening
    By toofan in forum Software Q&A
    Replies: 4
    Last Post: 24-06-2008, 10:52 PM
  3. Exe files not opening
    By jvijay86 in forum QnA (read only)
    Replies: 1
    Last Post: 23-04-2007, 07:58 PM
  4. BT Support FOR Nokia PC Suit
    By gaju6696 in forum Mobiles and Tablets
    Replies: 4
    Last Post: 29-10-2005, 10:25 PM
  5. MHT FILES NOT OPENING
    By navjotjsingh in forum QnA (read only)
    Replies: 4
    Last Post: 04-07-2005, 09:49 PM

Bookmarks

Posting Permissions

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