...

View Full Version : Java Version, i need help to compile a java source file.



stanfab`
03-08-2012, 09:59 PM
I have a class file from some work I had done. i know this code works as i have been using it for a year. i made a minor change and when i try to compile it it comes back with 88 errors. not sure why? please help. if someone is able to solve i can arrange a reward!

RodionGork
03-09-2012, 02:45 PM
Funny idea to ask hint without showing the code or providing files to test them ;-)

May be you at least show the errors issued by compilation attempt?

stanfab`
03-09-2012, 04:58 PM
rgr that, noob here.

package com.controlj.logicbuilder.foundation;

import com.controlj.green.common.foundation.EquipmentIconUtility.EquipmentIcon;
import com.controlj.green.common.foundation.LanguageLocaleCorrelator;
import com.controlj.green.common.foundation.equipment.EquipmentClassification;
import com.controlj.green.common.foundation.languages.LanguageInfo;
import com.controlj.green.common.foundation.permissions.Manager;
import com.controlj.green.common.foundation.permissions.Marker;
import com.controlj.green.common.foundation.permissions.PermissionsType;
import com.controlj.green.common.foundation.permissions.Source;
import com.controlj.green.common.foundation.permissions.VendorPermissions;
import com.controlj.green.common.foundation.serialize.FormatVersion;
import com.controlj.green.common.foundation.serialize.FormatVersionable;
import com.controlj.green.common.foundation.serialize.SourceType;
import com.controlj.logicbuilder.foundation.interfaces.Debuggable;
import com.controlj.logicbuilder.foundation.interfaces.Librarian;
import com.controlj.logicbuilder.foundation.interfaces.LockedFromUser;
import com.controlj.logicbuilder.foundation.interfaces.Modifiable;
import com.controlj.logicbuilder.foundation.resources.ResourceDirector;
import com.controlj.logicbuilder.foundation.resources.ResourceDirectorInstance;
import com.controlj.logicbuilder.foundation.serialize.FileSerializer;
import com.controlj.logicbuilder.foundation.serialize.nativecompiledformat.NativeCompiledSerializer;
import com.controlj.logicbuilder.foundation.serialize.nativeformat.NativeSerializer;
import com.controlj.logicbuilder.foundation.serialize.symbolformat.SymbolSerializer;
import com.controlj.logicbuilder.foundation.services.GraphicPropertyService.GraphicInfo;
import com.controlj.logicbuilder.foundation.services.SimulationService.SimulationSettings;
import com.controlj.logicbuilder.foundation.services.undo.UndoLord;
import com.controlj.logicbuilder.foundation.valueset.ValueSetIdentifierLord;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;

