Find the implementation class of a Business object
HI Gurus,
Is there any path in SPRO from where we can find the implementation class of a BOL object?
For an example, I am working with BuilHeader. The backend table for BUL Header which will be updated while modifiyng BuilHeader is BUT000. So how can we find the back end database table name or implementation class where the table BUT000 is updated?
Hi Suchandra Bose
the flow will go like this.
1) the data in the BOL structures moved to Genil Implementation Class which is defined in the below SPRO path
CRM->CRM Cross application components->Generic Interaction Layer/Object Layer->Basic Settings in this corresponding each and every component one Genil class and its Model information in the form of tables will be maintained.
2) Take for example BP component , for BP component CL_CRM_BUIL is the Generic Interaction layer class , with in the generic interaction layer class methods (Create_objects, MODIFY_OBJECTS, GET_OBJECTS) you will find a code snippet to get the * Handler class* , this handler class will inturn get the Interaction Layer classes to reach the API ,
get object handler
lv_cl_object =
me->handler_factory->get_obj_handler(
iv_object_name = iv_object_name ).
3) This handler method will query the table CRMC_OBJIMP_BUIL to get the relevant handler class depending on which functionality you are implementing.
Thanks & Regards
Raj
Similar Messages
-
How to find the WhereUsed List for a Business Object Event?
How to find the WhereUsed List for a Business Object Event?
Can anybody let me know how to get which
Whereused function will get the data from
different Werks in multi-level?
Any sample program please!!! -
To find the implementing classes of an interface
Hi,
Does anyone know a function module or class using which I can find all implementing classes of an interface?
Regards,
SukruHello Sukru
If you are working already on SAP releases >= 6.20 then you will see all implementing classes if you display the interface in SE80 (tree display -> subnode of the interface).
Alternatively, you can call method <b>GET_IMPLEMENTING_CLASSES</b> of class <b>CL_OO_INTERFACE</b> (available on >= 6.40, perhaps on 6.20, too).
Regards
Uwe -
Execute jar file: "could not find the main class" program will terminate
Hey,
I am new to Java. I have started to make a small java program which supposed to help me at my studies to lean the Dominic Memory System. I have used the latest version of Netbeans 5.5.1 to build my program in. I have two problems which I cannot figure out how to solve, please help me.
The first problem is that the java script I have made works when I compile it in Netbeans, but when I create a Jar file it does not work. I receive a pop up message in windows ?could not find the main class program will terminate? when I execute the jar file.
The second problem I have is that I need to compare the strings generated by the "numbers" and "TIP" and if the numbers is not identical the numbers in the ?Center? JPanel should be highlighted as red.
If anyone would like to clean up the code I would be pleased. I have copied quite a lot from anyone because of my one lack of knowledge.
* GoListener.java
* Created on 12. september 2007, 21:48
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
package grandmaster;
import java.awt.event.*;
import javax.swing.*;
import java.util.Vector;
import java.util.StringTokenizer;
import java.awt.Color;
* @author Computer
public class GoListener implements ActionListener {
private JTextField viewer;
private JTextField TIP;
private JTextField freq;
private JTextField max_num;
private Vector numbers;
public GoListener(JTextField j,JTextField k, JTextField m, JTextField f, Vector n) {
freq = f;
max_num = m;
viewer = j;
numbers = n;
TIP = k;
public void actionPerformed(ActionEvent e){
int time = Integer.valueOf(max_num.getText());
int f = Integer.valueOf(freq.getText());
if (e.getActionCommand() == "GO") {
for (int i = 0; i< time;++i) {
int number=0;
number = (int)Math.floor(100*Math.random());
while(number>51){
number = (int)Math.floor(100*Math.random());
if(number<=9){
viewer.setText(" "+"0" + String.valueOf(number) + " ");
} else{
viewer.setText(" " + String.valueOf(number) + " ");
viewer.paintImmediately(viewer.getBounds());
numbers.add(number);
try {
Thread.sleep(f*1000);
} catch (Exception exp) {
viewer.setText(" XX ");
viewer.paintImmediately(viewer.getBounds());
if (e.getActionCommand() == "VIEW") {
try {
//int numb = Integer.valueOf( TIP.getText() ).intValue();
StringTokenizer tokenizer = new StringTokenizer(TIP.getText(), " ");
String[] split = null;
int tokenCount = tokenizer.countTokens();
if (tokenCount > 0) {
split = new String[tokenCount];
for (int current = 0; current < tokenCount; current++) {
split[current] = tokenizer.nextToken();
viewer.setText(" " + String.valueOf(numbers) + " ");
// k=numbers(1);
/*while(c<i){
String.valueOf(k).equals(split[1]);
c++;
TIP.setText(" " + split[2] + " ");
} catch (Exception exp) {
try {
//string testit = numb.toString();
//String str = "" + numb;
//viewer.setText(str);
//viewer.setText(numbers.toString());
numbers.clear();
} catch (Exception exp) {
* Main.java
* Created on 12. september 2007, 21:07
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
package grandmaster;
import java.util.Vector;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.JButton;
import java.awt.*;
import grandmaster.GoListener;
* @author Computer
public class Main extends JFrame {
private JTextField viewer;
public JTextField TIP;
// private TextInputPanel TIP;
private Vector numbers;
/** Creates a new instance of Main */
public Main() {
numbers = new Vector();
JPanel p = new JPanel(new GridLayout(0,4));
JButton go = new JButton();
JButton view_num = new JButton();
go.setText("Go!");
go.setVisible(true);
go.setActionCommand("GO");
view_num.setText("VIEW");
view_num.setVisible(true);
view_num.setActionCommand("VIEW");
JTextField max_num = new JTextField();
max_num.setText("5");
JTextField freq = new JTextField();
freq.setText("1");
viewer = new JTextField();
viewer.setText("XX");
TIP = new JTextField("");
p.add(go);
p.add(max_num);
p.add(freq);
p.add(view_num);
getContentPane().add(p,BorderLayout.NORTH);
getContentPane().add(viewer,BorderLayout.CENTER);
getContentPane().add(TIP,BorderLayout.SOUTH);
setSize(200,200);
GoListener g = new GoListener(viewer,TIP,max_num, freq, numbers);
go.addActionListener(g);
view_num.addActionListener(g);
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
Main window = new Main();
window.setVisible(true);
}NetBeans questions should be posted to the NB site. It has mailing lists and associated forums.
This tutorial from the NB site addresses running programs outside of NB
http://www.netbeans.org/kb/articles/javase-deploy.html
When you compare objects, use ".equals()" and reserve == for comparing values. -
Could not find the main class (with every jar)
This isn't a developer question. I get the error Could not find the main class with every jar I try to open (for example the jar downloaded from https://gjar.dev.java.net/ gives the same problems - and I don't think there is something wrong with that JAR). It isn't a problem with the jar or MANIFEST because the same jar works fine on my laptop. So there is something wrong with my JRE installation, but what?
I tried to remove and reinstall the JRE 6 Update 18 but that didn't work. When I run the JAR with command line java -jar "file.jar" it works fine, but if I dubbelclick on it I get the error message (and it's irritating me).
I'm a bit desperate so I hope that someone here can help me ;)
Thanks in advancedhai T.B.M ... Sorry to post here... I know that i posted my question in wrong thread..but i dont have another solution to contact with you.. I had seen your answers which are really excellent and helped to do my project..
Now i am having very less time to complete my project and i am very new to JMF.. I am not getting output in JMF video capture ..please check the code and guide me where i gone wrong.......please pardon me once again to post here.. Heres my code
import javax.media.*;
import java.awt.*;
import javax.swing.*;
import java.util.*;
import java.awt.event.*;
import javax.media.protocol.*;
import java.io.*;
import javax.media.control.StreamWriterControl;
public class webcam implements ActionListener,ControllerListener
boolean eomReached = false;
boolean realized = false;
JFrame f;
BorderLayout bd1;
CaptureDeviceInfo device;
MediaLocator m1;
Player player;
Component videoScreen;
JButton b1,b2;
Processor processor;
DataSource ds=null;
DataSink fileWriter=null;
JLabel status=new JLabel("");
public webcam()
try
JFrame f=new JFrame();
JPanel p =new JPanel();
JPanel p1=new JPanel();
device=CaptureDeviceManager.getDevice("vfw:Microsoft WDM Image Capture (Win32):0");
m1=device.getLocator();
System.out.println("1");
processor.configure();
processor = Manager.createProcessor(m1);
processor.setContentDescriptor(new
FileTypeDescriptor(FileTypeDescriptor.MSVIDEO));
ds=processor.getDataOutput();
player.addControllerListener(this);
MediaLocator dest = new MediaLocator("file://foo.avi");
fileWriter = Manager.createDataSink(ds, dest);
fileWriter.open();
ds.connect();
ds.start();
player=Manager.createPlayer(m1);
player.addControllerListener(this);
blockingRealize();
videoScreen=player.getVisualComponent();
b1=new JButton("START");
b2=new JButton("STOP");
bd1=new BorderLayout();
p.setLayout(bd1);
p1.add(b1);
p1.add(b2);
p.add("South",p1);
p.add("East",videoScreen);
f.getContentPane().add(p);
f.setVisible(true);
f.setSize(500,500);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
b1.addActionListener(this);
b2.addActionListener(this);
catch(Exception e){}
public void actionPerformed(ActionEvent e)
if(e.getSource()==b1)
try{
processor.start();
player.start();
fileWriter.start();
catch(Exception e1){}
if(e.getSource()==b2)
try{
player.stop();
processor.stop();
processor.close();
fileWriter.close();
catch(Exception e2){}
public static void main(String args[])
webcam obj=new webcam();
public synchronized void blockingRealize() {
player.realize();
while (!realized) {
try {
wait();
} catch (java.lang.InterruptedException e) {
status.setText("Interrupted while waiting on realize...exiting.");
System.exit(1);
public synchronized void controllerUpdate (ControllerEvent event) {
System.out.println("myPlayer generated "+event.toString());
if (event instanceof RealizeCompleteEvent) {
realized = true;
notify();
} else if (event instanceof EndOfMediaEvent) {
eomReached = true;
} -
Could not find the main class : HelloWorldApp program will exit
please help me
i downloaded and installed jdk-6u13-windows-i586-p(1) from sun.java.com
in my computer --> Advanced --> environment variables --> i had set
user variable :
variable value
java_home C:\Program Files\Java\jdk1.6.0_13\bin
System variable:
path : C:\Program Files\Java\jdk1.6.0_13\bin
after that i wrote a program
* The HelloWorldApp class implements an application that
* simply prints "Hello World!" to standard output.
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
i saved in c:\ mywork
i compiled it with
javac HelloWorldApp.java and then
java HelloWorldApp
output / result also came
but iam unable to create jar file . when it is created it is showing
could not find the main class : HelloWorldApp program will exit
i created jar file by following way
i created
manifest.txt
Min-Class : HelloWorldApp and then
start -->run--> cmd-->
c:\mywork> jar cfm test.jar manifest.txt HelloWorldApp.class
c:\ java -jar test.jar
but it displays a message
" could not find the main class : HelloWorldApp program will exit "
please please please help me please 1000's of please help mePeter__Lawrey wrote:
You have to specify the manifest with a special option (I think its was -M)
Otherwise the jar will create one (even if you provide it)No, the text file passed as a parameter will be incorporated in the manifest file generated by the JAR tool.
@OP: This will work:
JarTest.java
public class JarTest {
public static void main(String[] args) {
System.out.println("JarTest works!");
}manifest.txt
Main-Class: JarTest+(note there is an extra new line in the manifest.txt!)+
Now execute these commands:
javac JarTest.java
jar cfm MyJar.jar manifest.txt JarTest.class
java -jar MyJar.jar And on my machine, the string "JarTest works!" is displayed on the screen.
And if you look in the MANIFEST.MF file inside your jar file (you can use almost any zip-utility for this), you will see the following:
Manifest-Version: 1.0
Created-By: 1.6.0_0 (Sun Microsystems Inc.)
Main-Class: JarTestOr something similar. -
Could not find the main class - Problem with Webservice-Access
Hello Everybody,
I'm having serious Problems with accessing a WebService (Tomcat-Axis) per executable jar-File.
I constructed a simple GUI with 3 Textboxes 1 Button and 1 Resultbox.
I use eclipse so it was no Problem to simple generate the Backgroundclient by Processing the .wsdl-File of the WS.
Now I do this:
Head_tServiceLocator serviceLocator = new Head_tServiceLocator();
Head_t service = serviceLocator.getRPCCall();
RPCCallSoapBindingStub Head_t = (RPCCallSoapBindingStub) service;and use the Webservice like an Object.
All this works very well.
Now the Problem:
Head_t service = serviceLocator.getRPCCall();this Line has to throw a ServiceException.
If i add a try-catch Block to Process the Message JAVA tells me after i exported to JAR (with Manifest-stuff and so on) and double Click on the JAR the following :
Could not find the main Class - Program will exit.
And if i add a throws Declaration to the Methodheader it tells me:
Fatal Exception Occured - Program will exit
But if i Comment out that Line at least the GUI is being displayed (so it DOES find the main-Class). But then of course the Webservice won't be accessed.
All the JARs needed (axis.jar, commons-discovery.jar and so on) are in the same Directory as the Webservice-Client.jar
Please Help me.
Greets,
ZapI am not done any typing mistake while creating the jar file i already followed the suggestion that you have mentioned but still the same error .
This is my MANIFEST.MF file created under META-INF folder
Manifest-Version: 1.0
Class-Path: qtjambi-4.4.3_01.jar qtjambi-win32-msvc2005-4.4.3_01.jar
Created-By: 1.5.0 (Sun Microsystems Inc.)
Main-Class: Ui_MainWindow
When i extracted the app.jar following this i got
1. META-INF folder inside that MAINFEST.MF file the contents i have already placed above
2. qtjambi-4.4.3_01.jar
3. qtjambi-win32-msvc2005-4.4.3_01.jar
4. Ui_MainWindow.class
Please tell me whats wrong in that i can also give you the app.jar file please let me know the email id .. -
[Jar Executable] Could not find the main class. Progam will exit.
Hello,
I am a French person. Excuse me for my English who is not perfect.
I seek to create an achievable "jar". I followed the instructions given in the url http://java.developpez.com/faq/java/?page=execution#creationJar, and on the site of Sun.
I have today only one class which I posed in a specific repertory "Class".
Appli
|__Class
|__Src
|__META-INFThe contents of my "Manifest" is stored in repertory META-INF with the name "Commission2007.MF" and its contents are as follows:
Manifest-Version: 1.0
Created-By: 1.5.0 (Sun Microsystems Inc.)
Main-Class: Commission2007
.I've left the space line at the end of the file.
Here the result of execution of my order "jar":
C:\#Java Dev\2007_Commissionnements>jar cvfm Commission2007.jar META-INF/Commission2007.MF -C Class/ .
manifest ajout�
ajout : Class/./(entr�e = 0) (sortie = 0)(0% stock�)
ajout : Class/./Commission2007.class(entr�e = 9060) (sortie = 4547)(49% compress�s)I controlled the assignment of the extension "jar" in "Working station = > Tools = > Files Option = > Files Type = > .jar Selection = > Advance =
Open = > Change = >" C:\Program Files\Java\jre1.6.0\bin\javaw.exe "- gravel bank" %1 "% *". Thus not of problem on this side there!When I double click on the file "jar" lately created, I have the error message according to: "Could not find the main class. Progam will exit. " I do not understand the reason of this error. I consulted all the subjects on the treating Net of this subject but without result. I thus call upon you.
Perhaps that the cause is in my code which however functions perfectly when I carry out it with the order: "Commission2007 java". The class "hand" is quite present to see the code below. You can find the totality of my code on the bond http://www.developpez.net/forums/showpost.php?p=1870361&postcount=74
import �
public class Commission2007 extends Frame implements ActionListener, WindowListener
�
// Construction de la class EdText
// D�finition et affichage de la bo�te de dialogue
Commission2007()
�
// D�finition d'une frame pour l'application et affichage de la
// bo�te de dialogue
public static void main(String args[])
Commission2007 editer = new Commission2007();
editer.show();
editer.addWindowListener(editer);
}I thank you in advance for your assistance.
Cordially, Gilles.Salut,
It has been my experience that it is never a good idea to name your .MF file anything else other than MANIFEST.MF.
Try naming your .MF file MANIFEST.MF and rebuild your JAR.
Bon chance. -
JXDatePicker - could not find the main class?
Hi all,
I am trying to play with the JXDatePicker swinglabs.
I wrote this trivial code:
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JLabel;
import org.jdesktop.swingx.JXDatePicker;
public class TestJXDatePicker implements ActionListener
public JLabel label = new JLabel();
public JXDatePicker datePicker = new JXDatePicker(System.currentTimeMillis());
public TestJXDatePicker()
label.setText("Choose Date by selecting below.");
JFrame frame = new JFrame();
frame.getContentPane().add(label, BorderLayout.NORTH);
frame.getContentPane().add(datePicker, BorderLayout.CENTER);
public void actionPerformed(ActionEvent arg0)
if (arg0.getSource()==datePicker)
label.setText(datePicker.getDate().toString());
public static void main(String[] args)
new TestJXDatePicker();
}Unfortunately, I get this message:
Java virtual machine Launcher
Could not find the main class. program will exit.
the trace is:
java.lang.UnsupportedClassVersionError: org/jdesktop/swingx/JXDatePicker (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"
ANY IDEA???
JDK = 1.4 (also tried with compiler comliance lever 5.0) nothing :-(I had a look through the SwingX stuff and decided that it looks like the project has stalled (the main site says something about being overhauled - but it's been like that for ages).
I'm using JCalendar - there's recently been a new release and it's brilliant.
Check out http://www.toedter.com/en/jcalendar/.
Hope this helps.
Paul C. -
How to find the Feeder class behind Incident creation in SAP EHS?
I have a requirement where i need to change the message text after clicking "Send" button while creating Incident.
How to find the feeder class and method which is called behind "Send" button ?
Thanks,
VimalI dont have such.. but you can set external debug point in function module POWL_QUERY_REFRESH
* get the result object type from the feeder
lr_feeder->get_object_definition(
EXPORTING
i_selcrit_values = lt_crit_para " selcrit dependent object def.
i_langu = l_langu "nt_1673495
i_type = i_query_data-type
IMPORTING
e_object_def = lr_object_def
In I_QUERY_DATA-TYPE you can see name of POWL ID.
Find it in transaction POWL_TYPE and you get name of feader class! -
Where can I find the implementation guide for srm 5.0 busines package
Where can I find the implementation guide for srm 5.0 busines package
Hi Vishal,
You can find the documentation at the following link:
http://help.sap.com/saphelp_srm50/helpdata/en/dd/458a6764e84ff6b5e809b51c930678/frameset.htm
Else you could browse SdN - Download - Portal content portfolio - search with the business package name.
If you have permissions, u can download the package. Sometimes you may face problem with downloading business package and documentation using IE. You may then need to try with mozilla.
Hope this helps. If so you could award points.
Cheers,
Chetan -
I am trying to write a program that prints out the first 10 numbers of the fibonacci sequence. Unfortunately I am unsuccessful so far and getting nothing but errors. I am using jasmin and I have no idea what I am doing as this is my first time ever dealing with this language. I am not 100% sure but I am under the assumption is assembly but I only have luck doing a search by Java Virtual Machine. Can anybody help me with the following error. Any help will be much appreciated. Thanks in advance!!!
C:\Users\Chris\Desktop\jasmin\jasmin>java -cp . examples/Fibo
Exception in thread "main" java.lang.VerifyError: (class: examples/Fibo, method:
*main signature: ([Ljava/lang/String;)V) Expecting to find object/array on stack*
*Could not find the main class: examples/Fibo. Program will exit.*
Here is my written program
.class public examples/Fibo
.super java/lang/Object
; standard initializer
.method public <init>()V
aload_0
invokenonvirtual java/lang/Object/<init>()V
return
.end method
.method public static main([Ljava/lang/String;)V
.limit locals 5
.limit stack 10
getstatic java/lang/System/out Ljava/io/PrintStream;
astore_1
bipush 10
istore_2
iconst_0
dup
;invokevirtual java/io/PrintStream/println(I)V;
;invokestatic java/lang/String/valueOf(C)Ljava/lang/String;
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
istore_3
bipush 1
istore 4
L0:
iload 3
dup
iload 4
dup
;invokestatic java/lang/String/valueOf(C)Ljava/lang/String;
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
iadd
iload 4
istore 3
istore 4
iload_2
ifeq L1
iinc 2 -1
goto L0
L1:
return
.end method
OK guys I give up...I redid the program and its working better now.
*Note to moderators....if you please, you may delete this. Thanks!!!!!*
Edited by: chris52204 on Apr 12, 2009 3:21 PMcojogrizli wrote:
The structure of my project in Eclipse is src/project/files.java and in jar file is src/files.java bin/class.java Dati/ and META-INF/.That's wrong. You don't need the .java files in the jar (but you can have them, if you want, they are just not used by Java).
And each .class file must be in a directory that reflects its package. So in your example ProjectGUI.class must be in the directory projectRFID/ inside the .jar file. -
Help: error: can not find the main class!
when I run the class, the following error message comes up:
java.lang.NoClassDefFoundError: j2sdk1/4/1
and also a dialogue window (title is "java virtual machine launcher") comes up: could not find the main class, program will exit! After I click ok button, another error message shows up: Exception in thread "main" .
Could anyone help me figure out what's wrong with my program? If you need any other informaiton, please email me: [email protected], Thanks a lot!!!Hi, thank you very much for your reply. Here is the program:
import java.sql.*;
import java.io.*;
import java.util.*;
import java.lang.Object;
public class CatalogConnect{
Statement stmt, st, mast, ques;
ResultSet rset, orgset,maset, quesset;
String organization = null;
String sponsor = null;
String interMethod = null;
String year = null;
String collection = null;
String country = null;
String countryName = null;
String archNO = null;
String codeBook = null;
String td = null;
String todate = null;
String month = null;
int studyID, quesID, sponsorID, orgID;
public CatalogConnect(){
connect();
makeXMLFile();
public CatalogConnect(String codeBk){
codeBook = codeBk;
connect();
makeXMLFile();
public void connect(){
try{
// DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
// Class.forName(oracle.jdbc.driver.OracleDriver);
Connection conn =
DriverManager.getConnection ("jdbc:oracle:thin:@137.99.37.146:1521:ipoll",
"catalog", "catalog");
stmt = conn.createStatement ();
st = conn.createStatement ();
mast = conn.createStatement ();
Connection conn2 =
DriverManager.getConnection ("jdbc:oracle:thin:@137.99.36.171:1521:ipolljr2",
"catalog", "catalog");
ques = conn2.createStatement ();
} catch(SQLException ex) {
System.err.println("SQLException: " + ex.getMessage());
public static void main (String args[]){
CatalogConnect c = new CatalogConnect();
public void makeXMLFile() {
PrintWriter out = null; -
How to use the implementation class in propetty pallete
Hi,
I am using forms 10g....I have to insert horizontal scroll bar in text item..
I have only class files instead of jar files ...how cani place the class file instead of jar file...
How to use the implementation class in property palette to display the PJC
Thanks,
Ansaf.The Implementation Class must reflect the full name of the class. For instance, if the full class name is : xx.yyy.zz.class_name, then put this in the Implementation Class property of the corresponding item.
Also, the class must be stored in the equivalent directory structure, so that, in my example: <DEV_HOME>/forms/java/xx/yyy/zz
Francois -
Hi,
I have installed Oracle11g_win64_11gR1, Database and Client.
The issue is unable to invoke "sqldeveloper", getting the following error message. Could you please help ?
FYI. I have already downloaded and installed installed JRE and JDK.
ie. C:\Program Files (x86)\Java\jre6\ and C:\Program Files\Java\jdk1.6.0_24, still did not work.
C:\Users\oracle>java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Let me know, if you need more information. Here is the error message.
Error Message
=========
(1) if I invoke sqldeveloper, directly from the location " C:\app\oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin " using explorer, I do get error message
"Unable to find a java Virtual Machine.
To point to a location of java Virtual machine please refer to the Oracle9i JDeveloper Install Guide ( jdev/install.html)"
(2) if I invoke sqldeveloper, directly from the locationC:\app\oracle\product\11.1.0\client_1\sqldeveloper, it prompts me to enter "full path for java.exe".
When I enter full path and continue, still it continue to prompt and ask the same input.
(3) if I invoke sqldeveloper from from command prompt using the batch file "sqldeveloper.bat"
C:\Users\oracle>C:\app\oracle\product\11.1.0\client_1\sqldeveloper\sqldeveloper\
bin\sqldeveloper.bat
C:\Users\oracle>java -Xmx512M -Xverify:none -XX:JavaPriority10_To_OSPriority=10
-XX:JavaPriority9_To_OSPriority=9 -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_F
LAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.shell.font.languages= -Dide.co
nf="sqldeveloper.conf" -Dide.home.dir.name=.sqldeveloper -classpath ..\..\ide\l
ib\ide-boot.jar;..\..\jdev\lib\xmleditor.jar;..\..\ide\lib\oicons.jar;..\..\..\j
dbc\lib\ojdbc5.jar;..\..\jlib\jewt4.jar;..\..\jlib\share.jar;..\..\sqldeveloper\
lib\jle2.jar oracle.ide.boot.Launcher
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ide/boot/Launc
her
Caused by: java.lang.ClassNotFoundException: oracle.ide.boot.Launcher
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: oracle.ide.boot.Launcher. Program will exit.
OS
==============
MS Windows 7 Home Premium
sqldeveloper.conf
===================
SetSkipJ2SDKCheck true
IncludeConfFile ../../jdev/bin/ide.conf
AddVMOption -Dapple.laf.useScreenMenuBar=true
AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
AddVMOption -Dcom.apple.macos.smallTabs=true
AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true
AddJavaLibFile ../../jdev/lib/xmleditor.jar
AddJavaLibFile ../../ide/lib/oicons.jar
AddJavaLibFile ../../jlib/jewt4.jar
AddJavaLibFile ../../jlib/share.jar
AddJavaLibFile ../ide/jlib/xmlef.jar
AddJavaLibFile ../../sqldeveloper/lib/jle2.jar
AddJavaLibFile ../../sqldeveloper/lib/oracle.dbtools.logging.jar
AddVMOption -Dsun.java2d.ddoffscreen=false
AddVMOption -Dwindows.shell.font.languages=
IncludeConfFile sqldeveloper-nondebug.conf
SetJavaHome C:\Program Files\Java\jdk1.6.0_24
Edited by: sivapara on Feb 16, 2011 1:08 PMI was able to resolve this issue by performing following.
1. Go to the location where sqldeveloperW.exe is being executed from.
2. You will find a file sqldeveloper.conf in that location. Edit this file and change the value of IncludeConfFile to point to actual place. For me following were old and new values.
OLD (Wrong) : IncludeConfFile ../../jdev/bin/ide.conf
NEW (Correct) : IncludeConfFile ../../ide/bin/ide.conf
After making above change in the sqldeveloper.conf file. Save and close it. Restart SQLDeveloper. You will not get the error anymore.
Thanks
Ravi
Maybe you are looking for
-
Group by returning more than one column in a single query
Hello, Sorry to ask such a simple question I guess, but here is my problem. I'm building a query to get say the smallest user_id from employees in the company by department. The query goes like : select emp..department, min(emp.user_id) from employee
-
Font weight preview in CC 2014
Is there any way to show just one weight in the font list like before (with a submenu dropdown for the weights) instead of the entire font family showing? Some font families have over a 100 weights and I don't want to scroll through 100 slightly-diff
-
My email to apple about problems syncing iBooks
Here is the email I sent to Apple support today about my problems syncing ibooks. Am I the only one who can't figure out how I make this work? I can't figure out how to sync ibooks. There are limited choices. I can sync all books or select books on m
-
Exception while calling stored procedure in SQL server
Hi, I run into a problem while calling a proc in SQL server. I am using a database control to do so. The proc returns a integer. This is the first time I use SQL server. Any thoughts? Thanks in advance. My method call is: int createAccount(SQLParamet
-
Cannot install premiere elements 10 on my new macbook pro
cannot install premiere elements 10 on my new macbook pro. keep getting exit code 7 half way through installation and disc ejects. running OS X 10.7.2 (lion). have installed acrobat reader, flash player, tried safe start mode...nothing works...HELP