Jump to content


Photo

Java Pnd


  • Please log in to reply
43 replies to this topic

#31 WizardStan

WizardStan

    Mega GP Mania

  • X-treme Team
  • 6091 posts
  • Gender:Male

Posted 30 November 2010 - 01:32 PM

It's mostly the graphics and the chunk generator. The procedural chunk generator is quite simply really really intensive, and generally the biggest source of slowdown I've seen. A solution is to write a program which runs it, generating a few thousand squares around the spawn point so you have room to explore so the Pandora itself never has to generate a chunk. The graphics are also fairly inefficient, simply in the order that things are drawn even: shouldn't be nearly as major an optimization as slaeshjag is making it out to be, it can simply be done as part of the rewrite that would be necessary to use OGLES.

#32 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 01 December 2010 - 02:45 PM

OK So I've downloaded the Java PND and run the install script. To run a java app I presume I need to 'java [locationoffile]/[filename]'?

Whenever I do that I get the following error java.lang.ClassNotFoundException: .path.to.file.ive.secefied.filename.jar
followed by a big chunk of stuff and a 'Could not find the main class. Program will exit' error.

#33 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 01 December 2010 - 02:46 PM

OK So I've downloaded the Java PND and run the install script. To run a java app I presume I need to 'java [locationoffile]/[filename]'?

Whenever I do that I get the following error java.lang.ClassNotFoundException: .path.to.file.ive.secefied.filename.jar
followed by a big chunk of stuff and a 'Could not find the main class. Program will exit' error.

#34 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 01 December 2010 - 02:46 PM

did you do "java -jar yourapp.jar" ?

#35 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 01 December 2010 - 02:50 PM

hmm well I just tries that and got a much shorter error message 'Failed to load Main-Class manifest attribute from.....'

I'm also getting the same results trying to run a class from my uni coursework, which isn't a jar file (ignore that - was using the file extension by mistake)

Edited by Pleng, 01 December 2010 - 03:08 PM.


#36 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 01 December 2010 - 02:53 PM

hmm well I just tries that and got a much shorter error message 'Failed to load Main-Class manifest attribute from.....'


Then you have a phone program or something, not a complete java program. phoneprograms need j2me not jre

Edited by mcobit, 01 December 2010 - 02:54 PM.


#37 Tor

Tor

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 498 posts
  • Gender:Male

Posted 03 December 2010 - 01:03 PM

Is there any possibility for a Java applet plug-in for Firefox? That's the only thing I really need Java for.. every bank in my country is using a java applet for their common log-in system.

Edited by Tor, 03 December 2010 - 01:04 PM.


#38 WizardStan

WizardStan

    Mega GP Mania

  • X-treme Team
  • 6091 posts
  • Gender:Male

Posted 03 December 2010 - 01:06 PM

That's part of the reason I'm still considering this an alpha release ;)

#39 Leesam

Leesam

    Member

  • Members
  • PipPip
  • 14 posts

Posted 15 December 2010 - 07:09 PM

Can i install this to an SD card? I don't have all that much space left in NAND (30ish megs).


Edit: Read the first post over sounds like the majority of the package stays in the pnd location :)

Edited by Leesam, 15 December 2010 - 07:16 PM.


#40 WizardStan

WizardStan

    Mega GP Mania

  • X-treme Team
  • 6091 posts
  • Gender:Male

Posted 15 December 2010 - 07:32 PM

Yeah, the "install" is just a few hundred byte script that opens the PND on the SD card when you run "java" from the command line.
Mental note, get off my lazy butt and finish this. :P

#41 fettouhi

fettouhi

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 527 posts
  • Location:Odense S, Denmark

Posted 16 March 2011 - 05:50 AM

Is possible to make the java webplugin?

#42 numidark

numidark

    Member

  • Members
  • PipPip
  • 7 posts

Posted 11 November 2011 - 04:15 PM

This Java release for Pandora working properly ? It's JRE ? Thank

#43 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 11 November 2011 - 05:27 PM

This Java release for Pandora working properly ? It's JRE ? Thank

yes. yes

#44 WizardStan

WizardStan

    Mega GP Mania

  • X-treme Team
  • 6091 posts
  • Gender:Male

Posted 12 November 2011 - 12:50 PM

Just recently updated it to work with HotFix 6 (some changes to the run_pnd script prevented the install from behaving properly) and uploaded it to the repo for easier access.