Is it okay to use J2SE source in MIDLets

I need to use some functionality from a J2SE class - is it legally okay to copy from the source (inside the J2sdk1.4.1 download package) the methods i require?

You have to check if the MIDP API covers the API used within the J2SE code. You can simply test it by compiling the J2SE code using the MIDP API. If only "basic" classes are used it might work.

Similar Messages

  • I have just updated my Ipod to the latest ios.(deleting everything) and using different sources to get my music back it seems that every time i select multiple/individual songs on itunes i can change artwork but will not show up on my ipod?

    I have a windows 8 computer and have recently updated my ipod to the latest ios and it has wiped my Ipod clean except for my photos. whilst trying to get my music back using different sources like CD's and stuff i cant seem to get any album art to load on my Ipod? I can go on itunes and highlight single/multiple items and change the artwork and my computer will confirm it but when I look on my Ipod it doesnt display any art work or allow me to change the artwork that is already there? i need help please!

    Album artwork can be added/changed on songs via the iTunes Get Info menu item from the File menu. Note that music that you loaded from CDs will not have any artwork. If you want to aquire artwork you can try the File menu item Library > Get Artwork or you can download artwork from the internet, etc. Note that just changing artwork on your computer won't affect the iPod until you sync.
    If the artwork is correct on your computer iTunes then delete all the music on your iPod by syncing with iTunes with no music selected. Then reload the music onto your iPod by again syncing with iTunes with all the music you want selected.

  • How can I use my remote, without using Media Sourc

    I have an audigy2ZS Platinum Pro, and I hate the mediasource remote plugin, I was much happier with my Remote Center, that was on my Audigy Platinum.. Is there anyway to get remote center on this model, or do I have to use media source?

    Intelliremote is a software program that replaces the cumbersome Creative Remotecenter software that is bundled with Soundblaster Li've!, Audigy, Audigy ZS and, X-Fi. Creative had an excellent idea bundling an infrared remote control with their product...it's just to bad the software "RemoteCenter" is a 2MB behemoth that doesn't even do what you want it to do!
    http://melloware.com/products/intelliremotev2/

  • How do I setup multiple users to use one source but manage playlists separately?  For example, play counts are specific to each user.

    How do I setup multiple users to use one source but manage playlists separately?  For example, play counts are specific to each user.

    Hi,
    Thank you for posting in Windows Server Forum.
    Here adding to the words of “Tim”, a forwarder is a DNS server on a network used to forward DNS queries for external DNS names to DNS servers outside of that network. You can also forward queries according to specific domain names using conditional forwarders.
    A DNS server on a network is designated as a forwarder by having the other DNS servers in the network forward the queries they cannot resolve locally to that DNS server. You can refer information regarding forwarders and how to configure from beneath link.
    Understanding forwarders
    http://technet.microsoft.com/en-us/library/cc782142(v=ws.10).aspx
    Configure a DNS Server to Use Forwarders
    http://technet.microsoft.com/en-us/library/cc754941.aspx
    Hope it helps!
    Regards.

  • Try to use J2SE Version 6 with Oracle E-Business Suite 11i

    Dears ,
    i have an upgrade task from 11.5.10.2 to R12.1.1 and database from 9.2.0.8 to 11.2
    so i apply patches :
    1- 7429271
    2- Upgrading Developer 6i with Oracle Applications 11i [ID 125767.1]
    3- 9535311
    4- 6241631
    5-upgrade to JRE : Using J2SE Version 6 with Oracle E-Business Suite 11i [ID 401561.1]
    when i run :
    txkrun.pl -script=SetJDKCfg -contextfile=$CONTEXT_FILE -runautoconfig=Yes -appspass= <APPS_schema_passwd> -jdktop=[JDK60_TOP]
    faced error :
    java.lang.NoClassDefFoundError: java/util/HashMap
    at
    at oracle.apps.ad.tools.configuration.Customizer.getProdTopDrivers(Compiled Code)
    at oracle.apps.ad.tools.configuration.Customizer.getAllDrivers(Compiled Code)
    at oracle.apps.ad.tools.configuration.VersionConflictListGenerator.getAllConflicts(Compiled Code)
    at oracle.apps.ad.tools.configuration.VersionConflictListGenerator.main(Compiled Code)
    Exception in thread "main" Using Context file : /vol3/oracle/prdappl/admin/PRD_mcd-test.xml
    Context Value Management will now update the Context file
    and when try to run autoconfig on APPSTier i faced :
    java.lang.NoClassDefFoundError: java/util/HashMap
    at
    at oracle.apps.ad.tools.configuration.Customizer.getProdTopDrivers(Compiled Code)
    at oracle.apps.ad.tools.configuration.Customizer.getAllDrivers(Compiled Code)
    at oracle.apps.ad.tools.configuration.VersionConflictListGenerator.getAllConflicts(Compiled Code)
    at oracle.apps.ad.tools.configuration.VersionConflictListGenerator.main(Compiled Code)
    Exception in thread "main" ERROR: Version Conflicts utility failed.
    Terminate.
    how can i solve it .
    your response will be highly appreciated
    Regards ,,,
    Mohamed Mahgob

    Please see these docs.
    Creating "appsutl.zip" Failed On "java.lang.NoClassDefFoundError: java/util/HashMap", What is the Potential Solution ? [ID 1310838.1]
    AdMKAppsUtil.pl Failing Can't Find Java HashMap [ID 1338399.1]
    After Applying Patch 9535311 Get java.lang.NoClassDefFoundError: java/util/HashMap Error [ID 1188327.1]
    Thanks,
    Hussein

  • Using data source in adf application.

    Hi ,
    JDev version : 11.1.1.6.0
    I am planning to use data source in the application  , but there is an issue facing while running with data source.
    Exception in thread "main" javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at com.cisco.complianceutil.WizardDataSourceUtil.main(WizardDataSourceUtil.java:42)
    Caused by: java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    So I used "Weblogic.jar" once and "wlfullclient.jar" . By using one of these jars issue fixed but because of it while loading the application it is throwing the below error .
    <Sep 10, 2013 2:42:05 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.jaxws.client.async.AsyncTransportProvider" failed to preload on startup in Web application: "ComplianceWizard".
    javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider
        at weblogic.wsee.jaxws.WLSInstanceResolver.getSingleton(WLSInstanceResolver.java:36)
        at weblogic.wsee.jaxws.WLSInstanceResolver.start(WLSInstanceResolver.java:55)
        at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.start(WLSInstanceResolver.java:82)
        at com.sun.xml.ws.server.InvokerTube.setEndpoint(InvokerTube.java:85)
        at weblogic.wsee.jaxws.EndpointAwareLateInitTube.postCreateEndpoint(EndpointAwareLateInitTube.java:48)
        at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:150)
        at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    For this I observed that solution is removing the wlfullcient.jar or weblogic.jar from the libraries. But If I do not use any one of them then data source does not work. Please guide me with your suggestions.

    This is configured in your database access layer - if it is using ADF BC then in the Application Module go to the configuration tab and edit the local configuration to see the information about which DB you are accessing.

  • How to use j2se 1.4 logging features with j2ee 1.3

    Hi,
    We have developed an EJB that will run in the j2ee 1.3 container of weblogic 5.0
    We would like to use the logging features of j2se 1.4 in our ejb.
    Can this be done ?
    How do I install and use j2se 1.4 a long side of j2ee 1.3 ?
    Is this a recognised configuration ?
    Many Thanks,
    Mark.

    Is it possible to install j2se 1.4 on the same machine
    that is running weblogic with j2ee 1.3 ? Yes.
    If it is.... How do we do it ?Just install it in different directory - the installer will do this for you by default anyway.
    How do we protect our code running in the j2ee 1.3 container from
    mistakenly using the classes provided with j2se 1.4 ?Thats what PATH and CLASSPATH environment variables are for. Read the tutorials on the left there for more information.
    Do we end up with 2 separate VMs one a implementing
    j2ee 1.3 and one a j2se 1.4 ?You end up with as many as you run.
    Every time you run java (java.exe on windows, just plain java on UNIX) you run the version of the VM that's on your PATH.
    It's quite normal to have (on the same machine) a 1.3 VM running Weblogic and a number of 1.4 VM's as clients of that Weblogic installation.
    I think I'm right in saying that 1.4 VM's are (in some cases) regarded by BEA as supported clients of a Weblogic server running in a 1.3 VM, but you'd have to check their e-docs site for exact details.

  • How to call web service using J2SE 1.3?

    Dear All,
    i have developed a web service by jdev 10.1.3 (JAX-RPC with web service security
    enabled).
    i generate the ws proxy (jdev 10.1.3) and run it with wsclient_extended.jar (required JDK 1.4.1 or above??).
    but one of my client say he has to use J2SE 1.3.x (as OS=AIX 4.3 that without J2SE
    1.4.x ), could anyone tell me how can generate ws proxy (with supporting
    library) for jdk 1.3.x?
    if oracle don't have such library / tools, any third party tools / library available?
    thank you.
    lsp

    I'm found answer:
    Java and SAP Portal blog: How to call web service from java code example

  • How to use java source in Oracle when select by sqlplus.

    How to use java source in Oracle when select by sqlplus.
    I can create java source in Oracle
    import java.util.*;
    import java.sql.*;
    import java.util.Date;
    public class TimeDate
         public static void main(String[] args)
    public String setDate(int i){
    GregorianCalendar calendar = new GregorianCalendar();
    calendar.setTime(new Date((long)i*1000));
    System.out.println("Dateline: "
    + calendar.get(Calendar.HOUR_OF_DAY) + ":"
    + calendar.get(Calendar.MINUTE) + ":"
    + calendar.get(Calendar.SECOND) + "-"
    + calendar.get(Calendar.YEAR) + "/"
    + (calendar.get(Calendar.MONTH) + 1) + "/"
    + calendar.get(Calendar.DATE));
    String n = calendar.get(Calendar.YEAR) + "/" + (calendar.get(Calendar.MONTH) + 1) + "/" + calendar.get(Calendar.DATE);
         System.out.print(n);
         return n;
    I have table name TEST
    ID DATE_IN
    1 942685200
    2 952448400
    When I write jsp I use method setDate in class TimeDate
    The result is
    ID DATE_IN
    1 1999/11/16
    2 2003/7/25
    Thanks you very much.

    It is unclear where you are having a problem.  Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
    Also be aware that you will need to sign your jar and include some new manifest entries.  Refer to the Java 7u51 documentation and blogs that discuss the changes.
    https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html

  • What is the use of Source Partner function

    Dear Experts,
    Can you please explain me the exact use of Source Partner Function in Partner Functions in procedures in Customizing.
    Is it used to propose only sold to party partner function or any partner function from the master data of particular partner function.
    I read SAP standard help but I got confused because of its example. It is as below.
    Source partner function
    Partner function which serves as an alternative source for determining the sold-to party.
    Procedure
    If you don't want the system to propose a partner from the sold-to party master record, enter another partner function here. The system will then propose the sold-to party from the master record of your partner function.
    Example
    If you enter WE (ship-to party) in this field for the function VE (sales employee), when you create the sales document,  it determines the sold-to party from the VE partner function in the ship-to party's master document.
    kindly reply. thanks in advance
    sagar wagh

    Dear Sagar,
    While determining the partner functions you can define that particular partner should be determined from the source partner functions master data.
    For example you want to determine the Freight forwarder and you want to make sure that  this partner function should be proposed as per the ship to party then in customizing for freight forwarder partner function you will maintain the source as ship to party. Due to this customization when you will be creating the sales order for sold to party x and assume that for x you are having two different ship to party at two distinct locations. For these  two locations you have different freight forwarder  providing the services(one for each location). So to determine the right freight forwarder the above mentioned customizing will be required. Otherwise system will propose this partner function as per sold to and that will be same for all ship to.
    Hope this example will help you to understand the usage of source in partner determination.
    Thanks and regards,
    Atul

  • I am using a white 13inch 2009/10 macbook, purchased in the US. Am currently using it in the Philippines, where it is 220v. I know my adapter says it works from 100-240v, but is it okay to use longterm? I think my mac gets very hot now? thanks

    I am using a white 13inch 2009/10 macbook, purchased in the US. Am currently using it in the Philippines, where it is 220v. I know my adapter says it works from 100-240v, but is it okay to use longterm? I think my mac gets very hot now? thanks

    All Apple power supplies work world-wide with the proper plug adapter.
    I have my MacBook plugged into the grid all the time, 24 hours a day w/o any problems.

  • How to use J2SE using JSR-82????

    I need to develop a code that can access the Bluetooth device...
    I need to know how to use J2SE with JSR-82 API....
    -Or do you guys know some Bluetooth Protocol Stack in which I can download for FREE?
    -It should be FREE? it should run on Windows 98/2000/XP platform ..
    thanks

    I think it's only beta at the moment
    http://java.sun.com/products/sjwtoolkit/download-2_3.html

  • Is it okay to use my ipad on AC power when it fully carged?

    I want to maximize my iPad's battery life and use battery when it is needed.I want to know that whether It is okay to use my ipad on AC power when it fully carged

    Because the battery does not overcharge, it shouldn't hurt the battery - but - I don't use my iPad this way for days on end. That sort of defeats the whole portability factor of having a battery powered device like this.
    I will leave my iPad on the charger for hours at a time while I am using it - maybe all day long on weekends - and I still get about 10 hours a day out of a full charge. I did this my my original iPad that is 20 months old and the battery is still going strong.

  • If you are not using J2SE 1.4 - OrderedMap - (maintains order of insertion)

    Hi,
    If you are not using J2SE 1.4 and still want to maintain the order of insertion unlike HashMap or Hashtable(which doesn't allow)
    OrderedMap comes to resue!
    import java.util.ArrayList;
    import java.util.List;
    import java.util.TreeMap;
    public final class OrderedMap extends TreeMap {
         private List list= new ArrayList();
         public OrderedMap() {
         public Object put(Object key, Object value) {
              list.add(key);
              return super.put(key, value);
         public List getKeysList() {
              return list;
    };;Mail me how to use it!
    Bye
    tuniki
    [email protected]

    Hi, Dude!
    Probably you have to read the subject b4 posting something!
    (Re: If you are not using J2SE 1.4 ->OrderedMap ->(maintains order of insertion))
    Tuniki
    [email protected]

  • Using JMF source codes to build applets........

    hi anybody tried to use the source codes to build an applet
    that installs/creates JMF registry or its fuctionality on client side make JMF use with no need to install on client side.
    if anybody have any idea's abt this please help me...
    or please give any references about the same..
    thanks

    This was announced in November.
    Unfortunately after May 1, you’ll need to have a full DPS license or know someone that has one, in order to create or update Single Edition apps.
    There are several threads on this topic already. Here's one: The end of DPS Single Edition

Maybe you are looking for

  • Can you make favourites in the iTunes store?

    The most annoying thing about the iTunes store is that you can only look at one thing at once! So if you are thinking about buying something, you cannot look at anything else while it is on the screen, so looking at other things, it means you forget

  • Scheduling Executables

    Hi, I am running 10g on Windows XP to evaluate the product. We are attempting to use the scheduler to run some basic batch executables to create objects or run reports in the database. The job fails everytime, yet calling Stored_procedure works fine.

  • Disappearing drives

    I have a Windows 7 Toshiba Satellite. Early this year I installed Itunes and then uninstalled it. Immediately my dvd-cd writer reader would not show disks in the drive. After a ton of messing around I got audio cds to work again. Still, my cdrom will

  • Monitoring 3 GPIB busses

    I need to monitoring 3 GPIB busses with a GPIB analyzer. I have to find out the timing of the communication between the multiple devices on the 3 GPIB busses. With 3 NI GPIB+ cards and the GPIB Analyzer of NI it's not possible I heard? Some ideas? Th

  • I'm trying to open an AVI from a disc, but QT says that a codec is missing.  Any ideas?

    All my systems are up-to-date, and I've tried opening with Flip4Mac, but the file just opens in QT anyway.  Any help would be appreciated.