Can Ve Do Programin In Java language Using Ipad2..?

Can V Do Programing In Java Language Usin Ipad2...?

I suppose you could use one of the many editors to write the code, but since the iPad can't run Java there would be no way to test the applet without transferring the code to a computer with Java, so it would not seem to me that the iPad would be an effective platform for Java development.
Regards.

Similar Messages

  • Can you write javac in java Language

    Hi,
    is it possible to write java compiler in java language.

    Here's a compiler written in Java, it is part of an IDE I wrote:
    Compiler.java: import java.io.*;
    * Wrap up javac.
    * The class exists to supply a single method - to compile a file
    * and report status along with error/success messages
    * Compilation (by javac) is carried out asynchronously using a
    * background Thread. Status and any error messages are passed back to
    * the calling object through a callback method.
    public class Compiler implements Runnable
        * Constructor.
        * @param owner the <TT>JavacTool</TT> that has created this Compiler
       public Compiler( CompilerListener owner )
          myOwner = owner;
       private CompilerListener myOwner;
        * Compile a file using javac.
        * This method will compile a Java source file and report both the
        * status of the operation and any error strings produced.
        * The method kicks off a separate Thread that actually carries out
        * the compilation. Upon completion a the JavacTool is called back with
        * a CompilerStatus object.
        * @param filename   the name of a file which <I>must</I> be in the same directory
        * as the JavacTool was run from.  this tool does not have tha capability
        * of working across multiple directories.
       public void compile( String fileToCompile )
          filename = fileToCompile;
          new Thread( this ).start();
       private String filename;
        * The method run by the separate Thread.
        * It runs once for each filename passed to the Compiler object.
        * It creates a new OS process to run "javac filename" externally
        * and captures the error output from the real compiler into
        * a String so that it can be returned to the calling code via
        * a callback method (very similar in principle to an event)
       public void run()
          CompilerStatus returnValue = new CompilerStatus();
          returnValue.outputString = new String();
          try
             Runtime r = Runtime.getRuntime();
             Process p = r.exec( "javac " + filename );
             InputStream is = p.getErrorStream();
             BufferedReader rdr = new BufferedReader( new InputStreamReader( is ) );
             String line = rdr.readLine();
             while( line != null )
               returnValue.outputString += (line + "\n");
               line = rdr.readLine();
             p.waitFor();
             returnValue.exitValue = p.exitValue();
             if( returnValue.exitValue == 0 )
               returnValue.outputString = "Compilation successful\n\nNo errors\n";
          catch( Exception e )
            e.printStackTrace();
          myOwner.compileComplete( returnValue );
    } CompilerStatus.java: public class CompilerStatus
       public int exitValue;
       public String outputString;
    }JavacTool.java: import java.util.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    * The main class in the application
    * Provides the screen presence for the controllers and the output view
    public class JavacTool extends JTextArea implements CompilerListener
        * Constructor for the tool
        * @param list A java.util.Vector containing the list of files for compilation
        * or null if none entered.
       public JavacTool( JTextArea jTextArea )
          // View    
          outputWindow = jTextArea;     
          outputWindow.setFont( new Font( "Monospaced", Font.PLAIN, 12 ) ); 
          outputWindow.setText( "TBJava IDE: -ready to compile" );   
          // Get it going!
          // Must create a Compiler object and provide it with a link
          // so that it can call this object back when it has completed
          theCompiler = new Compiler( this );
          // set the size and the visibility
          setSize( 500, 250 );
          setVisible( true );
         public void Compile( String fileToCompile )
                // Infrom user that something is happening
                   filename = fileToCompile;
                   outputWindow.setBackground( Color.white );
                   outputWindow.setText( "Compiling " + filename );
                   setCursor( new Cursor( Cursor.WAIT_CURSOR ) );
                   theCompiler.compile( fileToCompile );
                // When compilation is complete, the Compiler
                // object will callback on the method compileComplete
                // The Compiler runs its own Thread so this method
                // will complete immediately and the outputWindow
                // update can occur.
       private String filename;                                             // the filename as a String
       private JTextArea outputWindow;                                   // the window containing the messages                         
       private Compiler theCompiler;                                        // the compiler
        * Method called by the Compiler when it has completed
        * @param status A CompilerStatus object that contains
        *    the exit value from the compiler
        *    (indicating success or failure) value == 0 => OK and value != 0 => error
        *    and an appropriate text message
       public void compileComplete( CompilerStatus status )
          setCursor( new Cursor( Cursor.DEFAULT_CURSOR ) );
          if( status.exitValue == 0 )
             outputWindow.setBackground( new Color( 0.85F, 1.0F, 0.85F ) );
                                         // pale green
          else
             outputWindow.setBackground( new Color( 1.0F, 0.85F, 0.85F ) );
                                         // pale red
          outputWindow.setText( status.outputString );
    }This is taken straight from my IDE; you'll have to adapt it slightly to make it into a seperate application

  • TS3489 Can the older version of Java be restored to the Mac OS X 10.4.11?  I have a new MacBook, but I like using my older desktop model for certain things.

    Although I have a new MacBook,  I also have an older desktop Mac OS X 10.4.11 (which I still use) that just recently "stated" the older Java plug-in has been removed and the newer version needs to be installed.  The Mac OS X 10.4.11 doe not appear to be compatible with the updated version of Java.   Prior to this week, my grandchildren have been able to play some online early childhood games with this computer and I have been able to watch the occasional YouTube video.  Can the older version of Java be restored to the Mac OS X 10.4.11?

    I'm not familiar enough with the Mac to know where your history is. Hopefully another Mac user can chime in.
    You can download your preferred language version of Firefox 3.6.28 here:
    http://www.mozilla.org/firefox/all-older

  • I know c,c++ and java language ! and i want to contribute for development of mozilla products ! any idea where i can find beginner level projects ?

    I know c,c++ and java language ! and i want to contribute for development of mozilla products ! any idea where i can find beginner level projects ! so that i can hone some real development skills too :)

    You could also try jumping in on some of the Mozilla IRC chat channels as was suggested to someone else in another thread.
    Also you could also try the [/forums/buddies new contributors forum], it does now have an Admin monitoring and replying. (At the time of the quoted post Admins were almost impossible to get hold of for forum matters )
    ''Noah_SUMO [/forums/buddies/710569#post-61671 said]''
    <blockquote>
    Sorry I didn't see this earlier. :)
    I know just the places where I think you'd fit in best. To make sure, just join us in #sumodev and #mozwebqa and #communityit at irc://irc.mozilla.org
    I think your skills in php, javascript, python and server admin-y stuff will come in real handy at these places. :D
    For example, some help is needed here to fix these tests after a new theme was added to wiki.mozilla.org and they are in python. https://github.com/mozilla/wiki-tests - more info in #mozwebqa
    And maybe some help with perl might be needed with firebot, a irc bot written in perl. Channel #firebot for that.
    And #communityit (for server admin stuff) and #sumodev could use some help as well, just pop in and ask. :)
    </blockquote>
    Also see
    * [[Contributor News & Resources#w_communication-channels]]_communication-channels
    ** Mibbit link (this one for #sumo channel ) https://www.mibbit.com/?server=irc.mozilla.org&channel=%23sumo
    P.S. and see
    * https://wiki.mozilla.org/Good_first_bug

  • Different languages used while uploading file from java Application

    Hi everybody,
    i have a problem with multiple languages , let me clear you the question, i were developing a java application using spring ,hibernate frame works, so i got a problem while uploading a file with chinees language or other
    it was saving with different format other than chiness in the database, can any one help me out ... i need the exact language when i upload the files,and when i get the data from DataBase which is in chinees language is '걨' going to be like as '???'
    thank you very much

    Santhosh_25 wrote:
    using utf-8 characterSet, but its not showing properly
    thank youOkay.. the problem with your browser settings.. (not sure)..
    In firefox try to set character encoding...
    go to View--->Character Encoding--->Unicode (UTF-8)..
    In IE
    go to View--->Encoding-->More-->Unicode (UTF-8)
    set this and try.

  • Read IDOC using java language

    Hi,
       I am a new to sap java develop.
      now i am doing some research about IDOC/ALE using java language. I  receive an IDOC file from the sap system ,now i want to read the data in the IDOC file and tranform it to an XML file. Is there anyway to do it? whether java have provided some Kits to finish it.
       thanks in advance.
        qiuguo

    Hi
    Please refer to
    1. idoc
    3. how to create a simple idoc in practice? can you provide an example?
    Regards
    Abhijith YS

  • How can I develop co-broswing on Windows platform with java language?

    How can I develop co-broswing on Windows platform with java language?
    The function will be realized
    Now I want to develop a co-broswing system with java language on Windows platform.That is to say I will develop
    a application run on client to track the present browser.Wheh the URL address of your present if changed(for example
    when you click a link or submit a form),the application will capture the new URL address and send it to the other
    client that make co-browsing connect with you.The browser on the other client side will catch the new URL and refesh
    the page to show the page.
    The question I fall across and want to ask you
    (1)How to watch system process with java on the Windows platform?Because I want to get the process information of
    the present broswer,and then get the URL address of the present broswer.
    (2)Develop an application to watch the URL address of the present broswer continuance,If the URL address is changed,
    then send the new URL address to the client on the other side,let his broswer to show the new page using the new URL.

    Paulc, A proxy server is not the right thing.
    What our man here is looking for is a solution for two
    users to kind of surf the net "in tandem" - when one
    user navigates to a different web page, so does the
    other user,
    These are typically used in call center applications
    where the advisor guides a caller through , say
    filling in an insurance form or pointing him to the
    right product specification pages.
    Xing, why are you using Java for this ? You need
    something that has better windows integration. If you
    look on MSDN.microsoft.com and search for "explorer
    bar" you will find solutions to the questions that you
    raised.
    There are also commercial products on the market that
    already do this kind of stuff. there is one from
    www.genesyslabs.com which is considered to be the best
    of breed.
    It is difficult or almost impossible to do this in
    Java for a commercial application.
    If you are developing this as an academic exercise,
    give it a try. Post your email address here, and I
    will contact and help you out if you like.my e-mail is below ,I want to contact you and need all of your help.
    [email protected]

  • Can Java be used to communicate with hardware?

    I work with electronics as a hobby, but wish to interface with my electronics so I'm trying to find a programming language that has good API's for hardware communication(most likely through a serial or parallel port).
    Can this be done with Java? I really like java and the fact that it's platform independant.

    I work with electronics as a hobby, but wish to
    interface with my electronics so I'm trying to find a
    programming language that has good API's for hardware
    communication(most likely through a serial or parallel
    port).
    Can this be done with Java? I really like java and the
    fact that it's platform independant.I used the serial communications API, and it's not hard to use. The thing is you loose the platform independence when you use (it has some platform specific things)

  • How can i run my java program with out java language

    Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
    any one can help me??

    Hai to every one ..Iam new to java language ...am
    using windows xp operating system , i did not
    installed java language in my system .. how can i run
    a java program with out installing java language...
    you ... can ... not ... do ... this
    Which files is requied to run java program..?
    any one can help me??a JVM. Download it from sun's website.
    [url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here

  • How can i call a VB6 project from my java application using JNI

    hi
    can anyone tell me the procedure of calling a VB6 project from any java application using JNI
    if anyone does know then tell me the detail procedure of doing that. I know that i have to create a dll of that VB6 project then to call it from the java application.
    if anyone know that procedure of creating dll file of an existing VB6 project please reply
    please if anyone know then let me know

    Ahh, kind of a duplicate thread:
    http://forums.java.sun.com/thread.jspa?threadID=631642
    @OP. You could have clarified your original post and the relationship of your question to java. You did not need a new thread.
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Can i develope a java application using C API

    hai,
    i have C api, the project was developed in C before, now i am having that api. I have to do that in java by using that C api.
    can any one suggest me how to do this?

    Your question is not that very clear!! You want to convert the C api to a Java api? or you want to develop a Java application that uses the C api?
    For the first question I believe that you should check the functionality of the C api and re-code it in Java! do not believe you should find anything imposible in that! (unless that api is trying to do something crzy directly with memory)
    For the second question then I believe you will have to use native calling or something like that. I have never used it, but read about it, and it seems one way how Java can interect with C.
    Over here there is a forum.
    Regards,
    Sim085

  • Can't access a bill pay while using both FF 3.6.13 & Java 6 update 23

    I'm currently using Firefox (FF) 3.6.13.
    I can get on my bank's web page, view my accounts, but can't get on the bill pay portion of this website. I figured it was a Java issue. I then downloaded the latest version of Java (Java version 6 update 23). I clicked around 'til I found a place to check that I had the correct version of Java on my PC, this confirmed it was on and working. I can get on this bill pay page using IE, but not with FF. I've been using FF for years and want to continue doing so. Been dogging this issue all day and night, reading all the help I can find, but there is never an answer that specifically tells me, accurately, step-by-step, exactly what I need to do to resolve this. I lay money this has a simple solution...danged if I can find it. Much thanks to anyone who can accurately define the steps I need to take to resolve this issue. Thanks!

    Interesting, but that seemed to be unconclusive for them. Anyway, the fact that, for that asker, only one computer behind the router was having problems (whereas for me all computers behind the router are having problems) suggests that the problem is different.
    FWIW:
    tsbertalan@hustlenbustle:~$ telnet cs.ua.edu 80
    telnet: Unable to connect to remote host: Connection timed out
    C/V:
    tsbertalan@hustlenbustle:~$ ping ua.edu
    PING ua.edu (130.160.4.131) 56(84) bytes of data.
    (after 5 minutes, this is still all it says)
    However, from a different server (in California):
    tsbertalan@boogeyman ~ $ ping ua.edu
    PING ua.edu (130.160.4.131) 56(84) bytes of data.
    64 bytes from 130.160.4.131: icmp_req=1 ttl=238 time=112 ms
    (etc.)
    And also:
    tsbertalan@boogeyman ~ $ ssh bama.ua.edu
    [email protected]'s password:
    Last login: Fri Aug 3 21:12:46 2012 from adsl-76-230-21-
    Sun Microsystems Inc. SunOS 5.9 Generic May 2002
    bash-2.05$

  • TS3356 Simple question I hope! I want to buy a camcorder by JVC but it uses a format called AVCHD. I believe this has to be converted before it can be used on iMovie. Can anyone tell me, in simple language, if this is so and how easy it is?

    I want to buy a new camcorder and am considering one by JVC. This one, plus a few others such as Sony use AVCHD. I gather this would be need converting before any editing can be done in imovie?? I cant find a simple answer to this question. It seems strange to me that Mac dont appear to support AVCHD when so many video camera companies use it. Can anyone advise please, in simple language as I am far from a computer geek!!!
    Is conversion a complicated or time consuming process and would it be simpler to fo for an MP4 type

    Most AVCHD camcorders can be used in iMovie without any conversion needed if they are imported directly from the camcorder.
    When you hear someone mention that you must convert AVCHD to use in iMovie, it is usually because they removed the files from the camcorder and only removed part of the files and folders. You need all of them to import to iMovie.
    However, you should check to see if the camcorder you are choosing will work in iMovie. Here is a list of compatible camcorders.
    http://help.apple.com/imovie/cameras/en/index.html?lang=en_US

  • I am based in Russia, and I use a Russian cred card number. Hence my apple store page is in Russian language (which i dont speak). Can I change this into English language and if yes, how?

    I am based in Russia, and I use a Russian cred card number. Hence my apple store page is in Russian language (which i dont speak). Can I change this into English language and if yes, how?

    The only way I know is that you need a physical address and credit card of an English speaking country.

  • Can we run a java application using Runtime.exec()?

    Can we run a java application using Runtime.exec()?
    If yes what should i use "java" or "javaw", and which way?
    r.exec("java","xyz.class");

    The best way to run the java application would be to dynamiically load it within the same JVM. Look thru the class "ClassLoader" and the "Class", "Method" etc...clases.
    The problem with exec is that it starts another JVM and moreover you dont have the interface where you can throw the Output directly.(indirectly it can be done by openong InputStreams bala blah............). I found this convenient. I am attaching part of my code for easy refernce.
    HIH
    ClassLoader cl = null;
    Class c = null;
    Class cArr[] ;
    Method md = null;
    Object mArr[];
    cl = ClassLoader.getSystemClassLoader();
    try{
         c = cl.loadClass(progName.substring(0,progName.indexOf(".class")) );
    } catch(ClassNotFoundException e) {
    System.out.println(e);
         cArr = new Class[1] ;
         try{
         cArr[0] = Class.forName("java.lang.Object");
         } catch(ClassNotFoundException e) {
         System.out.println(e);
         mArr = new Object[1];
         try{
         md = c.getMethod("processPkt", cArr);
         } catch(NoSuchMethodException e) {
         System.out.println(e);
         } catch(SecurityException e) {
         System.out.println(e);
    try {            
    processedPkt = md.invoke( null, mArr) ;
    } catch(IllegalAccessException e) {
              System.out.println(e);
    } catch(IllegalArgumentException e) {
              System.out.println(e);
    }catch(InvocationTargetException e) {
              System.out.println(e);
    }catch(NullPointerException e) {
              System.out.println(e);
    }catch(ExceptionInInitializerError e) {
              System.out.println(e);
    }

Maybe you are looking for

  • When I open calendar, it shows 1am and on.  How do I change that?

    I have set my preferences in calendar to have my day be 8am to 6pm and show 10 hours, and the week run Sun through Sat. Each time I open calendar, while those perimeters area present (the 8am to 6pm time frame shows by the grid lines being very faint

  • Datagrid Autoscroll Problem.

    Hi,      I need one urgent help. I have a datagrid with lot of item renderers. While my datagrid has verticalscroll bar, i have one problem. while i click on an any row it autoscrolls itself to first row. I don't want it to autoscroll in this manner,

  • File sharing: Win7-Win8 vs Win8-Win8

    1st... I have searched for help at Microsoft and, other than several people discussing this in the Microsoft forums, I do not find any actual answers My wife's new computer runs Win8 while I am still on Win7 (both 64bit Pro versions, with all updates

  • Error message to record video

    Hi, Please could someone help me to find and correct the error in the VI. I am using a USb webcam to measure the intensity of light in a ROI then record a short video. Unfortunately, I receive sometimes an error of timeout. I think the labview is con

  • Will Photoshop Elements 13 automatically download Raw photos?

    Will Photoshop Elements 13 automatically download raw files (photos) from card reader or do I have to use Capture One, Adobe DNG converter ? I am planning to buy the Sony mirrorless Alpha A 7 II I read - there can be problems with down loading raw fi