![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2007
Posts: 122
![]() |
I have problem in running WWJ demo program in Ubuntu 8.10 ... the program run on the same machine without any problem under windows
The NASA World Wind diagnostics program give the following result: Code:
NASA World Wind Early Access 2 0.2.0
System Properties
Processors: 2
Free memory: 500325384 bytes
Max memory: 532742144 bytes
Total memory: 532742144 bytes
jnlpx.remove = false
file.encoding.pkg = sun.io
java.home = /usr/lib/jvm/java-6-sun-1.6.0.10/jre
deployment.security.askgrantdialog.notinca = true
deployment.repository.askdownloaddialog.show = true
deployment.system.security.trusted.jssecerts = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/trusted.jssecerts
deployment.console.startup.mode = HIDE
jnlpx.offline = false
java.endorsed.dirs = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/endorsed
jnlpx.relaunch = true
deployment.security.sandbox.jnlp.enhanced = true
sun.java2d.noddraw = true
deployment.security.sandbox.awtwarningwindow = true
sun.os.patch.level = unknown
java.vendor.url = http://java.sun.com/
deployment.user.security.trusted.jssecacerts = /home/ahmad/.java/deployment/security/trusted.jssecacerts
deployment.javaws.home.jnlp.url = http://java.sun.com/products/javawebstart
java.version = 1.6.0_10
deployment.javapi.trace.filename =
deployment.max.output.file.size = 10
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
deployment.user.security.trusted.cacerts = /home/ahmad/.java/deployment/security/trusted.cacerts
java.protocol.handler.pkgs = com.sun.javaws.net.protocol|com.sun.deploy.net.protocol
javaplugin.proxy.config.type = direct
deployment.user.tmp = /home/ahmad/.java/deployment/tmp
user.name = ahmad
deployment.user.logdir = /home/ahmad/.java/deployment/log
sun.io.unicode.encoding = UnicodeLittle
deployment.browser.path = /usr/bin/firefox
deployment.cache.max.size = -1
sun.jnu.encoding = UTF-8
java.runtime.name = Java(TM) SE Runtime Environment
jnlpx.home = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/bin
deployment.system.security.trusted.publishers = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/trusted.publishers
java.specification.name = Java Platform API Specification
user.timezone = Asia/Amman
deployment.security.SSLv3 = true
deployment.proxy.override.hosts =
path.separator = :
deployment.javaws.installURL = http://java.sun.com/products/autodl/j2se
deployment.javaws.ssv.enabled = true
jnlpx.heapsize = 536870912,536870912
file.encoding = UTF-8
deployment.user.security.trusted.publishers = /home/ahmad/.java/deployment/security/trusted.publishers
deployment.javapi.log.filename =
deployment.user.cachedir = /home/ahmad/.java/deployment/cache
deployment.browser.args = -remote openURL(%u,new-window)
deployment.javaws.cache.update = false
deployment.security.validation.crl = false
java.io.tmpdir = /tmp
deployment.version = 6.0
user.language = en
line.separator =
deployment.user.security.policy = file:///home/ahmad/.java/deployment/security/java.policy
jnlpx.jvm = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/bin/java
java.vm.info = mixed mode, sharing
sun.desktop = gnome
java.vm.specification.name = Java Virtual Machine Specification
deployment.max.output.files = 5
deployment.update.mime.types = true
deployment.security.browser.keystore.use = true
deployment.security.jsse.hostmismatch.warning = true
deployment.system.security.cacerts = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/cacerts
deployment.proxy.type = 3
deployment.user.security.trusted.jssecerts = /home/ahmad/.java/deployment/security/trusted.jssecerts
deployment.javaws.shortcut = ASK_IF_HINTED
java.awt.printerjob = sun.print.PSPrinterJob
deployment.security.https.warning.show = false
deployment.javaws.autodownload = ALWAYS
deployment.proxy.bypass.local = false
http.auth.serializeRequests = true
deployment.javaws.logFileName =
os.name = Linux
java.specification.vendor = Sun Microsystems Inc.
deployment.javaws.uninstall.shortcut = false
deployment.system.security.jssecacerts = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/jssecacerts
deployment.system.security.oldcacerts = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/cacerts
java.vm.name = Java HotSpot(TM) Client VM
java.quick.starter = false
deployment.security.askgrantdialog.show = true
java.library.path = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
java.class.version = 50.0
deployment.control.panel.log = false
deployment.system.security.trusted.clientauthcerts = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/trusted.clientcerts
deployment.trace = false
deployment.security.clientauth.keystore.auto = true
deployment.security.validation.ocsp = false
deployment.javapi.cache.update = false
deployment.cache.jarcompression = 0
deployment.javaws.update.timeout = 1500
sun.boot.library.path = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/i386
sun.management.compiler = HotSpot Client Compiler
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
deployment.user.extdir = /home/ahmad/.java/deployment/ext
deployment.system.security.trusted.certs = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/trusted.certs
deployment.system.security.oldjssecacerts = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/jssecacerts
deployment.proxy.same = false
deployment.security.authenticator = true
deployment.javaws.traceFileName =
deployment.user.security.trusted.clientauthcerts = /home/ahmad/.java/deployment/security/trusted.clientcerts
java.vm.specification.version = 1.0
sun.cpu.isalist =
java.ext.dirs = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/ext:/usr/java/packages/lib/ext
os.version = 2.6.27-9-generic
user.home = /home/ahmad
deployment.user.security.trusted.certs = /home/ahmad/.java/deployment/security/trusted.certs
trustProxy = true
java.vm.vendor = Sun Microsystems Inc.
deployment.javapi.lifecycle.exception = false
user.dir = /home/ahmad
deployment.cache.enabled = true
sun.cpu.endian = little
jnlpx.splashport = 59265
deployment.security.notinca.warning = true
deployment.javaws.splash.index = /home/ahmad/.java/deployment/cache/6.0/splash/splash.xml
jnlpx.vmargs = "-Xmx512m -Xms512m -Dsun.java2d.noddraw=true"
java.vm.version = 11.0-b15
deployment.security.trusted.policy =
java.class.path = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/deploy.jar
os.arch = i386
deployment.mime.types.use.default = true
deployment.security.pretrust.list = true
java.rmi.server.RMIClassLoaderSpi = com.sun.jnlp.JNLPRMIClassLoaderSpi
javawebstart.version = javaws-1.6.0_10
deployment.capture.mime.types = false
deployment.security.TLSv1 = true
sun.java.launcher = SUN_STANDARD
deployment.jpi.mode.new = false
deployment.javaws.muffin.max = 256
https.protocols = TLSv1,SSLv3
deployment.log = false
java.vm.specification.vendor = Sun Microsystems Inc.
file.separator = /
java.runtime.version = 1.6.0_10-b33
sun.boot.class.path = /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/classes:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/javaws.jar:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/deploy.jar
java.security.policy = file:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/security/javaws.policy
user.country = US
deployment.security.expired.warning = true
deployment.repository.enabled = true
deployment.security.SSLv2Hello = false
deployment.javapi.runtime.type = 0
deployment.javaws.associations = ASK_USER
java.vendor = Sun Microsystems Inc.
java.specification.version = 1.6
deployment.user.security.saved.credentials = /home/ahmad/.java/deployment/security/auth.dat
sun.arch.data.model = 32
OpenGL Values
OpenGL version: 1.4 Mesa 7.2
stencil bits: 8
depth bits: 24
max texture units: 8
max texture image units: 8
max texture coords: 8
max texture size: 2048
max elements indices: 3000
max elements vertices: 3000
max lights: 8
Extensions
GL_ARB_depth_texture
GL_ARB_fragment_program
GL_ARB_multisample
GL_ARB_multitexture
GL_ARB_point_parameters
GL_ARB_shadow
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_mirrored_repeat
GL_ARB_texture_non_power_of_two
GL_ARB_texture_rectangle
GL_ARB_transpose_matrix
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_window_pos
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_equation_separate
GL_EXT_blend_func_separate
GL_EXT_blend_logic_op
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_clip_volume_hint
GL_EXT_cull_vertex
GL_EXT_compiled_vertex_array
GL_EXT_copy_texture
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil
GL_EXT_packed_pixels
GL_EXT_point_parameters
GL_EXT_polygon_offset
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_wrap
GL_EXT_subtexture
GL_EXT_texture
GL_EXT_texture3D
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_add
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias
GL_EXT_texture_object
GL_EXT_texture_rectangle
GL_EXT_vertex_array
GL_3DFX_texture_compression_FXT1
GL_APPLE_client_storage
GL_APPLE_packed_pixels
GL_ATI_blend_equation_separate
GL_ATI_separate_stencil
GL_IBM_rasterpos_clip
GL_IBM_texture_mirrored_repeat
GL_INGR_blend_func_separate
GL_MESA_pack_invert
GL_MESA_ycbcr_texture
GL_MESA_window_pos
GL_NV_blend_square
GL_NV_light_max_exponent
GL_NV_point_sprite
GL_NV_texture_rectangle
GL_NV_texgen_reflection
GL_NV_vertex_program
GL_NV_vertex_program1_1
GL_OES_read_format
GL_SGIS_generate_mipmap
GL_SGIS_texture_border_clamp
GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod
GL_SGIX_depth_texture
GL_SUN_multi_draw_arrays
JOGL Values
package javax.media.opengl, Java Bindings for OpenGL API Specification, version 1.1.1
Specification Title = Java Bindings for OpenGL API Specification
Specification Vendor = Sun Microsystems, Inc.
Specification Version = 1.1.1
Implementation Vendor = Sun Microsystems, Inc.
Implementation Version = 1.1.1
|
|
|
|
|
|
#2 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
A couple things maybe... 512M memory is not that much nowadays, Do you have 3D hardware acceleration - OGL Mesa?. But if it works with Windows it is probably something else...
|
|
|
|
|
|
#3 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,617
![]() |
http://forum.worldwindcentral.com/sh...ad.php?t=20383
http://forum.worldwindcentral.com/sh...ghlight=ubuntu WWJ runs under Ubunto 8.10. Dual boot with: Vista, AMD CPU and ATI video -> OK XP Intel CPU and ATI video -> OK With Intel 945G video WWJ runs OK with XP and Ubuntu 8.04. With the 945G it would not run correctly under 8.10, I had to re install 8.04. The 945G chipset would not run WWJ under Vista without problems, I went back to XP on that computer. |
|
|
|
|
|
#4 |
|
WWJ aficionado
Join Date: Aug 2007
Posts: 136
![]() |
I work with Ubuntu 8.10 (64bits) and Java6u10 too without problems.
My only two differentces are: (1) I install Java6u10 manually not the default Ubuntu package and (2) graphics driver card is configured fine, you are using mesa drivers that in some situations has cause headache to me. Bye.
__________________
|--------------------------------------- | http://www.acuriousanimal.com/ |--------------------------------------- | http://theballoonproject.blogspot.com |--------------------------------------- | _ __ | /_| ( _ _/'_ _ |( |. __)(//)//(/(/() | _/ |--------------------------------------- |
|
|
|
|
|
#5 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,617
![]() |
Ububtu can use OpenJDK
Here is a very good link. http://jhcore.com/2008/06/26/eclipse...ede-on-ubuntu/ You could probably try either Sun's Java or the OpenJDK by changing this: export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ You probably need to change the build path libraries also. Here is a link to install the Sun java http://www.javadesign.info/SystemsHa...java-on-ubuntu then: sudo update-java-alternatives -s java-6-sun edit: install driconf as vash mentioned in post #11 http://forum.worldwindcentral.com/sh...=ubuntu&page=2 Then in Ubuntu: System->Preferences->3d Aceleration->Image Quality->Enable S3TC ... ->Yes asantiago, I also have a computer with an AMD 64 CPU but WWJ with Sun's 64 bit java would not work in Ubuntu, I had to switch back to 32 bit java. Does something need to be set up in Eclipse 3.4 to run 64 bit? This is a dual boot with Vista 32 bit, maybe it is just a 32 bit machine. Last edited by nlneilson; 11-30-2008 at 06:57 PM. |
|
|
|
|
|
#6 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,617
![]() |
I installed the 64 bit versions of Ubuntu 8.10 and Eclipse 3.4
Trying to run WWJ gives this error: Code:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/sharon/WWJ5/worldwind-release.0.5.0/libgluegen-rt.so: /home/sharon/WWJ5/worldwind-release.0.5.0/libgluegen-rt.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) Installing "jogl-1.1.2-pre-20080523-linux-amd64.zip" took care of that error. Now this error just keeps repeating. Code:
Nov 30, 2008 6:28:19 PM gov.nasa.worldwind.geom.Matrix fromPerspective SEVERE: Argument out of range 0 Nov 30, 2008 6:28:19 PM gov.nasa.worldwind.WorldWindowGLAutoDrawable display SEVERE: Exception while attempting to repaint WorldWindow java.lang.IllegalArgumentException: Argument out of range 0 at gov.nasa.worldwind.geom.Matrix.fromPerspective(Matrix.java:778) at gov.nasa.worldwind.view.BasicOrbitView.doApply(BasicOrbitView.java:642) at gov.nasa.worldwind.view.AbstractView.apply(AbstractView.java:85) at gov.nasa.worldwind.AbstractSceneController.applyView(AbstractSceneController.java:310) at gov.nasa.worldwind.BasicSceneController.doRepaint(BasicSceneController.java:22) at gov.nasa.worldwind.AbstractSceneController.repaint(AbstractSceneController.java:201) at gov.nasa.worldwind.WorldWindowGLAutoDrawable.doDisplay(WorldWindowGLAutoDrawable.java:227) at gov.nasa.worldwind.WorldWindowGLAutoDrawable.display(WorldWindowGLAutoDrawable.java:171) at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78) at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435) at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194) at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412) at javax.media.opengl.GLCanvas.display(GLCanvas.java:244) at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277) at javax.media.opengl.GLCanvas.update(GLCanvas.java:354) at sun.awt.RepaintArea.updateComponent(RepaintArea.java:255) at sun.awt.X11.XRepaintArea.updateComponent(XRepaintArea.java:60) at sun.awt.RepaintArea.paint(RepaintArea.java:232) at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:702) at java.awt.Component.dispatchEventImpl(Component.java:4545) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Nov 30, 2008 6:38:33 PM gov.nasa.worldwind.geom.Matrix fromPerspective SEVERE: Argument out of range 0 Nov 30, 2008 6:38:33 PM gov.nasa.worldwind.WorldWindowGLAutoDrawable display Last edited by nlneilson; 12-01-2008 at 02:46 AM. |
|
|
|
|
|
#7 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,617
![]() |
With the latest nVidia video driver installed in Win Vista WWJ works OK.
When booting into Ubuntu 8.10 the Linux 64 bit driver (177) needs to be installed. http://www.ubuntugeek.com/common-pro...x-upgrade.html WWJ runs but very slow. 100% on one of the dual cores and they alternate. only the .jpg images work, no .dds Code:
javax.media.opengl.GLException: DXTn compressed textures not supported by this graphics card Last edited by nlneilson; 12-02-2008 at 03:55 AM. |
|
|
|
|
|
#8 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,617
![]() |
Problem avoided, removed Ubuntu 8.10 64 bit, installed 32 bit.
WWj runs OK. Last edited by nlneilson; 12-02-2008 at 07:35 AM. |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Nov 2007
Posts: 122
![]() |
OK nlseilson... I've installed the driconf...and set the "Enable S3TC" to YES...
now it somehow better... the program does not report any error as it was... at first the globe is appear perfectly... but once I click over it... it turn to a transparent blue sphere! |
|
|
|
|
|
#10 |
|
weekend warrior
Join Date: May 2008
Posts: 95
![]() |
I had some problem getting the nvidia drivers to work with 8.10 yesterday. Backed off to 8.04 and everything is working as expected.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to setup WWJ | Hervé | Development Help | 96 | 03-04-2013 03:42 PM |
| WWJ - Ubuntu Linux - "no gluegen-rt" error | nlneilson | Development Help | 12 | 11-12-2008 08:36 PM |
| WWJ Applet problem please Help | Rismo | Development Help | 4 | 05-20-2008 05:23 PM |
| applet security problem with WWJ v0.5 ? | jp09 | Development Help | 3 | 05-20-2008 03:04 PM |
| Ubuntu install package for WWJ | AtomicPunk | Feature Discussion | 1 | 09-30-2007 11:28 PM |