Error on compile but no errors in source code code??
Error(284,33): illegal forward reference in the CharacterDataLatin1.java which is not part of my project.
I had the same error and caught it out. The cause is not into the code.
Application: Oracle JDeveloper 10g on Fedora Core Linux 4
Versions: 10.1.2, build 1811 (Jan 2005) and the new 10.1.2.1, build 1913 (Aug 2005)
ERROR DESCRIPTION (BOTH BUILDS 1811 AND 1913):
Compiler Messages:
/usr/java/j2sdk1.4.2_04ojvm/src.zip!/java/lang/CharacterDataLatin1.java
Error(284,33): illegal forward reference
/usr/java/j2sdk1.4.2_04ojvm/src.zip!/java/lang/CharacterData.java
Error(956,33): illegal forward reference
/usr/java/j2sdk1.4.2_04ojvm/src.zip!/javax/swing/JFrame.java
Warning(406,23): method setMenuBar(javax.swing.JMenuBar) in class javax.swing.JRootPane has been deprecated
Warning(416,30): method getMenuBar() in class javax.swing.JRootPane has been deprecated
/usr/java/j2sdk1.4.2_04ojvm/src.zip!/java/util/Locale.java
Warning(25,1): import java.io.* partially used, should be replaced by
import java.io.ObjectOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.Serializable;
etc.
Compilation complete: 2 errors, 372 warnings.
ERROR DURING THE FIRST START OF THE BUILD 1913:
An error ocurred while opening jar:file: /usr/java/j2sdk1.4.2_04ojvm/src.zip!/org/apache/xpath/objects/XString.java
Details:
Exception Stack Trace:
sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:149)
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:247)
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:297)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at oracle.javatools.buffer.UnsynchronizedReader.fillBuffer(UnsynchronizedReader.java:162)
at oracle.javatools.buffer.UnsynchronizedReader.read(UnsynchronizedReader.java:85)
at oracle.javatools.buffer.AbstractTextBuffer.normalizeEOL(AbstractTextBuffer.java:1477)
at oracle.javatools.buffer.AbstractTextBuffer.read(AbstractTextBuffer.java:1301)
at oracle.ide.model.TextNode$TextBufferWrapper.read(TextNode.java:1111)
at oracle.ide.model.TextNode.loadURLContentIntoBuffer(TextNode.java:923)
at oracle.ide.model.TextNode.reloadTextBuffer(TextNode.java:393)
at oracle.ide.model.TextNode.reloadNode(TextNode.java:377)
at oracle.ide.model.TextNode.open(TextNode.java:223)
at oracle.jdevimpl.jotimpl.src.SrcFile.getNode(SrcFile.java:1756)
at oracle.jdevimpl.jotimpl.src.SrcFile.init(SrcFile.java:170)
at oracle.jdevimpl.jotimpl.src.SrcFile.<init>(SrcFile.java:150)
at oracle.jdevimpl.jotimpl.src.SrcFile.createFile(SrcFile.java:127)
at oracle.jdevimpl.jotimpl.internal.database.DatabaseFragment.createFile(DatabaseFragment.java:526)
at oracle.jdevimpl.jotimpl.internal.database.ClassDatabase.getFile(ClassDatabase.java:724)
at oracle.jdevimpl.jotimpl.JotWorkAreaImpl.getFile(JotWorkAreaImpl.java:738)
at oracle.jdevimpl.jotimpl.addin.CacheFactory.buildData(CacheFactory.java:336)
at oracle.jdevimpl.jotimpl.addin.CacheFactory.buildParseData(CacheFactory.java:378)
at oracle.jdevimpl.jotimpl.addin.CacheFactory.create(CacheFactory.java:108)
at oracle.jdevimpl.jotimpl.addin.JotRunnable.buildLibrary(JotRunnable.java:608)
at oracle.jdevimpl.jotimpl.addin.JotRunnable.loadLibrary(JotRunnable.java:124)
at oracle.jdevimpl.jotimpl.addin.JotRunnable.run(JotRunnable.java:64)
at oracle.jdevimpl.jotimpl.addin.JotCacheThread.run(JotCacheThread.java:57)
CAUSE:
The Project Properties. Menu: Tools >> Project Properties >> Profiles >> Development >> Compiler.
Uncheck "Update Imports" and that's all. Character Encoding: UTF8. For the target JDK 1.4 it's necessary to "Enable J2SE 1.4 Assertions". The "Self-Deprecation Warnings" produces an excessive amount of deprecation warnings. The OJVM' Patch is recommended (see <jdeveloper_install_directory>/jdev/install.html and readme.html).
Of course, if this is the case.
null
Similar Messages
-
photoshop cs3 stopped working. get error - unable to continue because of a hardware or system error. Sorry but the error is unrecoverable. Reloaded software - but not resolved. Any advice? Someone mentioned Settings files or profiles?
This occoured in Photoshop CS3 today. All other Adobe products are functioning normaly on this system. Premiear CS3, Encore, Audition function fine. Photoshop was working fine then failedduring the evening. We have removed and reloaded Photoshop CS3 and recieve the same error. Still the remaining Products run as expected. All other Aplications on the system run normaly as well. No other indications of hardware issues are logging. There is ample memory and space available on this system.
Someone else suggested I trash my PREFS (I am not sure How I proceed in doing that - any advice on how to delete the prefs - willing to try that at this point) Thanks -
Compiled with errors ... but "no errors" ... ?!
Hi all,
I am going crazy here.
I am trying to migrate our code to 10g ...
I have an issue with a package. I compile it with SQLDeveloper (hate that thing) and get some warnings, but no errors. Trying to start the package in sqlplus I get the message "invalid package" ...
Then I type "alter package xxx compile debug" and get the info "compiled with errors". But when I type "show errors" it says "no errors" ...
Does someone know how I teach this thing some sense?
Thanks and merry Xmas and stuff,
SteffiUsage: SHOW ERRORS [{ FUNCTION | PROCEDURE | PACKAGE
|
PACKAGE BODY | TRIGGER | VIEW
| TYPE | TYPE BODY | DIMENSION
| JAVA SOURCE | JAVA CLASS } [schema.]name]
how err schema.package_nameRegards
SinghThis really did it, thank you so much!!
Unfortunately it does not really help me ... only some warnings on bind-variables ...
LINE/COL ERROR
110/24 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
110/30 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
114/24 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
114/30 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
LINE/COL ERROR
118/24 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
118/30 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
122/24 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
122/30 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
LINE/COL ERROR
Spaltentyp führen
186/12 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
186/34 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
187/12 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
LINE/COL ERROR
187/34 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
227/12 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
229/12 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
229/34 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
LINE/COL ERROR
230/12 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
230/34 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen
357/53 PLW-07204: Konvertierung vom Spaltentyp weg kann zu einem
nicht-optimalen Abfrageplan führen
357/70 PLW-07204: Konvertierung vom Spaltentyp weg kann zu einem
LINE/COL ERROR
nicht-optimalen Abfrageplan führen
364/30 PLW-07202: Bind-Typ würde zu einer Konvertierung weg vom
Spaltentyp führen -
Error in transmission but No Error
Hi,
We are trying to create PO with SC having catalog items. After status approved it shows status as error in transmission but shows no error.
Also there is no entry found in application monitorRZ20.
Even debugging FM BBP_REQEQ_TRANSFER also did not helped.
Please help.
~VipinPO may not be created so far.
you must get an error in rz20 . it takes 3 minutes to see error in rz20 or sc application monitor.
even if you dont have error. go to monitor shopping cart -> click follow on document icon- now error message will be thrown in rz20 after 2-3 minutes for quick analysis.
i am pretty sure there is some data problem in that shopping cart. check vendor / account assignment details available and valid.
however check slg1 log.
Muthu -
It compiles but it errors and I can't figure out why and this is my final!
Hey there,
I am taking a class in Java and its finals time and I have this program due and i am just running into road blocks. I really need some help! It compiles and what not but when you are running the program and you tell it to enter the value of the type of work that was done, it hangs then if you push enter, you get this;
===========================
CIS2110 Project 4
Banach Information Technology Solutions
Weekly Reports
By Alicia Schuster
May 7, 2008
=============================
Input The rate for iHours:50
Input The rate for dHours:80
Input The rate for aHours:100
Please enter the value of the day1
Input the value for cust:222
Input the value for type:1
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:489)
at java.lang.Integer.parseInt(Integer.java:518)
at Pro4.inJob(Pro4Driver.java:172)
at Pro4.procJob(Pro4Driver.java:145)
at Pro4.procday(Pro4Driver.java:100)
at Pro4.appMain(Pro4Driver.java:61)
at Pro4Driver.main(Pro4Driver.java:25)
Here is my code below, what do i need to change? I am about to pull my hair out. SOMEONE PLEASE HELP!
//Title: Project #4 part c
//Version:
//Copyright: Copyright (c) 2008
//Author: Alicia
//Company: Your Company
//Description: Your description
// Preprocessor directive
//import java.io.IOException;
import java.io.BufferedReader;
import java.text.DecimalFormat;
import java.io.*;
public class Pro4Driver
public static void main(String [] args) throws IOException
{ Pro4 app;
app = new Pro4();
app.appMain();
class Pro4
//Instance (global) data declarations
float iHours;
float dHours;
float aHours;
float totCharge;
float totOverCharge;
float hiCharge;
float iRate;
float dRate;
float aRate;
int day;
int hiDay;
int hiType;
float dayTotCharge;
float dayTotOverCharge;
int cust;
int type;
float hours;
float overCharge;
float servCharge;
String numString;
BufferedReader stdin;
float num;
DecimalFormat f6 = new DecimalFormat("$#,###.##");
DecimalFormat f5 = new DecimalFormat("#,###.##");
public void appMain() throws IOException
stdin= new BufferedReader(new InputStreamReader(System.in));
wkinit();
outhead();
inrates();
procday();
while (day != 0)
{ wkout();
return;
public void wkinit() throws IOException
{ iHours = dHours = aHours = 0f;
totCharge = totOverCharge = hiCharge = 0f;
return;
public void outhead() throws IOException
{ System.out.println("\n===========================");
System.out.println(" CIS2110 Project 4");
System.out.println(" Banach Information Technology Solutions");
System.out.println("Weekly Reports");
System.out.println(" By Alicia Schuster");
System.out.println(" May 7, 2008");
System.out.println("=============================");
return;
public void inrates()throws IOException
System.out.print("Input The rate for iHours:");
numString = stdin.readLine();
iHours = Float.parseFloat(numString);
System.out.print("Input The rate for dHours:");
numString = stdin.readLine();
dHours = Float.parseFloat(numString);
System.out.print("Input The rate for aHours:");
numString = stdin.readLine();
aHours = Float.parseFloat(numString);
return;
public void procday()throws IOException
{ dayInit();
inDay();
if (day != 0);
procJob();
while (cust != 0)
outDay();
return;
public void wkout() throws IOException
{ stdin = new BufferedReader (new InputStreamReader(System.in));
num = (float)Math.PI;
System.out.println(" The Value of totCharge is:"+
f6.format(totCharge));
System.out.println("The Value of totOverCharge is:" +
(totOverCharge));
System.out.println("The Value hiCharge is:" + f6.format
(hiCharge));
System.out.println("The Value Of hiDay is:" + hiDay);
System.out.println("The Value of hiType is:" + hiType);
System.out.println("The Value of iHours is:"+ f6.format(iHours));
System.out.println("The Value of dHours is:"+ f6.format
(dHours));
System.out.println("The value of aHours is:"+ f6.format
(aHours));
return;
public void dayInit()
{ dayTotCharge = dayTotOverCharge = 0;
return;
public void inDay()throws IOException
System.out.print("Please enter the value of the day");
numString = stdin.readLine();
day = Integer.parseInt(numString);
public void procJob() throws IOException
{ inCust();
if (cust != 0);
inJob();
updateCharges();
updateSums();
updateHi();
outJob();
return;
public void outDay()
{ System.out.println("The value of the day is:" + day);
System.out.println("The value of dayTotCharge is:"+
f6.format(dayTotCharge));
System.out.println("The Value of dayTotOverCharge is:"+
f6.format(dayTotCharge));
return;
public void inCust() throws IOException
{ System.out.print("Input the value for cust:");
cust = Integer.parseInt(stdin.readLine());
return;
public void inJob()throws IOException
{ System.out.print("Input the type of work they did:");
numString = stdin.readLine();
type = Integer.parseInt(stdin.readLine());
System.out.print("Input the value for hours :");
numString = stdin.readLine();
hours = Float.parseFloat(numString);
return;
public void updateCharges()
{ float overCharge = 0f;
if (type == iHours)
iHours = iHours + hours;
servCharge = hours * iRate;
if (day > 5)
overCharge = (float).5 * servCharge;
if (hours > 40)
overCharge = overCharge + .5f *(hours -
40)*iRate;
servCharge = servCharge + overCharge;
else
if (type == dHours)
dHours = dHours + hours;
servCharge = hours * dRate;
if (day > 5)
overCharge = .5f * servCharge;
if (hours > 40)
overCharge = overCharge + .5f *(hours -
40) * dRate;
servCharge = servCharge + overCharge;
else
if (type == aHours)
aHours = aHours + hours;
servCharge = hours * aRate;
if (day > 5)
overCharge = .5f * servCharge;
if (hours > 40)
overCharge = overCharge + .5f * (hours -
40) * aRate;
servCharge = servCharge + overCharge;
else
System.out.print("service-type-input-code-error-message");
return;
public void updateSums()
{ dayTotCharge = dayTotCharge + servCharge;
dayTotOverCharge = dayTotOverCharge + overCharge;
totCharge = totCharge + servCharge;
totOverCharge = totOverCharge + overCharge;
return;
public void updateHi()
if (servCharge > hiCharge)
hiCharge = servCharge;
hiDay = day;
hiType = type;
return;
public void outJob()
{ System.out.println("The value of the cust is:"+ f5.format(cust));
System.out.println("The value of the type is:"+ f5.format(type));
System.out.println("The number of the hours is:"+ f5.format(hours));
System.out.println("The value of the servCharge is:"+ f6.format(servCharge));
System.out.println("The value of the overCharge is:"+ f6.format(overCharge));
return;
}java.lang.NumberFormatException:You entered something that wasn't a number - which is exactly what you said you did.
So you need to do something about that. -
Error while compiling java class (ora-29535 source requires recompilation)
Hello. I`m new with oracle and i`m having a problem with java classes. Few days ago i loaded java classes (loadjava) from jar file(biojava3-structure-3.0.2.jar) and compiled ( everything compiled with status valid). Now i`m writing my own class and i can`t import classes from biojava3. I`m getting error:
Projekt:7: cannot access org.biojava.bio.structure.Atom
bad class file: null
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import org.biojava.bio.structure.Atom;
I have tryed to change jdk version in netbeans from 1.7 to 1.6. I created java class in sql plus That still not resolved my problem.
Please help me.consider posting in Java forum instead of Database forum
https://forums.oracle.com/forums/category.jspa?categoryID=285 -
Error in BDC but no error in front (ABUMN convert cost center)
I use SHDB to record the ABUMN 's steps.(Convert a FIXED ASSET to another)
such as I post Asset no 10000 001 (coset center Z001) to Asset no 10000 002(Z002)
And i create normally in front , but when i run it use the session by SHDB created
the system display error.
the main reason is i choose new asset-master datacheck the subno checkbox and input a same asset no and a new asset subno, then click addition data
then the difference occurs
1..when in front ,it is OK,you can modify the new asset subno's data
2..but in BDC,the system will do a check ,it display the subno already exist, because it think the previous step have already create the new asset subno
anybody could help me?
Message was edited by:
Changsheng ShiHi,
When you do recording, the data record will be created in the database. When you execute or test the recording, it throws error message saying that data record already exists. The reason being is, while recording itself, the record is being created in the database and system will not allow you to create the same data record( If it is master data).
So while testing the recording in frontend, you can change the field values and test it.if it works fine, you can use the recording to make your BDC program.
But if you want to run in background, you have to make BDC program to pick the flatfile with the required field values from the presentation server and pass it to BDC screen.
Obviously you will not be giving the same data records that you have used for the recording. Then your BDC works fine in the background.
Regards,
Sai Srinivas D -
BD10 and BD21 - Idoc custom segment - Error in BD21 but no error in BD10
Hi All,
I have a custom segment 'ZXXXXX' added to MATMAS05 idoc type.
When I use BD10 to send a material to another system I don't have any errors but when I use BD21 Change pointers I'm getting an internal error.
Is there something I need to add so that it works both for BD10 and BD21 without any errors?
Please help.
MeghnaDo you have a filter in the distribution model for a field in your custom segment ?
If yes ... you have to assign parameter CIMTYP (changing parameter) in your customer exit with the Value of your "IDoc Extensionname"
Example:
IDOCTP = MATMAS05
Extzension = ZZMATMAS
P_CIMTYP = 'ZZMATMAS'.
That´s all ! -
How do I remove/correct the page errors above? The error msgs only appear on the VZ web site log-in page.
Those are typically from what I presume you're using is Internet Explorer not liking the way some of the code is formatted on the website. They can be ignored if you are not having issues with the site. Each browser will complain about something and call it an Error in some way or another. You have to have an extremely basic page to not have a complaint about an error, or one crafted for every web browser out there.
========
The first to bring me 1Gbps Fiber for $30/m wins! -
Im having a problem when running photoshop CS5.1
after deleting some fonts that were making the machine slow, I started having photoshop not running; a sign would appear like this:
Im running windows 7 ultimate. This happened after erasing many fonts that i wasnt using on my windows/fonts folder, so my guess is that i erased some fonts photoshop used or something like that. any idea where I can find a package that photoshop requires to work?
Indesign is working smoothly, so apparently only t
I was doing research to fix this problem and found the answer that worked for some: ctrl+shift+alt then erase preferences. But in this case didnt work.
Adobe Flash Professional 5.5, Adobe media encoder, and Adobe after effects arent working neither.
I found some answers related to how photoshop might not work with some fonts, or without some fonts, but cantt figure out which:
http://www.tek-tips.com/viewthread.cfm?qid=98975f
Thanks in advanceThe fonts required for Photoshop CS5 are listed at the bottom of this document:
Troubleshoot fonts | Photoshop CS5
You may want to look at performing a repair install of Windows as well. This doesn't require anything super complicated, it simply checks for missing system files and adds them back in. But you need a Windows installation disk (where the replacement files will come from). -
Error in compiling Flex application: 64K byte limit
Hi experts ,
While deploying the VC model , i m getting this error :
Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65557'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.
(/usr/sap/NW2/JC00/j2ee/cluster/server0/GUIMachine_Business_Packages/Contribution_Margin_36461/FLEX_COMPILATION_FOLEDR/AAD15VY.mxml:19)
Failed to compile AAD15VY.mxml
Could any one help me out in solving this issue ..its urgent ...
Your suggestions will be rewarded.
Thanks,
PratimaYou have to remove few components from your model to decrease the compiler generated LOC.
Check the following link for detailed solution:
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=936390
Taken from SAP Notes:
<i>Solution
Doing the following may help:
1.Divide problematic iViews into a number of nested iViews.
2.Optimize each model to reduce the number of elements that it
contains:
a.Reduce the number of signals by merging signals of the same name.
b.When your application updates forms with read-only fields, use
expression boxes and a data store instead of signals.
c.Minimize the use of animations in your models, including form
sliding and chart animation effects
d.Use a data store to store variables, instead of invisible forms.
To display messages, use a simple text rather than a static dynamic
expression.
3.For on-the-spot, temporary workarounds, you can try dragging an empty
layer onto the Design board. This sometimes solves the problem ad
hoc, but is not recommended as a best practice.
</i> -
Error in compiling flex - 64K limit
Hi folks,
I entered a new dimension in the flex compiling error dimension (see error-message below). Can anybody help me? I'm familiar with the 32K-problem ( and do have functional workarounds for that) but this one is a new one for me.
regards,
Martin
Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '66289'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.Hi Marcel,
infortunately I'm not allowed atm to make the model public.
however, I circeled the problem and found a workaround. It has nothing to do with our "old pal 32K", this time it simply was a (sub-)model too large to get deployed (problem with the to-build XML-pakages.)
Background on this: It's a nested iview collecting a lot of data from different parts of a highliy complex model to process an RFC. For monitoring reasons I've switched some of the tables to visible and that acutally caused the error. After hiding the colums the error vanished. (actually was replaced by the 32K error. But that's like meeting an old friend, no problem any more....)
I'm looking forward to sharing the model some time. Would be interesting to get some feedback from the comunity..
regards,
Martin
Message was edited by:
Martin Wolpers -
Error in compiling flex compilation
Hi,
I recieve following log message after deploying my application:
Error in compiling Flex application:
Error: Branch between 8479 and 41869 around line 0 exceeds 32K span.
If possible, please refactor this component.
Failed to compile AAD8T3.mxml
The only thing I know is the iView that has code AAD8T3, so I suppose the error is in it.
But what is the error and what are the objects it relates to?
Thanks,
YuliaHi
This is solved for Flex2, the up comming version of VC does not have this problem, but release dates for it are not set.
Jarrod Williams -
Oracle Excel Generation 6i Form is showing error while compiling in Form10g
Hi,
I generate MS-Excel Report by Oracle form 6i but when I am compiling that form in Oracle Form 10g then it is showing
error "component 'SERVER_ACTIVE' must be declared" and "component 'GET_INTERFACE_POINTER' must be declared".
Can anybody help me.hi,
ok, now i have migrated my 6i excel generation form in 10g by migrating tool. but still facing same(below) error at
compile time.
Error is - "component 'SERVER_ACTIVE' must be declare
"component 'GET_INTERFACE POINTER' must be declare.
Below is function which is showing problem at compile time.---
FUNCTION get_object_handle RETURN OLE2.OBJ_TYPE IS
obj_hnd OLE2.OBJ_TYPE;
BEGIN
/* If the server is not active, activate the server
and get the object handle.
IF not forms_ole.server_active ('spreadsheet') then
FORMS_OLE.Activate_Server('spreadsheet');
END IF;
obj_hnd := FORMS_OLE.Get_Interface_Pointer('spreadsheet');
--RETURN obj_hnd;
RETURN NULL; END;
thanks -
Compiling ok, run error classdef of main ?
No error when compiling,
but when running I get: Exception in thread "main" java.lang.NoClassDefFoundError: test/java
everything worked yesterday. The only thing I added was:" " + (byte)(int)Math.pow(2,(int)87%8
here is test.java:
public class test
public static void main( String args[])
byte [] atest = {(byte)0x56,(byte)0x34,(byte)0x12,(byte)0x55};
System.out.println( intBcdBuffer2int(atest)+ " " + (byte)(int)Math.pow(2,(int)87%8));
static String oldasci(String strInput)
{ String back = "";
byte[] bBuffer = strInput.getBytes();
for(int i = 0; i < bBuffer.length; i++)
{bBuffer[i] = (byte)(bBuffer& 0x7F);}
for(int i = 0; i < bBuffer.length; i++)
{back = back + (bBuffer[i]& 0xFF);}
return back;
static byte bint2BcdByte(int int2Dig)
byte bToReturn = 0x00;
bToReturn = (byte)(int2Dig % 10);
bToReturn |= (byte)(((int2Dig-(int2Dig%10))/10)<<4);//tientallen
return bToReturn;
static int intBcdByte2Int( byte bBcd)
int intToReturn = 0;
intToReturn = (int)(bBcd & 0x0F); //eenheden
intToReturn = intToReturn + 10 *(int)(bBcd>>4); //tientallen
return intToReturn;
static byte[] bInt2BcdBuffer(int int16Dig)
{byte[] bBuffer = new byte[16];
for(int i = 0;( (((int16Dig/100) > 0) || ((int16Dig % 100) > 0))&&(i < bBuffer.length) ); i++)
{bBuffer[i] = bint2BcdByte((int16Dig % 100));
int16Dig = (int)(int16Dig - (int16Dig%100))/100;
return bBuffer;
static int intBcdBuffer2int(byte[] bBuffer)
{int intDig = 0;
for(int i = 0; i < bBuffer.length; i++ )
{intDig = intDig + (int)(intBcdByte2Int(bBuffer[i]) * Math.pow(10,(i*2)));}
return intDig;you need to type "java Test" and not "java Test.java" (if your classpath settings are ok and you have compiled it it should run)
Maybe you are looking for
-
Can not select 'Show HD' in Finder Preferences
Just performed Data Migration on a new iMac Intel late 2011 from a 2 year old iMac Intel. For some reason, the Macintosh HD does not display on the desktop. If I go to Finder Preferences I can not select Hard Disks. The box is not selected, but If
-
I have a project that I'm working on that I could use some help on. Some background on it is I'm taking data from a balance via RS-232 (can be a selectable list of balances), and then communicating with them on their own separate COM port. I need the
-
"No File" on my Alpine headunit after changing to OS 3.1
I use my iPhone (as well as 3G, 3GS, iPod) with my headunit on a regular basis. However, since upgrading the firmware to OS 3.1 the headunit displays "No File". This has only happened since the 3.1 upgrade. All other firmwares haven't caused a proble
-
i use the instruction below to load image contained in my jar file for distribution application but the image doesn't appear icon = new ImageIcon("images/logo_tunisiana.GIF"); the jar file contain the image under a subdirectory called images. Witch c
-
How does one install Encore in adobe cloud 2014?
Im not sure why adobe stopped including Encore in their suite, its not like its needs constant updating love. But now here I am, needed to make a blue ray with some looping menus, and Im stuck because I can't seem to figure out how to install legacy