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.

Results 1 to 4 of 4

Thread: Can Java start a Processing ( Grafik Sofware ) Skript to run

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Can Java start a Processing ( Grafik Sofware ) Skript to run

    I have a shown me Processing the Grafiok Programming System. And yes its nice an quik to code my Grafikal Ideas. But many of my calculatiobns and the GUI to Complicate for Processing. So I will solve this throught a Java Programm. And yes I could create a File with all the Information which will be needed by Processing to draw my pictur. But new the Problem. Why can I start Processing, and say at a arg... the location of this file. So I think about two ways which I could go

    1) Can I integrate Processing Code by a short way in to Java Code, and why ...
    2) Can I start / run Processing from the Console, and why ...

    3) Or can I go another Way. And thy is ...

    Please Help me, I am a Beginner ....


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,302
    Thanks
    181
    Thanked 824 Times in 767 Posts
    Blog Entries
    5

    Default Re: Can Java start a Processing ( Grafik Sofware ) Skript to run

    First, your question makes very little sense. If you are using a translator - I recommend finding a new one. If you are not using a translator and english is your second (or third, or fourth) language, think about using one. If english is your first language, I highly recommend thinking about your question and writing ideas down prior to posting.

    Second, from what I could understand, you want to launch an external process using java. Look at the Runtime.exec method. Also have a look at the following
    When Runtime.exec() won't - JavaWorld

  3. #3
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,370
    My Mood
    Hungover
    Thanks
    144
    Thanked 626 Times in 537 Posts

    Default Re: Can Java start a Processing ( Grafik Sofware ) Skript to run

    Are you talking about Processing?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  4. #4
    Member
    Join Date
    Dec 2011
    Posts
    48
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Can Java start a Processing ( Grafik Sofware ) Skript to run

    Ease up folks. Where he is saying why, I think he means how.

    I don't know about Processing or any tools that convert source code? from Processing to Java.

    In reply to your other points..

    Yes, you can launch a Java program from the command line using, for example, the command java myMainClass.

    You can launch a Java GUI using javaw.exe or preparing a jar file using the java jar utility.

    You can launch another application from a java application using a java API class called "Runtime".

Similar Threads

  1. Natural language processing in java
    By nikki. in forum Java Theory & Questions
    Replies: 5
    Last Post: March 19th, 2012, 11:34 PM
  2. Java Web Start app exiting with access denie (java.lang.RuntimePermission
    By sonaljain in forum What's Wrong With My Code?
    Replies: 2
    Last Post: June 13th, 2011, 08:43 PM
  3. Start With JAVA
    By infoprovider in forum The Cafe
    Replies: 2
    Last Post: July 28th, 2010, 04:34 AM
  4. How to schedule a Java Program for Background processing
    By rangarajank in forum Java Theory & Questions
    Replies: 5
    Last Post: May 13th, 2010, 03:57 AM
  5. How should i write and compile java with Ubuntu?
    By Talk Binary in forum Java IDEs
    Replies: 19
    Last Post: May 7th, 2009, 05:29 AM

Tags for this Thread