General :: SuSe 11.3 - Could Not Find Main Class (OData)

Apr 20, 2011

I have installed suse linux 11.3. I have jdk 1.6.20.0 and oracle 10g 10.2.0. When I tried to connect to a database through thin driver ,it is giving me the following error.

Exception in thread "main" java.lang.NoClassDefFoundError: odata
Caused by: java.lang.ClassNotFoundException: odata
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: odata. Program will exit.

View 3 Replies


ADVERTISEMENT

Debian Programming :: Java Can't Find Main Class

May 18, 2010

This is a bit of revision for the OU course M257

Code: Select all import java.util.*;
public class FindDupes {
public static void main(String[] args) {
   Set<String> orig = new HashSet<String>();
   Set<String> dupe = new HashSet<String>();
   for(String a: args)
   if(!orig.add(a))
      dupe.add(a);

   orig.removeAll(dupe);
   System.out.println("words " + orig);
   System.out.println("dudes " + dupe);
}
}

for some reason it will compile but not run on debian lenny complains it can't find the main class but it compiles and runs without problem on Fedora 12.

View 6 Replies View Related

Ubuntu Multimedia :: "Could Not Find The Main Class: Org.thestaticvoid.iriverter.ConverterUI"

Jun 5, 2010

ireverter will not launch due to a java problem: "Could not find the main class: org.thestaticvoid.iriverter.ConverterUI"

In the past a solution was to add: "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni" before the java line in the script. This does not correct my problem.

View 1 Replies View Related

Programming :: Getting Undefined Reference To Main In Sub-class For BST?

Apr 27, 2011

I'm writing a binary search tree class to insert records and I'm stuck on the following error:

Code:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
Here is the code for my class:

[Code]...

I really don't know how to approach this, I thought that everything was working fine but I have no idea what is wrong. Also, for clarification, main() is in a different .cpp file that #includes "tree.h"

View 13 Replies View Related

General :: Find The Scope / Definitions Of A Class / Methods?

Feb 13, 2010

In Windows environment when I used Borlan for C/C++ compilation, I was used to find the the scope/definitions of the methods/classes by pressing

Code:
ctrl + F1

when the cursor was hovering on that method/class. How can I find the scopes/definitions in the GNU/Linux?