public class ControlProgram
implements Debuggable, Modifiable, LockedFromUser, Source, FormatVersionable
{
private File file;
private String lastSavedFileName;
private File fileWhenOriginallyOpened;
private Class<FileSerializer> lastFileSerialzerClass;
private String title;
private LogicBlock logicBlock;
private UndoLord undoLord;
private ValueSetIdentifierLord valueSetLord;
private ControlProgramLord controlProgramLord;
private ResourceDirector resourceDirector;
private Librarian librarian;
private int modificationType = 0;

private List userSelectedExecutionOrder = new ArrayList();

private GraphicPropertyService.GraphicInfo graphicInfo = new GraphicPropertyService.GraphicInfo();

private EquipmentClassification equipmentClassification = EquipmentClassification.EQUIPMENT_CLASSIFICATION_NORMAL;

private String description = "";
private VersionInfo versionInfo;
private boolean generateGreyscaleLogicPage = false;

private String createdBy = "End User";
private String lastEditedBy = "End User";

private LockedState lockedState = LockedState.notLocked;

private boolean wasLockedWhenOpened = false;

private boolean useUnitaryNaming = false;
private EquipmentIconUtility.EquipmentIcon alternateEquipmentIcon;
private boolean areZNRulesOverriden = true;

private String znRulesOverrideSignature = "";

private boolean isGeneric = false;

private HashMap<String, String> generalProperties = new HashMap();

private SimulationService.SimulationSettings lastSimulationSettings = null;
private Marker marker;
private SourceType sourceType = SourceType.ControlProgram;
private FormatVersion formatVersion;

public ControlProgram(ControlProgramLord controlProgramLord, LanguageLocaleCorrelator languageLocaleCorrelator, LanguageInfo controlProgramLanguageInfo)
{
this.controlProgramLord = controlProgramLord;
this.logicBlock = new LogicBlock();
this.valueSetLord = new ValueSetIdentifierLord(languageLocaleCorrelator, controlProgramLanguageInfo);
this.undoLord = new UndoLord();
this.resourceDirector = new ResourceDirectorInstance();
this.versionInfo = new VersionInfo();

this.librarian = new MultiblockManagingLibrarian(controlProgramLord.getRootLibrarian());
}

public LogicBlock getLogicBlock() {
return this.logicBlock;
}
public UndoLord getUndoLord() { return this.undoLord; }
public ValueSetIdentifierLord getValueSetLord() {
return this.valueSetLord;
}
public Librarian getLibrarian() { return this.librarian; }
public File getFile() {
return this.file; }
public void setFile(File file) { this.file = file; }

public void setLastSavedFileName(String lastSavedFileName)
{
this.lastSavedFileName = lastSavedFileName; }
public String getLastSavedFileName() { return this.lastSavedFileName; }
public File getFileWhenOriginallyOpened() {
return this.fileWhenOriginallyOpened; }
public void setFileWhenOriginallyOpened(File fileWhenOriginallyOpened) { this.fileWhenOriginallyOpened = fileWhenOriginallyOpened; }
public Class<FileSerializer> getLastFileSerialzerClass() {
return this.lastFileSerialzerClass;
}
public void setLastFileSerialzerClass(Class newClass) {
this.lastFileSerialzerClass = newClass;
if ((newClass == NativeCompiledSerializer.class) || (newClass == NativeSerializer.class) || (newClass == SymbolSerializer.class))
this.formatVersion = FormatVersion.Version5;
else
this.formatVersion = FormatVersion.Version4;
}

public ResourceDirector getResourceDirector() {
return this.resourceDirector;
}
public GraphicPropertyService.GraphicInfo getGraphicInfo() { return this.graphicInfo; }
public List getUserSelectedExecutionOrder() {
return this.userSelectedExecutionOrder; }
public void setUserSelectedExecutionOrder(List userSelectedExecutionOrder) { this.userSelectedExecutionOrder = userSelectedExecutionOrder; }
public String getDescription() {
return this.description; }
public void setDescription(String description) { this.description = description; }
public VersionInfo getVersionInfo() {
return this.versionInfo;
}
public boolean generateGreyscaleLogicPage() { return this.generateGreyscaleLogicPage; }
public void generateGreyscaleLogicPage(boolean generateGreyscalLogicPage) { this.generateGreyscaleLogicPage = generateGreyscalLogicPage; }
public String getCreatedBy() {
return this.createdBy; }
public void setCreatedBy(String createdBy) { this.createdBy = createdBy; }
public String getLastEditedBy() {
return this.lastEditedBy; }
public void setLastEditedBy(String lastEditedBy) { this.lastEditedBy = lastEditedBy; }
public boolean isLockedFromUser() {
return this.lockedState != LockedState.notLocked; }
public void setLockedFromUser(LockedState lockedState) { this.lockedState = lockedState; }
public LockedState getLockedState() { return this.lockedState; }
public boolean useUnitaryNaming() {
return this.useUnitaryNaming; }
public void setUseUnitaryNaming(boolean useUnitaryNaming) { this.useUnitaryNaming = useUnitaryNaming; }
public void setWasLockedWhenOpened(boolean wasLockedWhenOpened) {
this.wasLockedWhenOpened = wasLockedWhenOpened; }
public boolean wasLockedWhenOpened() { return this.wasLockedWhenOpened; }
public boolean areZNRulesOverriden() {
return this.areZNRulesOverriden; }
public String getZnRulesOverrideSignature() { return this.znRulesOverrideSignature; }

public FormatVersion getFormatVersion()
{
return this.formatVersion;
}

public void setFormatVersion(FormatVersion formatVersion)
{
this.formatVersion = formatVersion;
}

public void clearZNRulesOverriden()
{
this.areZNRulesOverriden = true;
this.znRulesOverrideSignature = "";
}

public void setZNRulesOverriden(boolean areZNRulesOverriden, String znRulesOverrideSignature)
{
this.areZNRulesOverriden = areZNRulesOverriden;
this.znRulesOverrideSignature = znRulesOverrideSignature;
}
public boolean isGeneric() {
return this.isGeneric; }
public void setGeneric(boolean generic) { this.isGeneric = generic; }
public String getTitle() {
return this.title; }
public void setTitle(String title) { this.title = title; }

public void setLastSimulationSettings(SimulationService.SimulationSettings lastSimulationSettings) {
this.lastSimulationSettings = lastSimulationSettings; }
public SimulationService.SimulationSettings getLastSimulationSettings() { return this.lastSimulationSettings;
}

public String getGeneralProperty(String key)
{
return (String)this.generalProperties.get(key);
}

public void putGeneralProperty(String key, String value)
{
if (value == null)
this.generalProperties.remove(key);
else
this.generalProperties.put(key, value);
}

public List<String> getSortedGeneralPropertyKeys()
{
List keys = new ArrayList();
keys.addAll(this.generalProperties.keySet());

Collections.sort(keys);

return keys;
}

public EquipmentIconUtility.EquipmentIcon getAlternateEquipmentIcon() {
return this.alternateEquipmentIcon;
}

public void setAlternateEquipmentIcon(EquipmentIconUtility.EquipmentIcon alternateEquipmentIcon) {
this.alternateEquipmentIcon = alternateEquipmentIcon;
setModified(false, 8);
}
public boolean isModified() {
return this.modificationType != 0;
}

public void setModified(boolean requiresValidation, int changeType)
{
if (this.controlProgramLord == null)
{
if (this.modificationType != 0)
return;
this.modificationType |= changeType;
}
else
{
if ((this.modificationType & changeType) != changeType)
{
this.modificationType |= changeType;
this.controlProgramLord.notifyControlProgramModification(this);
}

this.controlProgramLord.notifyMinutiaModificationObserversOfChange(this, requiresValidation);
}
}

public int getModifiedType()
{
return this.modificationType;
}

public void clearModified()
{
if (this.modificationType == 0) {
return;
}
this.modificationType = 0;

if (this.controlProgramLord != null)
this.controlProgramLord.notifyControlProgramModification(this);
}

public String toString()
{
return "Control Program: '" + this.title + "' ";
}

public String getDebugInfo()
{
StringBuffer buffer = new StringBuffer();
buffer.append("Control Program: '" + this.title + "' ");

if (this.modificationType == 0) {
buffer.append("(not-modified) ");
}
else {
if ((this.modificationType & 0x2) != 0)
buffer.append("structural change ");
if ((this.modificationType & 0x1) != 0)
buffer.append("property change ");
if ((this.modificationType & 0x4) != 0) {
buffer.append("property page change ");
}
}
buffer.append('\n');

if (this.file == null)
buffer.append("<No File>");
else
buffer.append(this.file.getAbsolutePath());
buffer.append('\n');

if (this.lastFileSerialzerClass == null)
buffer.append("<not serialized yet>");
else
buffer.append("Last serialized by ").append(this.lastFileSerialzerClass.getName());
buffer.append("\n");

buffer.append(this.lockedState.toString()).append("\n");
buffer.append("ZN rules are ").append(this.areZNRulesOverriden ? "" : "not ").append("overriden\n");

return buffer.toString();
}
public EquipmentClassification getEquipmentClassification() {
return this.equipmentClassification;
}

public void setEquipmentClassification(EquipmentClassification equipmentClassification) {
this.equipmentClassification = equipmentClassification;
}
public Marker getMarker() {
return this.marker; }
public void setMarker(Marker newMarker) { this.marker = newMarker; }

public void setMarkerPermissions(VendorPermissions vendorPermissions) {
Manager.setTargetVendorId(this.marker, vendorPermissions.getVendorId());
Manager.setPermissions(this.marker, vendorPermissions.getPermissions());
}

public SourceType getSourceType()
{
return this.sourceType;
}

public boolean suppressLogicPage()
{
return !this.marker.getPermissionsValue(PermissionsType.PermitSeeLogic);
}

public void suppressLogicPage(boolean suppressLogicPage)
{
Manager.setPermission(PermissionsType.PermitSeeLogic, this.marker, !suppressLogicPage);
}

public static enum LockedState
{
locked,
lockRequested,
notLocked;
}
}

