sou iniciante nessa programacao java so que eu tentei compilar um arquivo deu isso ai Obs: num sei se postei ao lugar certo se postei no lugar errado desculpa =/
http://img78.imageshack.us/my.php?image=errorbc6.png
Ajuda por favor
8 Respostas
Bem vindo ao GUJ.
Posta o codigo que e mais facil te ajudar
:lol:
Se você é inciante, tente estudar Java SE, o erro no caso é pq não existe a lib no seu projeto, procure um exemplo mais simples.
[]'s
import com.l2jfree.gameserver.handler.itemhandlers.AdvQuestItems;
import com.l2jfree.gameserver.handler.itemhandlers.BeastSoulShot;
import com.l2jfree.gameserver.handler.itemhandlers.BeastSpice;
import com.l2jfree.gameserver.handler.itemhandlers.BeastSpiritShot;
import com.l2jfree.gameserver.handler.itemhandlers.BlessedSpiritShot;
import com.l2jfree.gameserver.handler.itemhandlers.Book;
import com.l2jfree.gameserver.handler.itemhandlers.CharChangePotions;
import com.l2jfree.gameserver.handler.itemhandlers.ChestKey;
import com.l2jfree.gameserver.handler.itemhandlers.CrystalCarol;
import com.l2jfree.gameserver.handler.itemhandlers.DoorKey;
import com.l2jfree.gameserver.handler.itemhandlers.EnchantAttr;
import com.l2jfree.gameserver.handler.itemhandlers.EnchantScrolls;
import com.l2jfree.gameserver.handler.itemhandlers.EnergyStone;
import com.l2jfree.gameserver.handler.itemhandlers.ExtractableItems;
import com.l2jfree.gameserver.handler.itemhandlers.Firework;
import com.l2jfree.gameserver.handler.itemhandlers.FishShots;
import com.l2jfree.gameserver.handler.itemhandlers.ForgottenScroll;
import com.l2jfree.gameserver.handler.itemhandlers.Harvester;
import com.l2jfree.gameserver.handler.itemhandlers.HolyWater;
import com.l2jfree.gameserver.handler.itemhandlers.Maps;
import com.l2jfree.gameserver.handler.itemhandlers.MercTicket;
import com.l2jfree.gameserver.handler.itemhandlers.MysteryPotion;
import com.l2jfree.gameserver.handler.itemhandlers.Potions;
import com.l2jfree.gameserver.handler.itemhandlers.Recipes;
import com.l2jfree.gameserver.handler.itemhandlers.Remedy;
import com.l2jfree.gameserver.handler.itemhandlers.RollingDice;
import com.l2jfree.gameserver.handler.itemhandlers.ScrollOfEscape;
import com.l2jfree.gameserver.handler.itemhandlers.ScrollOfResurrection;
import com.l2jfree.gameserver.handler.itemhandlers.Scrolls;
import com.l2jfree.gameserver.handler.itemhandlers.Seed;
import com.l2jfree.gameserver.handler.itemhandlers.SevenSignsRecord;
import com.l2jfree.gameserver.handler.itemhandlers.SoulCrystals;
import com.l2jfree.gameserver.handler.itemhandlers.SoulShots;
import com.l2jfree.gameserver.handler.itemhandlers.SpecialXMas;
import com.l2jfree.gameserver.handler.itemhandlers.SpiritLake;
import com.l2jfree.gameserver.handler.itemhandlers.SpiritShot;
import com.l2jfree.gameserver.handler.itemhandlers.SummonItems;
import com.l2jfree.gameserver.handler.itemhandlers.TransformationItems;
import com.l2jfree.gameserver.handler.itemhandlers.WorldMap;
import java.util.Map;
import java.util.TreeMap;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
// Referenced classes of package com.l2jfree.gameserver.handler:
// IItemHandler
public class ItemHandler
{
public static ItemHandler getInstance()
{
if(_instance == null)
_instance = new ItemHandler();
return _instance;
}
public int size()
{
return _datatable.size();
}
private ItemHandler()
{
_datatable = new TreeMap();
registerItemHandler(new AdvQuestItems());
registerItemHandler(new BeastSoulShot());
registerItemHandler(new BeastSpice());
registerItemHandler(new BeastSpiritShot());
registerItemHandler(new BlessedSpiritShot());
registerItemHandler(new Book());
registerItemHandler(new CharChangePotions());
registerItemHandler(new ChestKey());
registerItemHandler(new CrystalCarol());
registerItemHandler(new DoorKey());
registerItemHandler(new EnchantAttr());
registerItemHandler(new EnchantScrolls());
registerItemHandler(new EnergyStone());
registerItemHandler(new ExtractableItems());
registerItemHandler(new Firework());
registerItemHandler(new FishShots());
registerItemHandler(new ForgottenScroll());
registerItemHandler(new Harvester());
registerItemHandler(new HolyWater());
registerItemHandler(new Maps());
registerItemHandler(new MercTicket());
registerItemHandler(new MysteryPotion());
registerItemHandler(new Recipes());
registerItemHandler(new Remedy());
registerItemHandler(new RollingDice());
registerItemHandler(new Potions());
registerItemHandler(new ScrollOfEscape());
registerItemHandler(new ScrollOfResurrection());
registerItemHandler(new Scrolls());
registerItemHandler(new SpecialXMas());
registerItemHandler(new Seed());
registerItemHandler(new SevenSignsRecord());
registerItemHandler(new SoulCrystals());
registerItemHandler(new SoulShots());
registerItemHandler(new SpiritLake());
registerItemHandler(new SpiritShot());
registerItemHandler(new SummonItems());
registerItemHandler(new TransformationItems());
registerItemHandler(new WorldMap());
_log.info((new StringBuilder()).append("ItemHandler: Loaded ").append(_datatable.size()).append(" handlers.").toString());
}
public void registerItemHandler(IItemHandler handler)
{
int ids[] = handler.getItemIds();
int arr$[] = ids;
int len$ = arr$.length;
for(int i$ = 0; i$ < len$; i$++)
{
int element = arr$[i$];
_datatable.put(Integer.valueOf(element), handler);
}
}
public IItemHandler getItemHandler(int itemId)
{
return (IItemHandler)_datatable.get(Integer.valueOf(itemId));
}
private static final Log _log = LogFactory.getLog(com/l2jfree/gameserver/handler/ItemHandler.getName());
private static ItemHandler _instance;
private Map _datatable;
}
eehhh neste caso e indico a mesma coisa que o bruno.leite havia te falado
Como vc e iniciante nesta linguagem e peço a vc para pegar umas coisas mais fácil para vc intender
Java e um pouco complicado, mas vc tem que intender o basico primeiro…
Pegue o que indicaram a vc estuda la o JAVA SE que e mais facil para vc intender, depois vc pega estas coisas mais complicadas.
flw
nao entendi (“lib”)???
digo iniciante bem nao faz uns 6 mes que to no java ja fiz consigui faze os exemplos dos tutoriais so que tipo num so um kara entendido Xd
lib é um apelido carinhoso para library (biblioteca) 
Uma biblioteca java é um punhado de classes - geralmente compactadas em um arquivo .jar - que você adiciona nos seus projetos para evitar ficar reinventando a roda! 
Recomendo dar uma olhada no Java Tutorial da sun