Home > Default > Classpath troubles in Solaris 8

Classpath troubles in Solaris 8

November 30Hits:0
Advertisement
Hi, I'm trying to run my application build on JWSDP1.2 on Solaris 8. I've installed the JWSDP and J2SDK and they work fine. But now I'm stuck with the classpath.
I use (something like :) the following start script:
HME="/export/home/NAME"
JAX="$HME/jwdsp1.2/jaxb/lib"
JWS="$HME/jwsdp1.2/jwsdp-shared/lib"
CLSPATH="../:.:$JAR/jaxb-api.jar:$JAR/jaxb-impl.jar:$JAR/jaxb-libs.jar:$JWS/relaxngDatatype.jar:$JWS/namespace.jar"
java -classpath $CLSPATH -Jar Manager.Jar
When I run this script in 'HME/Manager' I get the message:
NoClassDefFoundError: javax/xml/bind/JAXBException
that class resides in jaxb-api.jar!
Who can tell me what I've done wrong? I've checked the paths a dozen of times and tried relative as well as absolute paths. I even tried the directory to which /export/home is 'mounted'.
The application runs fine on Windows XP using the same classpath and jar(name)s...
Thanks in advance

Answers

Hi!
In your classpath... aren't you using $JAR instead of $JAX ??
In the line:
CLSPATH="../:.:$JAR/jaxb-api.jar:$JAR/jaxb-impl.jar:$JAR/jaxb-libs.jar:$JWS/relaxngDatatype.jar:$JWS/namespace.jar"

Read other 5 answers

Tags:

Related Articles

  • Classpath troubles in Solaris 8November 30

    Hi, I'm trying to run my application build on JWSDP1.2 on Solaris 8. I've installed the JWSDP and J2SDK and they work fine. But now I'm stuck with the classpath. I use (something like :) the following start script: HME="/export/home/NAME" JAX=&q

  • Trouble installing Solaris 10(x86) u4 8/07 on a new Dell OptiPlex 755November 30

    Hello All, I'm having trouble installing Solaris 10(x86) u4 8/07 on a new Dell OptiPlex 755. I have also tried installing opensolaris 9/07 Express Dev snv_70b with the same issue. I tried disabling all unnecessary hardware in the BIOS as well. After

  • Java classpath limitation in solaris 8?November 30

    Hi, I'd like to find out if there is a limitation on the classpath length in solaris 8. We've noticed that upon keeping the length under 1000 characters, we ar able to run programs. Is there a workaround for this ? Thanx!Hi! In your classpath... aren

  • Classpath setup on SolarisNovember 30

    Hi Expert, I'm new to install iAS to Solaris. On NT, the classpath can be set/modify thru "Kregedit" under key \SOFTWARE\iPlanet\Application Server\6.0\Java\classpath. What's the equivalent entry for Solaris? Thanks, Keith Chengclasspath variabl

  • Advanced classpath troubles :(November 30

    I've tried the general programming thread, searched my #ss off on the internet. A lot of people have (experienced) the same problem as I do now. but believe me NOBODY ever replied to every cry for help. I've seen posts dated from 1999 till now (2003,

  • Trouble with Solaris 10 install on SunBlade 100 using Media CDs from SunNovember 30

    Hello World, My SunBlade 100 was not reading various burned Solaris 10 media, so I purchased the media kit from Sun. The installation is successful up until the point where it asks for CD2. I didn't even hear the drive spin when I clicked "Next"

  • Help!  Having Trouble Installing Solaris 10 on a SPARC machineNovember 30

    Hi All, I recently found a new job, and one of the requirements is I learn Solaris 10. I have successfully loaded the most recent x86 version on a laptop, but..... My workplace has a sun blade 2500 (several actually) and I am trying to load the newes

  • Trouble installing Solaris 8 from cd.November 30

    Hi, I am trying to install solaris 8 from cd using remote connection. first the pc got hung and now it gave this error message. WARNING: /[email protected],4000/[email protected]/[email protected],0 (sd21): Error for Command: read(10) Error Level: Retryable Requested Block: 69440 Erro

  • Classpath troubleNovember 30

    ok. I had a ShoppingCart working perfect when it was in one directory. Now, I move it to a different one, and errors arise. I've tried modifying the classpath but nothing works. // old app directory c:\jakarta-tomcat-4.0.3\webapps\ROOT\WEB-INF\classe

  • Trouble installing Solaris 10 on Ultra 5!November 30

    Got this free U5 and just today I received a keyboard and mouse I had bought on eBay. So I went ahead and tried to install and didn't even know how to boot from CD (I am totally new to Sun hardware). So after googling a bit I have gotten as far as th

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.865 s.