File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes which version of java supports audio? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "which version of java supports audio?" Watch "which version of java supports audio?" New topic
Author

which version of java supports audio?

shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
do reply?
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Shivi:

Can you clarify what you mean by 'supports audio'?

John.
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
[i mean that i am currently using jdk1.7 and it is not supporting any audio package.please help.
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Shivi:

Well, since JDK 1.7 hasn't been officially released yet, that might be the problem. Is there a specific package or API that you're using?

John.
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
import sun.audio.*;
i have used this in my source code.
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Shivi:

Classes in the sun.* packages are not intended for general use, and are "at your own risk". You might want to look for a third-party API.

John.
shivi jain
Ranch Hand

Joined: Oct 18, 2009
Posts: 31
how do we use third party API?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13881
    
  10

Java has always supported sound, even since before Java 1.0.

There are official APIs for sound. Don't use sun.* packages, use the official APIs instead. You don't need any third-party library or API unless you're going to do very special things that Java doesn't support by itself.

See Trail: Sound in Sun's Java tutorials to learn how to work with sound in Java.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which version of java supports audio?