Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting the java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDrive

Madhav.T.ReddyMar 9 2013
Hi,

I have created executable jar for my Swing Desktop application, My App is running in JDEV but exectuing the jar got the java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver .

I have put my required libraies in class path.
below is my Class path value

C:\XBRL\eRoller_Desktop\Desktop_Appl\deploy>echo %CLASSPATH%
C:\XBRL\MYJAR;C:\XBRL\MYJAR\ojdbc6dms.jar;C:\XBRL\MYJAR\ojdl.jar;C:\XBRL\MYJAR\
rai18n.jar;C:\XBRL\MYJAR\dms.jar

I am executing the below command for running the jar.

C:\XBRL\eRoller_Desktop\Desktop_Appl\deploy>java -cp .. -Dmy.app.properties=C:/XBRL/eRoller_Desktop/Desktop_Appl/config.properties -jar RolloverDeskTopAppJDK7.jar view.RolloverApp

RolloverDeskTopAppJDK7.jar :- my jar file name
view.RolloverApp :- this is my java file name
Dmy.app.properties=C:/XBRL/eRoller_Desktop/Desktop_Appl/config.properties :- from here i have pass the config file where my DB details and some properties is avaliable.

Is any thing i doing wrong/missed out for exececuting the jar file.

please help me on this, it's very high appriciated if any one give idea to ececuting jar.

Thanks,
Madhava.

Comments

thatJeffSmith-Oracle

migrations are setup in 2 primary steps, schema capture and data capture - what you want is pretty simple - just skip the data capture

it has a wizard, you can walk it

it's documented in the help, i've written 2 white papers as well

Mike Kutz

Jammin wrote:

Hi All,

I' d like to use the existing migration features in SQL Developer to migrate

a MSSQL Server db structure (tables, views, procedures, etc...) into a Oracle

db but I'm not interested to migrate the data.

I need to recreate an exact copy of empty db in Oracle with the same structure

with same table, views, procedures....

I am newbie so exists a step-by-step tutorial to do this ?

Thanks a lot to all....

G.M.

"Database Agnostic Code" is a myth.

Oracle has a completely different transaction model than SQL Server.

Those procedures will need to be reviewed to ensure that they "do things the Oracle way".

Refactoring them into Packages almost guarantees a complete re-write of your application.

My $0.02

MK

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 6 2013
Added on Mar 9 2013
0 comments
1,070 views