Code:
//atoi.cc
#include <iostream>
main(int argc, char* argv[]) {
float var_float = atof(argv[0]);

[Code]....

View 5 Replies View Related

Programming :: Replacing The File In .Jar - Java.lang.NoClassDefFoundError Exception At Main Class

Jul 21, 2010

working on a script to update .Jar file, I have tried jar xf to unpack and jar cf to repack it is giving me java.lang.NoClassDefFoundError exception at main class. I also tried jar uf, which is also not working for me Basically my jar file requires to update date, which i do from "winrar" Manual it works fine, but now to remove "Donkey work", i want to make an script which does this all automatically, and the last stage is to update jar file which is not happening.

View 1 Replies View Related

SUSE :: Main Differences Between Opensuse And Ubuntu?

Feb 4, 2010

I'm thinking of trying out opensuse for a while. However, I'm used to Ubuntu so I'd like to know what the major differences are between the two distros. Hopefully, that will allow me to make a better comparison. I'm not talking about differences like "this is more 'polished' than that" or " this looks cooler than that".. I want to if there are differences in the file system... the software..

View 7 Replies View Related

Hardware :: Clone Main HD Running SuSe 10.1?

Jan 4, 2011

I wish to make a clone of my main hd running Suse Linux 10.1. I'd like the clone to act just as the original i.e. booting the system with 1 other hd and an cd drive. I think I hear the bearings on my 200 gb maxstor. I have a 300 gb maxstor that I wish to use as hda.

View 10 Replies View Related

OpenSUSE Install :: Cannot Compile Vdrift-2009-06-15 - Warning: The Options Class Is Deprecated; Use The Variables Class Instead

Mar 12, 2010

I have a problem with compiling vdrift-2009-06-15 using scons. As the source that i obtained only supports scons i cannot use make. the error that i get when i try to compile it in GNOME Terminal is: scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 9, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 13, in <module>
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
[Code]........

View 4 Replies View Related

Programming :: Using Grep And Regular Expression To Find Class References In C++ File?

May 28, 2010

I'm trying to math all class references in a C++ file using grep with regular expression. I'm trying to know if a specific include is usuless or not, so I have to know if there is a refence in cpp. I wrote this RE that searches for a reference from class ABCZ, but unfortunately it isn't working as I espected:

grep -E '^[^(/*)(//)].*[^a-zA-Z]ABCZ[]*[*(<:;,{& ]'
^[^(/*)(//)] don't math comments in the begging of the line ( // or /* )
.* followed by any character

[code]....

Well, I can get patterns like this:

class Test: public ABCZ{
class Test: public ABCZ {
class Test : public ABCZ<T>

[code]....

View 4 Replies View Related

General :: Where To Find Atheros Ar8131 Driver For Suse 9.1

Mar 23, 2010

where to find atheros ar8131 driver for suse linux 9.1

View 14 Replies View Related

SUSE / Novell :: Cannot Find Libtk8.4.so For Suse 11.2

Feb 4, 2010

The software use to work well here, but now I got this when I try to run it

sparky: error while loading shared libraries: libtk8.4.so: cannot open shared object file: No such file or directory

But I can not find it.

I also tried

cd /usr/lib
ln -s libtk8.4.so libtk.so.0
ln -s libtcl8.4.so libtcl.so.0

but this does not work neither.

View 4 Replies View Related

OpenSUSE :: Find Gnome Main Menus Especially The Mint Menu?

Jun 12, 2011

what are the main menus available in gnome and where can i find them. I am a fan of openSUSE but i dislike its menu coz it doesnot have more applications displayed within the menu(opens a new window instead) So can nyone tell me where can i find gnome main menus especially the mint menu?

View 5 Replies View Related

Ubuntu Installation :: How To Find Packages Installed Not From Main Repos

Apr 13, 2010

I want to clean my ubuntu installation and I want to find packages which I installed using .deb files or using another (not ubuntu) repositories. I'm sure it can be done using apt or dselect or dpkg, but how?)

View 2 Replies View Related

Ubuntu :: Can't Find Software Center Nor System / Main Menu List

Mar 28, 2010

I recently managed to install it on a PC alongside Windows XP (seperate hard disk's). Anyways I downloaded AVG 8.5.732 (avg85flx-r732-a3168.i386.deb) and installed the package (Synaptic Package Manager lists it as being installed) but I can't find in the Ubuntu Software Centre nor can I find it in the system/main menu list.

View 6 Replies View Related

General :: Find Something Like "unclutter Windows" In New Suse 11?

Mar 23, 2010

I loaded the new SUSE 11 on my computer at work, and now cannot find how to "unclutter windows". There is an equipment control panel that disappears and the only ways to retrieve it is to unclutter windows or completely restart the application!

View 2 Replies View Related

General :: Class Getting Humility Lesson

Mar 2, 2011

I'm in Linux class getting a humility lesson as I type this.

View 2 Replies View Related

General :: Compile C++ Class In System?

May 25, 2010

I am new in c++ progreming .
i have written lot of classes and main class of c++ in one file and compile successfully but now i have written all classes in different and main class in different file like this.code...

now how to compile and run these classes

View 1 Replies View Related

General :: Sys/class/net/ethx/type - What Is It?

May 3, 2011

To get info of all etherhet adapters I am using C as well as info from various files in /sys/class/net/ethx directory.

There is a file name 'type' and has a number in it. Is it physical medium type of ethernet adapter? If yes, then how do I get string representation of that number? If no, then How do I determine physical medium type of ethernet adapter. For example 802.3, 802.5 etc.

View 1 Replies View Related

General :: Smtp Class In Chrooted Directory

Jul 29, 2010

I am unable to send emails throught smtp class with auth server. Whenever i send the email even throught mybb smtp class in forum i see blank page and apache logs shows: Code: [Thu Jul 29 16:41:49 2010] [notice] child pid 23716 exit signal Segmentation fault (11) any idea what i have to add for proper work of this?

View 1 Replies View Related

General :: /sys/class/net/ Is This Is The Correct Place For Eth Info

Apr 12, 2011

Using a python script, I am gathering various info about all the ethernet adapters installed. For this I am parsing all the directories(each directory represent a ethernet adapter) inside"/sys/class/net/" directory.Is this is the correct place and de-facto standard for listing ethernet adapters?I am concerned about modern distros as well as a bit older ones for the presence of this directory.

View 1 Replies View Related

SUSE :: Cannot Find Any Repositories

Aug 4, 2010

for a while my system was automatically updating. Now when it says there are updates available, it cannot find any repositories.

View 7 Replies View Related

Ubuntu Multimedia :: Find A Way To Watch Videos From Main Desktop Computer On Another Computer?

Jul 9, 2011

I've been trying to find a way to watch videos from my main desktop computer on another computer I've plugged into an HDTV. I'm such a Linux newbie that I decided to give Mythbuntu a try. It was way to complicated for what I needed, and I'm sure that some more experienced people reading my first two sentences laughed to themselves at my naivety.

What I am trying to find is simple: browsing one computer's home folder from another computer, and playing the videos therein. If there's anything like Mythvideo that requires less than half of the skill requirements, I will telepathically send love to the person that informs me of it.

View 2 Replies View Related

General :: Dual Boot Class Project Failed

Mar 19, 2010

Our A+ project was to set up a dual-boot using XP Pro & the Linux download of our choice. What we did:

1- We formatted a 38GB HD using the NTFS file system.
2- Two equal sized NTFS partitions were created.
- Partition 1 was a Primary.
- Partition 2 was an Extended.
3- Used Ubuntu CD.
4- Install Ubuntu choices were to format the HD, install side-by-side, use the the longest continuous space, etc. We chose side-by-side.
5- After the install there was no evidence of the 2d 18GB partition (which we planned to use for XP Pro).

When we booted to the XP install disc that program booted to another HD (C.

View 2 Replies View Related

General :: Convert Java Class Into Jar Archive In (Redhat)?

Jun 7, 2011

I need to know that how to convert a java class file into java archive (jar)

View 1 Replies View Related

General :: Missing Windows Class In Wine - Fedora 12?

Sep 13, 2010

I am having a problem trying to install KindleForPc with wine in Fedora 12. Wine installs and runs but is missing a class needed by Kindle. Notepad, regedit, etc run but there is a problem when I run the Kindle Installer.Attempting to install Kindle I run

Code:
wine KindleForPc-installer.exe it runs to completion two windows appears they have a windows look, as it intiializes. Then it returns to the command line prompt. Shortly after it returns to the command line I get a series of error messages. Perhaps the installer finishes and then tries to start Kindle. I have typed their essence below:

Code:
fixme:system:SetProcessDPIAware stub!
class {6e4feb12-510a-4d40-9304-1da10ae9147c} not registered
CLSCTX_REMOTE_SERVER not suppported
no class server could be created for context 0x17

Kindle does not show up in the configuration utility and when I try to run it from the command line it complains that some classes are not registered. My understanding is that yum has a list of the component packages required by wine, and the person who prepared the list thought it had loaded all that was needed for wine, but it did not include the package that has the classes that I need. On the web there are a number of postings that tell how well Kindle works under Linux, and none of them deals with doing anything more than installing wine. I assume that in those cases the install procedure loaded the classes I need. My hope is that someone with more knowledge than I can give me a pointer on how to proceed.

View 2 Replies View Related

General :: Error Type: <class 'yum.Errors.RepoError'>

Feb 26, 2010

On a fresh install of Fedora 12: I am trying to do a software update and keep getting these errors. I am new to Fedora but have used Ubuntu for some time. An Internal system error has occurred:

Under more details it states:

Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main

[Code]...

View 1 Replies View Related

Applications :: Suse. Ran Make Cannot Find App?

Oct 13, 2010

i followed the instructions shown below working from my home directory. when i run lshw, it says command not found. what can i do to find/create this program?

[Code]...

View 1 Replies View Related

General :: Grep - Searching For Class References In C++ Using Regular Expression?

May 28, 2010

I'm trying to math all class references in a C++ file using grep with regular expression. I'm trying to know if a specific include is usuless or not, so I have to know if there is a refence in cpp. I wrote this RE that searches for a reference from class ABCZ, but unfortunately it isn't working as I espected:

grep -E '^[^(/*)(//)].*[^a-zA-Z]ABCZ[]*[*(<:;,{& ]'

^[^(/*)(//)] don't math comments in the begging of the line ( // or /* )
.* followed by any character
[^a-zA-Z] do not accept any caracter before the one I'm searching (like defABCZ)
[]* any white space (I can have something like ABCZ var; )
[*(<:;,{& ] followed by ( * < : ; , & { (I cant get #define "ABCZ.h" or ABCZdef for example)

Well, I can get patterns like this:

class Test: public ABCZ{
class Test: public ABCZ {
class Test : public ABCZ<T>

[code].....

View 2 Replies View Related

General :: Initializing Drive Array Command For Class Lab On Fedora 12?

Feb 10, 2010

what command initializes a drive array on Fedora12? I'm trying to initialize the drive command for linear RAID and the command given in the textbook is for Fedora Core 2 (which I had problems with in Virtualbox).

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved