Skip to content

How do I convert my JAVA code to XML?

I have made a program which solves the sudoku puzzle if it has the unique solution, but I am able to convert to XML. My friend wats the program but he doesn’t want to download JAVA. Little help would be helpful.
I am UNABLE to conver the code to XML
He doen’t want to download anything, he just want the running code.
my program has .java extention

5 Comments

  1. divine_rahul wrote:

    hey greatt! can you give me that java code plz! my adress is divine_rahul@yahoo.co.in
    plz reply!
    oh yea you can make it using applet and install it on his disk then he only needs to ownload JRE which he already be having i guess! becoz JRE is needed to rum many games!

    oh yea one more..you can use JavaScrip to make that program and java script doesnt need anything! it will run on the browser which supports html.

    my friend is learning XML i will ask him okay! but plz send me the code! will you!

    your program have .java extension but the whole logic is yours na! so u can still convert it into JavaScript! it is the best possible solution for ur problem! when he doesnt even want to download JRE

    Saturday, December 26, 2009 at 9:22 pm | Permalink
  2. digitaldreamer061981 wrote:

    For your program to work it must be saved in a JAVA file so that the compiler can read and execute the code.

    Saturday, December 26, 2009 at 9:22 pm | Permalink
  3. JustHelpingOut wrote:

    Your friend needs to install at least the jave runtime (JRE). That is why Java can run on all systems. It is the JRE that handles the interface to the hardware and such.

    Saturday, December 26, 2009 at 9:22 pm | Permalink
  4. bandf wrote:

    XML is not a programming language, it is a data storage format… so what you are asking is impossible.

    Its like asking for a way to turn a DVD player into a disc. You can use a DVD in your player, but without the player, your DVD is just data.

    Similarly, you could write your Sudoku files into XML, but they would just be the data. You’d still need a program to play them.

    Saturday, December 26, 2009 at 9:22 pm | Permalink
  5. This is getting a bit more subjective, but I much prefer the Zune Marketplace. The interface is colorful, has more flair, and some cool features like ‘Mixview’ that let you quickly see related albums, songs, or other users related to what you’re listening to. Clicking on one of those will center on that item, and another set of “neighbors” will come into view, allowing you to navigate around exploring by similar artists, songs, or users. Speaking of users, the Zune “Social” is also great fun, letting you find others with shared tastes and becoming friends with them. You then can listen to a playlist created based on an amalgamation of what all your friends are listening to, which is also enjoyable. Those concerned with privacy will be relieved to know you can prevent the public from seeing your personal listening habits if you so choose.

    Monday, December 12, 2011 at 9:23 pm | Permalink

Post a Comment

Your email is never published nor shared.