ckeyrouz
03-09-2012, 05:22 PM
This code will not compile on our machines since the com.controlj is unknown to us.

Post the errors that you are encountering during the compilation process.

stanfab`
03-09-2012, 10:38 PM
this is a decompiled .class file out of a program i am modifying, is there a whay to force it to compile as is?

stanfab`
03-09-2012, 10:39 PM
import com.controlj.logicbuilder.foundation.services.SimulationService.SimulationSettings;
^
controlprogram.java:27: error: package com.controlj.logicbuilder.foundation.services.undo does not exist
import com.controlj.logicbuilder.foundation.services.undo.UndoLord;
^
controlprogram.java:28: error: package com.controlj.logicbuilder.foundation.valueset does not exist
import com.controlj.logicbuilder.foundation.valueset.ValueSetIdentifierLord;
^
controlprogram.java:36: error: cannot find symbol
implements Debuggable, Modifiable, LockedFromUser, Source, FormatVersionable
^
symbol: class Debuggable
controlprogram.java:36: error: cannot find symbol
implements Debuggable, Modifiable, LockedFromUser, Source, FormatVersionable
^
symbol: class Modifiable
controlprogram.java:36: error: cannot find symbol
implements Debuggable, Modifiable, LockedFromUser, Source, FormatVersionable
^
symbol: class LockedFromUser
controlprogram.java:36: error: cannot find symbol
implements Debuggable, Modifiable, LockedFromUser, Source, FormatVersionable
^
symbol: class Source
controlprogram.java:36: error: cannot find symbol
implements Debuggable, Modifiable, LockedFromUser, Source, FormatVersionable
^
symbol: class FormatVersionable
controlprogram.java:41: error: cannot find symbol
private Class<FileSerializer> lastFileSerialzerClass;
^
symbol: class FileSerializer
location: class ControlProgram
controlprogram.java:43: error: cannot find symbol
private LogicBlock logicBlock;
^
symbol: class LogicBlock
location: class ControlProgram
controlprogram.java:44: error: cannot find symbol
private UndoLord undoLord;
^
symbol: class UndoLord
location: class ControlProgram
controlprogram.java:45: error: cannot find symbol
private ValueSetIdentifierLord valueSetLord;
^
symbol: class ValueSetIdentifierLord
location: class ControlProgram
controlprogram.java:46: error: cannot find symbol
private ControlProgramLord controlProgramLord;
^
symbol: class ControlProgramLord
location: class ControlProgram
controlprogram.java:47: error: cannot find symbol
private ResourceDirector resourceDirector;
^
symbol: class ResourceDirector
location: class ControlProgram
controlprogram.java:48: error: cannot find symbol
private Librarian librarian;
^
symbol: class Librarian
location: class ControlProgram
controlprogram.java:53: error: package GraphicPropertyService does not exist
private GraphicPropertyService.GraphicInfo graphicInfo = new GraphicPropertyService.GraphicInfo();
^
controlprogram.java:55: error: cannot find symbol
private EquipmentClassification equipmentClassification = EquipmentClassification.EQUIPMENT_CLASSIFICATION_NORMAL;
^
symbol: class EquipmentClassification
location: class ControlProgram
controlprogram.java:58: error: cannot find symbol
private VersionInfo versionInfo;
^
symbol: class VersionInfo
location: class ControlProgram
controlprogram.java:69: error: package EquipmentIconUtility does not exist
private EquipmentIconUtility.EquipmentIcon alternateEquipmentIcon;
^
controlprogram.java:78: error: package SimulationService does not exist
private SimulationService.SimulationSettings lastSimulationSettings = null;
^
controlprogram.java:79: error: cannot find symbol
private Marker marker;
^
symbol: class Marker
location: class ControlProgram
controlprogram.java:80: error: cannot find symbol
private SourceType sourceType = SourceType.ControlProgram;
^
symbol: class SourceType
location: class ControlProgram
controlprogram.java:81: error: cannot find symbol
private FormatVersion formatVersion;
^
symbol: class FormatVersion
location: class ControlProgram
controlprogram.java:83: error: cannot find symbol
public ControlProgram(ControlProgramLord controlProgramLord, LanguageLocaleCorrelator languageLocaleCorrelator, LanguageInfo controlProgramLanguageInfo)
^
symbol: class ControlProgramLord
location: class ControlProgram
controlprogram.java:83: error: cannot find symbol
public ControlProgram(ControlProgramLord controlProgramLord, LanguageLocaleCorrelator languageLocaleCorrelator, LanguageInfo controlProgramLanguageInfo)
^
symbol: class LanguageLocaleCorrelator
location: class ControlProgram
controlprogram.java:83: error: cannot find symbol
public ControlProgram(ControlProgramLord controlProgramLord, LanguageLocaleCorrelator languageLocaleCorrelator, LanguageInfo controlProgramLanguageInfo)
^
symbol: class LanguageInfo
location: class ControlProgram
controlprogram.java:95: error: cannot find symbol
public LogicBlock getLogicBlock() {
^
symbol: class LogicBlock
location: class ControlProgram
controlprogram.java:98: error: cannot find symbol
public UndoLord getUndoLord() { return this.undoLord; }
^
symbol: class UndoLord
location: class ControlProgram
controlprogram.java:99: error: cannot find symbol
public ValueSetIdentifierLord getValueSetLord() {
^
symbol: class ValueSetIdentifierLord
location: class ControlProgram
controlprogram.java:102: error: cannot find symbol
public Librarian getLibrarian() { return this.librarian; }
^
symbol: class Librarian
location: class ControlProgram
controlprogram.java:114: error: cannot find symbol
public Class<FileSerializer> getLastFileSerialzerClass() {
^
symbol: class FileSerializer
location: class ControlProgram
controlprogram.java:125: error: cannot find symbol
public ResourceDirector getResourceDirector() {
^
symbol: class ResourceDirector
location: class ControlProgram
controlprogram.java:128: error: package GraphicPropertyService does not exist
public GraphicPropertyService.GraphicInfo getGraphicInfo() { return this.graphicInfo; }
^
controlprogram.java:135: error: cannot find symbol
public VersionInfo getVersionInfo() {
^
symbol: class VersionInfo
location: class ControlProgram
controlprogram.java:160: error: cannot find symbol
public FormatVersion getFormatVersion()
^
symbol: class FormatVersion
location: class ControlProgram
controlprogram.java:165: error: cannot find symbol
public void setFormatVersion(FormatVersion formatVersion)
^
symbol: class FormatVersion
location: class ControlProgram
controlprogram.java:188: error: package SimulationService does not exist
public void setLastSimulationSettings(SimulationService.SimulationSettings lastSimulationSettings) {
^
controlprogram.java:190: error: package SimulationService does not exist
public SimulationService.SimulationSettings getLastSimulationSettings() { return this.lastSimulationSettings;
^
controlprogram.java:216: error: package EquipmentIconUtility does not exist
public EquipmentIconUtility.EquipmentIcon getAlternateEquipmentIcon() {
^
controlprogram.java:220: error: package EquipmentIconUtility does not exist
public void setAlternateEquipmentIcon(EquipmentIconUtility.EquipmentIcon alternateEquipmentIcon) {
^
controlprogram.java:305: error: cannot find symbol
public EquipmentClassification getEquipmentClassification() {
^
symbol: class EquipmentClassification
location: class ControlProgram
controlprogram.java:309: error: cannot find symbol
public void setEquipmentClassification(EquipmentClassification equipmentClassification) {
^
symbol: class EquipmentClassification
location: class ControlProgram
controlprogram.java:312: error: cannot find symbol
public Marker getMarker() {
^
symbol: class Marker
location: class ControlProgram
controlprogram.java:314: error: cannot find symbol
public void setMarker(Marker newMarker) { this.marker = newMarker; }
^
symbol: class Marker
location: class ControlProgram
controlprogram.java:316: error: cannot find symbol
public void setMarkerPermissions(VendorPermissions vendorPermissions) {
^
symbol: class VendorPermissions
location: class ControlProgram
controlprogram.java:321: error: cannot find symbol
public SourceType getSourceType()
^
symbol: class SourceType
location: class ControlProgram
controlprogram.java:53: error: package GraphicPropertyService does not exist
private GraphicPropertyService.GraphicInfo graphicInfo = new GraphicPropertyService.GraphicInfo();
^
controlprogram.java:55: error: cannot find symbol
private EquipmentClassification equipmentClassification = EquipmentClassification.EQUIPMENT_CLASSIFICATION_NORMAL;
^
symbol: variable EquipmentClassification
location: class ControlProgram
controlprogram.java:80: error: cannot find symbol
private SourceType sourceType = SourceType.ControlProgram;
^
symbol: variable SourceType
location: class ControlProgram
controlprogram.java:86: error: cannot find symbol
this.logicBlock = new LogicBlock();
^
symbol: class LogicBlock
location: class ControlProgram
controlprogram.java:87: error: cannot find symbol
this.valueSetLord = new ValueSetIdentifierLord(languageLocaleCorrelator, controlProgramLanguageInfo);
^
symbol: class ValueSetIdentifierLord
location: class ControlProgram
controlprogram.java:88: error: cannot find symbol
this.undoLord = new UndoLord();
^
symbol: class UndoLord
location: class ControlProgram
controlprogram.java:89: error: cannot find symbol
this.resourceDirector = new ResourceDirectorInstance();
^
symbol: class ResourceDirectorInstance
location: class ControlProgram
controlprogram.java:90: error: cannot find symbol
this.versionInfo = new VersionInfo();
^
symbol: class VersionInfo
location: class ControlProgram
controlprogram.java:92: error: cannot find symbol
this.librarian = new MultiblockManagingLibrarian(controlProgramLord.getRootLibrarian());
^
symbol: class MultiblockManagingLibrarian
location: class ControlProgram
controlprogram.java:119: error: cannot find symbol
if ((newClass == NativeCompiledSerializer.class) || (newClass == NativeSerializer.class) || (newClass == SymbolSerializer.class))
^
symbol: class NativeCompiledSerializer
location: class ControlProgram
controlprogram.java:119: error: cannot find symbol
if ((newClass == NativeCompiledSerializer.class) || (newClass == NativeSerializer.class) || (newClass == SymbolSerializer.class))
^
symbol: class NativeSerializer
location: class ControlProgram
controlprogram.java:119: error: cannot find symbol
if ((newClass == NativeCompiledSerializer.class) || (newClass == NativeSerializer.class) || (newClass == SymbolSerializer.class))
^
symbol: class SymbolSerializer
location: class ControlProgram
controlprogram.java:120: error: cannot find symbol
this.formatVersion = FormatVersion.Version5;
^
symbol: variable FormatVersion
location: class ControlProgram
controlprogram.java:122: error: cannot find symbol
this.formatVersion = FormatVersion.Version4;
^
symbol: variable FormatVersion
location: class ControlProgram
controlprogram.java:317: error: cannot find symbol
Manager.setTargetVendorId(this.marker, vendorPermissions.getVendorId());
^
symbol: variable Manager
location: class ControlProgram
controlprogram.java:318: error: cannot find symbol
Manager.setPermissions(this.marker, vendorPermissions.getPermissions());
^
symbol: variable Manager
location: class ControlProgram
controlprogram.java:328: error: cannot find symbol
return !this.marker.getPermissionsValue(PermissionsType.PermitSeeLogic);
^
symbol: variable PermissionsType
location: class ControlProgram
controlprogram.java:333: error: cannot find symbol
Manager.setPermission(PermissionsType.PermitSeeLogic, this.marker, !suppressLogicPage);
^
symbol: variable PermissionsType
location: class ControlProgram
controlprogram.java:333: error: cannot find symbol
Manager.setPermission(PermissionsType.PermitSeeLogic, this.marker, !suppressLogicPage);
^
symbol: variable Manager
location: class ControlProgram
Note: controlprogram.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
88 errors

C:\Java>

Fou-Lu
03-10-2012, 06:17 PM
You are also missing the com.controlj packages. Add a reference to them, and you can compile.
If you don't have the source to perform the modification, why not just extend or wrap the existing class with the implements required and issue overrides / overloads for anything you want to change. Compile that, and invoke an instance of your new class instead of the old, or if you wrapped it, pass an existing instance into the new.
Also, please use
tags when you post code (or errors too), as it creates a scrollable div and preserves the format to make it easier to read.

stanfab`
03-13-2012, 06:27 PM
Not sure how to all the references/ do a wrap. i am interested in help if you anyone could do so, i could compensate them.

Fou-Lu
03-13-2012, 10:16 PM
IDE usage has spoiled me. All I would have to do is link in the .jar package that was created for the com.controlj package. Of course this means that my javac has gotten quite poor :/
Docs for Javac are here: http://docs.oracle.com/javase/1.3/docs/tooldocs/win32/javac.html
Follow the doc through the classpath options to set the classpath to the javac compiler to include a reference to your external imports. That should let it compile. Running would require the same classpath, so if you are jaring it, you'll need to modify the manifest to include it.
Jeez I've forgotten how complicated javac is without an ide to do the work for me.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum