CLASSPATH Issue in SunOS

Hi Friends
I need to add path to CLASSPATH in weblogic start
OS is SunOS dcuatapp04 5.11 11.3 sun4v sparc sun4v

I follow instructions given in below link. but even startup log shows the new path it does not load the jar file.
how can i fix this

Oracle WebLogic Server 12.1.3 Developer Guide: Enabling Java EE 7
Features

File changed > setDomainEnv.sh

--- Post updated at 06:51 AM ---

This is how i set

PRE_CLASSPATH=/u01/app/oracle/product/Middleware/Oracle_Home/wlserver/modules/com.oracle.weblogic.jpa21support_1.0.0.0_2-1.jar:/u01/app/oracle/product/Middleware/Oracle_Home/oracle_common/modules/javax.persistence_2.1.jar
export PRE_CLASSPATH

Error is below:

weblogic.application.ModuleException: java.lang.NoSuchMethodError:

Hi,

Did you try using find to locate the .jar file?

My environment looks like;

weblogic@XXXXXX01 : /export/home/weblogic -> env
_=*15350*/usr/ccs/bin/env
HOME=/export/home/weblogic
HZ=
JAVA_HOME=/usr/jdk/instances/jdk1.8.0/jre
LANG=en_US.UTF-8
LC_ALL=
LC_COLLATE=
LC_CTYPE=
LC_MESSAGES=C
LC_MONETARY=
LC_NUMERIC=
LC_TIME=
LOGNAME=weblogic
MAIL=/usr/mail/weblogic
MW_HOME=/weblogic/Oracle/Middleware
ORACLE_HOME=/weblogic/Oracle/Middleware/Ora_Home_XXXXX
PATH=/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/export/home/weblogic/bin:/usr/jdk/instances/jdk1.6.0/jre:/usr/bin/X11:/weblogic/Oracle/Middleware/Ora_XXXXX_home/bin:.
PWD=/export/home/weblogic
SHELL=/usr/bin/ksh
SHLVL=1
TERM=xterm
TNS_ADMIN=/weblogic/Oracle/Middleware/XXXXX_instance/config
TZ=localtime
WL_HOME=/weblogic/Oracle/Middleware/wlserver_10.3
A__z="*SHLVL
weblogic@XXXXXXt01 : /export/home/weblogic ->

Regards

Gull04

jar is available and i have already given correct path in .sh file

any help pls

Hi,

Can you post the exact output, from the screen. Also, post your environment and the location of the .jar file.

Regards

Gull04

seems classpath is getting initialized
can u help me to set the class path
location is /u01/app/oracle/product/Middleware/Oracle_Home/user_projects/domains/base_domain/bin
file is setDomainEnv.sh

--- Post updated at 11:55 AM ---

when i execute echo $CLASSPATH it s blank

Hi,

You've answered the question in post #1, instead or as well as PRE_CLASSPATH - you'll need to set and export CLASSPATH.

Regards

Gull04