473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

java.lang.ClassNotFoundException with midp

Hi,

I'm trying to start a example which comes with the midp2.0 distribution.
My relevant environment variables are set in a batch file like:

PATH=%PATH%;\j2sdk1.4.2_10\bin;c:\j2me\midp2.0fcs\ bin;j2me\j2me_cldc\bin
set CLASSPATH=c:\j2me\midp2.0fcs\classes;.
set MIDP_HOME=c:\j2me\midp2.0fcs

When I go to the C:\j2me\midp2.0fcs\example directory and give the following
command:

midp stock.jad

I get the error message: java.lang.ClassNotFoundException: stock.jad

Can anybody help me to prevent this error?

Greetings,

Matheas Manssen

Mar 14 '06 #1
1 7058
The solution is:

midp -classpath . -Xdescriptor stock.jad

Cheers,

Matheas Manssen

"Anoniem" <geheim> schreef in bericht
news:44**********************@text.nova.planet.nl. ..
Hi,

I'm trying to start a example which comes with the midp2.0 distribution.
My relevant environment variables are set in a batch file like:

PATH=%PATH%;\j2sdk1.4.2_10\bin;c:\j2me\midp2.0fcs\ bin;j2me\j2me_cldc\bin
set CLASSPATH=c:\j2me\midp2.0fcs\classes;.
set MIDP_HOME=c:\j2me\midp2.0fcs

When I go to the C:\j2me\midp2.0fcs\example directory and give the
following
command:

midp stock.jad

I get the error message: java.lang.ClassNotFoundException: stock.jad

Can anybody help me to prevent this error?

Greetings,

Matheas Manssen

May 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Fu Bo Xia | last post by:
the java.lang.Object.forName method takes a java class name and returns a Class object associated with that class. eg. Class myClass = Object.forName("java.lang.String"); by if i only know the...
0
by: bruce mcdonald | last post by:
I am creating an extension in java for my style sheet. I want to return a series of nodes containing dynamic data from an extension function. At the top of the style sheet I have ...
2
by: astolpho | last post by:
I am using a slightly outdated reference book on J2EE programming. It gives 2 methods of creating a database used in its casestudies. The first is an ANT script that gives the following output: ...
3
by: jayattarde | last post by:
Hi, While running .jar file I get the following error. Please helpme to sort it out. ption in thread "main" java.lang.NoClassDefFoundError: while resolving class: Cutter at...
8
by: Ananthu | last post by:
Hi I have done all the codings part for connecting mysql with java in eclipse environment. Coding Part: import java.sql.Connection; import java.sql.DriverManager; public class...
2
by: inetjack | last post by:
Hi, This is a little test application, generating and compiling code at runtime. The loadClassLoader() method of the Factory Object suppose to unload all class previously loaded. It does not...
0
by: JAYROO5245 | last post by:
Hi, We are running Weblogic in a clustered environment (2 servers), Citrix as our presentation servers (2) and Oracle as our database backend. We are getting this stacktrace... ...
1
by: lakshmiRam | last post by:
hi i have the below code to start bluetooth over PC to accept data from mobile but when i compile i will get the following errors i have widcom bluetooth stack and bluecove.jar and...
4
by: jmitch89 | last post by:
I don't why I get this error: Exception in thread "main" java.lang.NoClassDefFoundError The statement below works just fine: java -cp...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.