PS VITA / PS TV Run Java on PS Vita - POC Demo by soywiz

Discussion in 'PS Vita News' started by STLcardsWS, Sep 17, 2016.

By STLcardsWS on Sep 17, 2016 at 1:40 PM
  1. 9,309
    9,598
    1,172
    STLcardsWS

    STLcardsWS Administrator

    Joined:
    Sep 18, 2014
    Messages:
    9,309
    Likes Received:
    9,598
    Trophy Points:
    1,172
    Everyday that passes we are finding more interesting ports and brew coming to the PS Vita / PlayStation TV (pstv) via the HENkaku exploit. An interesting releases has surfaced from developer soywiz (Carlos Ballesteros Velasco) has an interesting POC of Java running on a Vita, as the dev in his words has a " Java+Kotlin demo that can run in the JVM, the browser and PSVita".. Checkout the details from the information the developer has provided the PS Vita Community


    Vita-Java.jpg


    • PS Vita - Java

      This is a mixed Java+Kotlin demo that can run in the JVM, the browser and PSVita, and could be easily ported to other platforms like 3DS among others.

      In PSVita/C++ it uses ARC instead of GC, so the performance is constant and doesn't have any delays. It works thanks to JTransc + the great new C++ target in 0.4.0 done by dsp-omen. For drawing without dependencies on psvita, it uses xerpi's draw.c from a sample in libftpvita, but you can hook any C library/code easily in order to for example run libvita2d or raw gxm calls.

      You can develop your application directly in intelliJ and test it using your favourite debugger, and then when ready compile it for the psvita and install it in just one click (installFtp gradle task).

    • vita-java.png

      Run in the PSVita
      • Go to demo1 directory, and with the vitasdk installed and VITASDK environment variable properly set, execute gradlew buildVita. That will generate a vpk file that can be uploaded to a psvita with henkaku.
      • You can also execute: installFtp that will upload via ftp to the ip in env VITAFTP, and will promote it with VitaShell >= 0.95.

      Run in the Browser
      • Go to demo1 directory and run gradlew distJs. It will generate build/jtransc-js/index.html that you can serve along the program.js file with any webserver.

      Run in the JVM
      • Go to demo1 directory and open build.gradle with intelliJ (Community Edition is ok).

     
    Last edited: Sep 17, 2016

Comments

Discussion in 'PS Vita News' started by STLcardsWS, Sep 17, 2016.

Share This Page