FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 175 : Finish tracking down all Java 1.5 problems
Last modified: 2007-07-31 06:00
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
WONTFIX -
Pr
i
ority:
P3
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
fry
Assigned To:
fry
Attachment
Type
Created
Size
Actions
terrain code. buggy on Java 1.5
application/x-zip-compressed
2005-12-03 13:20
555.77 KB
Description
: Opened: 2005-10-15 10:14
sun seems to have broken a handful of things in java 1.5, leading us to
discourage its use with processing.
it's also only available as an optional install on mac os x tiger, meaning
that as of this writing, not many people are using it.
this bug item can be used to track any issues, or refer to other bugs
related to java 1.5 support.
Additional Comment
#1 From Processing@amudanan.com 2005-12-03 08:31
Shalom,
If you navigate to
http://java.com
, and try to download java, it'll ask you to
download "Java Runtime Environment Version 5.0 Update 6"
and write:
"You've chosen to download the 5.0 version of the Java Runtime Environment.
(filesize: 90 KB)"
Since the Processing applet directs to java.com , this means that every new
installation of Java will be Java 1.5. I have a probelm showing texture on a terrain
generated (using quads) with Processing. When used with Java 1.5, the landscape is
black instead of showing the texture.
Is this bug a known bug, or did I miss something?
Many thanks,
Yoav.
Additional Comment
#2 From fry 2005-12-03 10:53
can you file a new bug and attach the sketch to it so that we can debug it
and see what's going on? use tools -> archive sketch, then attach it using
"create a new attachment". that way we can track it specifically.
Additional Comment
#3 From Processing@amudanan.com 2005-12-03 13:20
edit
]
terrain code. buggy on Java 1.5
Additional Comment
#4 From fry 2005-12-03 14:37
but you're sure this works with java 1.4? using openStream("../../" is
likely to cause problems because it has no way of really supporting URLs so
at first glance it looks like there might be errors in the code.
have you looked at the output of the java console (detailed in the faq
under applet problems) to see what it gives you when running as an applet?
Additional Comment
#5 From Processing@amudanan.com 2005-12-04 07:32
Yes... this did correct everything. I am sorry I bothered you. It did work on 1.4 when
I ran it. I thought the errors were only since the compilation is local.
(Here's a temporary test:
http://amudanan.com/tests/applet
)
Thanks again for your help, and for creating Processing,
Yoav.
Additional Comment
#6 From fry 2005-12-04 09:15
let's no longer use this bug for tracking individual issues, but it can be
referred to as a general pointer for 1.5 stuff..
so for other readers of this bug:
if you have a problem with java 1.5, please file a new bug related to the
specific issue. once it has been confirmed as being related to java 1.5, it
will be added as an additional reference from here.
and for those who want more information about the status of 1.5 support,
you can add yourself to the cc list on this bug.
Additional Comment
#7 From jeffs 2006-03-20 08:08
Mac OSX 10.4.5
1.6 GHz G5
2GB RAM
java version "1.5.0_06"
attempting to run Library-OpenGL-Matrix example
from newly downloaded distribution
appears to be puking when asking for Canvas to draw on
and then getting to call for native method
[just a guess]
jeffs
stack trace follows:
----------
java.lang.UnsatisfiedLinkError: JAWT_GetAWT0
java.lang.UnsatisfiedLinkError: JAWT_GetAWT0
at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Native Method)
at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT(JAWTFactory.java:37)
at net.java.games.jogl.impl.NativeLibLoader$1.run(NativeLibLoader.java:78)
at java.security.AccessController.doPrivileged(Native Method)
at net.java.games.jogl.impl.NativeLibLoader.load(NativeLibLoader.java:58)
at net.java.games.jogl.impl.GLContext.<clinit>(GLContext.java:52)
at
net.java.games.jogl.impl.macosx.MacOSXGLContextFactory.createGLContext(MacOSXGLContextFactory.java:60)
at net.java.games.jogl.GLCanvas.<init>(GLCanvas.java:72)
at
net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:150)
at
net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:118)
at
net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:85)
at processing.opengl.PGraphicsGL.<init>(PGraphicsGL.java:101)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at processing.core.PApplet.createGraphics(PApplet.java:977)
at processing.core.PApplet.createGraphics(PApplet.java:931)
at processing.core.PApplet.size(PApplet.java:845)
at processing.core.PApplet.size(PApplet.java:788)
at Temporary_2419_47.setup(Temporary_2419_47.java:13)
at processing.core.PApplet.display(PApplet.java:1259)
at processing.core.PGraphics.requestDisplay(PGraphics.java:525)
at processing.core.PApplet.run(PApplet.java:1142)
at java.lang.Thread.run(Thread.java:613)
java.lang.RuntimeException: JAWT_GetAWT0
at processing.core.PApplet.createGraphics(PApplet.java:994)
at processing.core.PApplet.createGraphics(PApplet.java:931)
at processing.core.PApplet.size(PApplet.java:845)
at processing.core.PApplet.size(PApplet.java:788)
at Temporary_2419_47.setup(Temporary_2419_47.java:13)
at processing.core.PApplet.display(PApplet.java:1259)
at processing.core.PGraphics.requestDisplay(PGraphics.java:525)
at processing.core.PApplet.run(PApplet.java:1142)
at java.lang.Thread.run(Thread.java:613)
Additional Comment
#8 From fry 2007-07-31 06:00
closing this as a bug... doing the catch-all bug reports isn't a good idea.