Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 2 of 2 FirstFirst 12
Results 26 to 49 of 49

Thread: problem in sound files in created jar file

  1. #26
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    thank u my frnd for all your help...but still the problem remains unsolved...can someone come out with some more suggestions??? plzzz help

  2. #27
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    i m sending screen shocmd screen.jpgt of the error coming

  3. #28
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    Go to your com/sun/jna directory and see if there is Native Library or not?
    If there is remove it, download it for that OS from official website and copy to the directory and try running again. I guess this is the issue with Native Library, that is not supported by your current OS.

  4. The Following User Says Thank You to Mr.777 For This Useful Post:

    uttam24april (December 14th, 2011)

  5. #29
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    Make sure you download it from https://github.com/twall/jna
    and both files jna.jar and platform.jar

  6. The Following User Says Thank You to Mr.777 For This Useful Post:

    uttam24april (December 14th, 2011)

  7. #30
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    this is not the problem in my system...the jar file which is run on the other machine...the problem is there only....when the jar file is run the errors are given there....

  8. #31
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    the machine in which the jar file is run does not return anything "com/sun/jna directory" so i have to install jna folder in the other system......plzz reply

  9. #32
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    Yeah that is why i am asking you to remove the Native Library in com/sun/jna directory and copy the new one from the link i provided you.

  10. #33
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    there is a folder jna in my c drive like this "C:\Users\2601061007.VIPL\.netbeans\6.9\var\cache\ index\s984\java\14\gensrc\com\sun\jna" in jna there is nativelibrary.java which one i should remove nativelibrary.java or the total jna folder??? which version of jna.jar and platform.jar should i download and where shall i keep the downloaded files...i have already the files in my library folder of my project

  11. #34
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    Is there any "plugins" folder in your project directory (on your original machine where everything is working fine) ?

  12. #35
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    no there is no plugin folder in my directory...........

  13. #36
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    no there is no plugin folder in my directory...........

  14. #37
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    i m srryyy....there is plugin folder in the vlc files...srryy very srryy

  15. #38
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    Oh God, so copy this plugin folder and include it in jar file and also place this plugin folder in the directory where you are copying your jar file. Run jar file and let me know.

  16. #39
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    ohhhhhhhhhh.....i have already told u i have included everything in the directory.....everything....previously what i told u...
    "there is a folder jna in my c drive like this "C:\Users\2601061007.VIPL\.netbeans\6.9\var\ca che\ index\s984\java\14\gensrc\com\sun\jna" in jna there is nativelibrary.java which one i should remove nativelibrary.java or the total jna folder??? which version of jna.jar and platform.jar should i download and where shall i keep the downloaded files...i have already the files in my library folder of my project " what to do in that case?????

  17. #40
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    ohhhhhhhhhh.....i have already told u i have included everything in the directory.....everything....previously what i told u...
    "there is a folder jna in my c drive like this "C:\Users\2601061007.VIPL\.netbeans\6.9\var\ca che\ index\s984\java\14\gensrc\com\sun\jna" in jna there is nativelibrary.java which one i should remove nativelibrary.java or the total jna folder??? which version of jna.jar and platform.jar should i download and where shall i keep the downloaded files...i have already the files in my library folder of my project " what to do in that case?????

  18. #41
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    This doesn't matter coz this folder is only coz of your Netbeans IDE, nothing else.
    Well, i can simply say that Native Libraries whom JNA call might not support the OS you are trying on. I can send you a sample media player so that you could check that. I will do it in almost 7 to 8 hours. Alright?

  19. The Following User Says Thank You to Mr.777 For This Useful Post:

    uttam24april (December 15th, 2011)

  20. #42
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    thank you.............sorry i got disconnected yesterday...there was a major power fault...........i couldn't get logged on

  21. #43
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    thank you.............sorry i got disconnected yesterday...there was a major power fault...........i couldn't get logged on

  22. #44
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    do u have the media player made?????

  23. #45
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    can u plzz help???????????????

  24. #46
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    Quote Originally Posted by uttam24april View Post
    can u plzz help???????????????
    Of course, i told you that i will upload it and will let you know. Just give me 3 more hours

  25. #47
    Junior Member
    Join Date
    Dec 2011
    Posts
    28
    My Mood
    Fine
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Re: problem in sound files in created jar file

    where r u friend????

  26. #48
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    Quote Originally Posted by uttam24april View Post
    where r u friend????
    Didn't you receive my email at uttam24april@gmail.com?

  27. #49
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: problem in sound files in created jar file

    I hope you got what you wanted, right?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [SOLVED] no sound from executable jar file
    By cl2606 in forum What's Wrong With My Code?
    Replies: 17
    Last Post: June 8th, 2011, 06:41 PM
  2. Not able to put some files inside Zip file
    By chinnu in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: March 23rd, 2011, 05:17 AM
  3. making a .bat file that compiles your java files
    By sp11k3t3ht3rd in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 24th, 2010, 12:55 AM
  4. outputing to a text file from sound API
    By bondage in forum File I/O & Other I/O Streams
    Replies: 10
    Last Post: May 2nd, 2010, 11:43 AM
  5. [SOLVED] Program to read from created file
    By aznprdgy in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: April 7th, 2009, 03:51 AM